Тренировачный зал

Статус
В этой теме нельзя размещать новые ответы.

Хэд

Школьник
Репутация
10 / 423
В тренировачном зале, зборки IV by Nik есть ошибки
Код:
Warning: include(../config/config.php) [function.include]: failed to open stream: No such file or directory in Z:\home\g2\www\city\trening.php on line 4

Warning: include() [function.include]: Failed opening '../config/config.php' for inclusion (include_path='.;/usr/local/php5/PEAR') in Z:\home\g2\www\city\trening.php on line 4

Warning: include_once(../config/sql.php) [function.include-once]: failed to open stream: No such file or directory in Z:\home\g2\www\city\trening.php on line 7

Warning: include_once() [function.include]: Failed opening '../config/sql.php' for inclusion (include_path='.;/usr/local/php5/PEAR') in Z:\home\g2\www\city\trening.php on line 7

Warning: include(../person/func/changed.php) [function.include]: failed to open stream: No such file or directory in Z:\home\g2\www\city\trening.php on line 29

Warning: include() [function.include]: Failed opening '../person/func/changed.php' for inclusion (include_path='.;/usr/local/php5/PEAR') in Z:\home\g2\www\city\trening.php on line 29

Warning: include(../config/html_city.php) [function.include]: failed to open stream: No such file or directory in Z:\home\g2\www\city\trening.php on line 138

Warning: include() [function.include]: Failed opening '../config/html_city.php' for inclusion (include_path='.;/usr/local/php5/PEAR') in Z:\home\g2\www\city\trening.php on line 138

Warning: include(../config/rooms.php) [function.include]: failed to open stream: No such file or directory in Z:\home\g2\www\city\trening.php on line 149

Warning: include() [function.include]: Failed opening '../config/rooms.php' for inclusion (include_path='.;/usr/local/php5/PEAR') in Z:\home\g2\www\city\trening.php on line 149

Кто правил подскажите в чем проблема
 
фишка в том, что если к примеру взять трен. зал из другой сдорки, то будут аналогичные ошибки
 
да канешно что будут исправляй ошыбки ... правь пути

плин... как только не крутил :) вот что выходит

.png


это вид, когда заходишь в трен. зал, а при нажатии кнопку "Обновить", все становится нормально...
 
Создай файл .htaccess в нем код
Код:
php_value error_reporting 7
php_flag register_globals on
order deny,allow 
#deny from all
 
Код:
define ( 'ROOT_DIR', 'X:/home/www/www/' ); //редактируем на свои пути
include(ROOT_DIR ."/config/config.php");
:)
 
Лучше поменяй тренировочную на другую какую нибудь...Из стандартной возьми...
 

+10% 3.3. Запрещено использование ненормативной лексики. ещё 1 такой пост. и улетаеш в баню.
 
</TD>
 
рут дир тут не при чем так как пути относительные
 
Статус
В этой теме нельзя размещать новые ответы.

Похожие темы

Сверху