Loading...
После переноса сайта с денвера на хост выдает такие ошибки :

Warning: include() [function.include]: open_basedir restriction in effect. File(/sys/head.php) is not within the allowed path(s): (/home/u381290895:/tmp:/var/tmp:/opt/php-5.3/pear) in /home/u381290895/public_html/index.php on line 3

Warning: include(/sys/head.php) [function.include]: failed to open stream: Operation not permitted in /home/u381290895/public_html/index.php on line 3

Warning: include() [function.include]: Failed opening '/sys/head.php' for inclusion (include_path='.:/opt/php-5.3/pear') in /home/u381290895/public_html/index.php on line 3
Переправерь хед и индекс
ADBOKAT (02.12.2015 в 12:27)
Переправерь хед и индекс

Там инклюды
Apofias (02.12.2015 в 12:34)
ADBOKAT (02.12.2015 в 12:27)
Переправерь хед и индекс

Там инклюды

Ясень пень инклуды. Пути в инклудах исправь.
Иногда не стесняйся пользоваться гугл переводчиком.
А если пути правильные ?
Apofias , вот ето попробуй)
define("H", $_SERVER["DOCUMENT_ROOT"].'/'); //где то в самом верху впиши например где подключение к базе

include_once H.'путь к скрипту'; //инкуд
Онлайн: 6
Время:
Gen. 0.0877
(c) Bym.Guru 2010-2026