Привет всем. Решил потестить Друпал. Поставил его на денвер и при каждом запросе:
Notice: Undefined index: pass in z:\home\ops.kz\www\includes\database.mysql.inc on line 37
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at z:\home\ops.kz\www\includes\database.mysql.inc:37) in z:\home\ops.kz\www\includes\bootstrap.inc on line 760
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at z:\home\ops.kz\www\includes\database.mysql.inc:37) in z:\home\ops.kz\www\includes\bootstrap.inc on line 760
Warning: Cannot modify header information - headers already sent by (output started at z:\home\ops.kz\www\includes\database.mysql.inc:37) in z:\home\ops.kz\www\includes\bootstrap.inc on line 562
Warning: Cannot modify header information - headers already sent by (output started at z:\home\ops.kz\www\includes\database.mysql.inc:37) in z:\home\ops.kz\www\includes\bootstrap.inc on line 563
Warning: Cannot modify header information - headers already sent by (output started at z:\home\ops.kz\www\includes\database.mysql.inc:37) in z:\home\ops.kz\www\includes\bootstrap.inc on line 564
Warning: Cannot modify header information - headers already sent by (output started at z:\home\ops.kz\www\includes\database.mysql.inc:37) in z:\home\ops.kz\www\includes\bootstrap.inc on line 565
Warning: Cannot modify header information - headers already sent by (output started at z:\home\ops.kz\www\includes\database.mysql.inc:37) in z:\home\ops.kz\www\includes\bootstrap.inc on line 566
Вываливает вот такое вот... Кто знает: в чем дело?
Комментарии
Это warning'и (предупреждения, не ошибки) Denwer'а, в котором в целях отладки установлен высокий уровень контроля ошибок для PHP.
Можно добавить в файл .htaccess строчку php_value error_reporting 7 и тогда будут только сообщения о критических, серьезных ошибках (если они есть).
Спасибо. Вроде пока работает.... но тоже самое все выдает когда заходишь в администрирование, а так все работает...
Посатвил 5.1. и перевод... Радуюсь...
а у меня что твориться ?
если ставлю "php_value error_reporting 7" то получаю :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@aqua-stream.ru and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/1.3.37 Server at www.aqua-stream.ru Port 80
приходится её коментить ....
Куда ставите? Убираете ли кавычки?
конечно без кавычек
ставлю на хостинге , выглядет это так :
#
# Apache/PHP/Drupal settings:
#
#php_value error_reporting 7
# Protect files and directories from prying eyes.
Order allow,deny
# Don't show directory listings for URLs which map to a directory.
Options -Indexes
# Follow symbolic links in this directory.
Options +FollowSymLinks
# Customized error messages.
ErrorDocument 404 /index.php
# Set the default handler.
DirectoryIndex index.php
стоит убрать комент - сайт перестает работать ...
Попробуйте так: "php_value error_reporting E_ALL & ~E_NOTICE"
Подскажите, плиз !! При установке друпала (http://drupal/install.php) страница выдает вот это:
Deprecated: Function ereg() is deprecated in Z:\home\drupal\www\includes\file.inc on line 902
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\drupal\www\includes\file.inc:902) in Z:\home\drupal\www\includes\install.inc on line 618
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\drupal\www\includes\file.inc:902) in Z:\home\drupal\www\includes\install.inc on line 619
Подсказываю, поиск справа сверху
Может я чайник, но все таки.....
Как поменять права на файл не на сервере, а на локальной машине ? В тотал командере и меню то такого нет для прав.
???
А в помске нашел ответ на вопрос.... скопируйте default.settings.php и поставьте права на запись.
Не помогает такой ответ. )
Хм. А что вы искали? Вы должны были найти про PHP 5.3, так что продолжаем искать.
1. На локальной машине под виндой права менять не надо
2. Копирование default.settings.php вас не спасёт
Спасибо за терпение и ответ. ) Продолжаю искать....)
Спасибо ! Поставил php 5.2.1 запустилась установка.
у меня похожия ситуация,на локальной машине(windows XP Home)
Warning: fopen() expects parameter 1 to be string, array given in Z:\home\localhost\www\includes\install.inc on line 188Warning: Cannot modify header information - headers already sent by (output started at Z:\home\localhost\www\includes\install.inc:188) in Z:\home\localhost\www\includes\install.inc on line 618Warning: Cannot modify header information - headers already sent by (output started at Z:\home\localhost\www\includes\install.inc:188) in Z:\home\localhost\www\includes\install.inc on line 619
переписал htaccess ,все равно предупреждения вылазиют
проблема так и остаётся открытой