|
|
|
| В файле .htaccess прописую:
php_value auto_prepend_file "menu.php"
На локальном сервере идет, а в Вебе нет, пишет:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@1ua.com.ua 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/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8b mod_bwlimited/1.4 Server at 1ua.com.ua Port 80
Где ошибка? | |
|
|
|
|
|
|
|
для: 1prom
(17.11.2008 в 22:58)
| | Есть еще вариант прописать данную строку в php.ini, но я не знаю, где находится этот файл - подскажите, пожалуйста! | |
|
|
|
|
|
|
|
для: 1prom
(17.11.2008 в 23:52)
| | скорее всего не соотвествуют настройки хостера данным условиям пишите в службу поддержки | |
|
|
|
|
|
|
|
для: V2D
(18.11.2008 в 00:08)
| | Да кстати так и сделал - они мне дали файл php.ini - я там и прописал - РАБОТАЕТ! | |
|
|
|
|
|
|
|
для: 1prom
(18.11.2008 в 01:13)
| | Жаль, но не работает дополнительная подгрузка скрипта:
Fatal error: HTTP headers are already sent in z:\home\1ua.com.ua\www\menu.php on line 2. Possibly you have an extra space (or a newline) before the first line of the script or any library. Please note that JsHttpRequest uses its own Content-Type header and fails if this header cannot be set. See header() function documentation for more details in z:\home\1ua.com.ua\www\lib\JsHttpRequest\JsHttpRequest.php on line 113
Это нужно, видимо исправить - не распространять файл php.ini на файл JsHttpRequest.php
Как можно сделать так или по-другому, но чтобы работало без ошибок? | |
|
|
|