Вы не зашли.
Страницы 1
Тема закрыта
Такой вопрос, заметил что чето очень много у меня стало в логе .error.log ошыбок такого типа
[Tue Mar 08 13:51:06 2011] [error] [client 31.43.20.81] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of exec_acts(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/bilshe.com/data/www/bilshe.com/engine/includes/news.php on line 144, referer: http://www.ukr.net/
[Tue Mar 08 13:51:06 2011] [error] [client 31.43.20.81] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of exec_acts(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/bilshe.com/data/www/bilshe.com/engine/includes/news.php on line 435, referer: http://www.ukr.net/
[Tue Mar 08 13:51:06 2011] [error] [client 194.44.136.123] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of exec_acts(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/bilshe.com/data/www/bilshe.com/engine/includes/news.php on line 144, referer: http://bilshe.com/showbiz
[Tue Mar 08 13:51:06 2011] [error] [client 194.44.136.123] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of exec_acts(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/bilshe.com/data/www/bilshe.com/engine/includes/news.php on line 435, referer: http://bilshe.com/showbiz
[Tue Mar 08 13:51:09 2011] [error] [client 95.215.156.181] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of exec_acts(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/bilshe.com/data/www/bilshe.com/engine/includes/news.php on line 144, referer: http://www.ukr.net/ua/
[Tue Mar 08 13:51:09 2011] [error] [client 95.215.156.181] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of exec_acts(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/bilshe.com/data/www/bilshe.com/engine/includes/news.php on line 435, referer: http://www.ukr.net/ua/
[Tue Mar 08 13:51:09 2011] [error] [client 91.210.189.157] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of exec_acts(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/bilshe.com/data/www/bilshe.com/engine/includes/news.php on line 144
[Tue Mar 08 13:51:09 2011] [error] [client 91.210.189.157] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of exec_acts(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/bilshe.com/data/www/bilshe.com/engine/includes/news.php on line 435
может кто подскажет в чем проблема?
Не в сети
Начиная с какой-то версии PHP, если аргументом функции должна быть ссылка, то указать на это необходимо не при вызове функции, как в движке exec_acts('news_full', '', $row, &$tvars); а в описании аргументов самой функции function exec_acts в extras.inc.php
То есть, если тебя смущают предупреждения, то либо меняй вызовы функции, либо обращайся к Виталию, чтобы он изменил эти файлы, либо включи опцию allow_call_time_pass_reference в php.ini или через .htaccess
Не в сети
Страницы 1
Тема закрыта