Ошибка с header ами

Главные вкладки

Аватар пользователя Temp Temp 16 января 2007 в 6:30

Привет всем. Решил потестить Друпал. Поставил его на денвер и при каждом запросе:

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

Вываливает вот такое вот... Кто знает: в чем дело?

Комментарии

Аватар пользователя vadbars@drupal.org vadbars@drupal.org 16 января 2007 в 8:47

Это warning'и (предупреждения, не ошибки) Denwer'а, в котором в целях отладки установлен высокий уровень контроля ошибок для PHP.
Можно добавить в файл .htaccess строчку php_value error_reporting 7 и тогда будут только сообщения о критических, серьезных ошибках (если они есть).

Аватар пользователя Temp Temp 16 января 2007 в 9:11

Спасибо. Вроде пока работает.... но тоже самое все выдает когда заходишь в администрирование, а так все работает...

Аватар пользователя HelpIT HelpIT 13 апреля 2007 в 16:49

а у меня что твориться ?

если ставлю "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

приходится её коментить ....

Аватар пользователя HelpIT HelpIT 13 апреля 2007 в 17:18

конечно без кавычек Wink

ставлю на хостинге , выглядет это так :

#
# 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

стоит убрать комент - сайт перестает работать ...

Аватар пользователя Andreyf1981 Andreyf1981 29 января 2010 в 11:19

Подскажите, плиз !! При установке друпала (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

Аватар пользователя Andreyf1981 Andreyf1981 29 января 2010 в 13:52

Может я чайник, но все таки.....
Как поменять права на файл не на сервере, а на локальной машине ? В тотал командере и меню то такого нет для прав.
???

А в помске нашел ответ на вопрос.... скопируйте default.settings.php и поставьте права на запись.
Не помогает такой ответ. )

Аватар пользователя Виктор Степаньков ака RxB Виктор Степаньк... 29 января 2010 в 15:38

Хм. А что вы искали? Вы должны были найти про PHP 5.3, так что продолжаем искать.
1. На локальной машине под виндой права менять не надо
2. Копирование default.settings.php вас не спасёт

Аватар пользователя skrayu skrayu 2 марта 2010 в 11:09

у меня похожия ситуация,на локальной машине(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 ,все равно предупреждения вылазиют