Как известно, релизнулся php 5.3.0
Но modX на нем пахать не хочет.
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Function eregi() is deprecated
Error type/ Nr.: - 8192
File: блаблабла/www/manager/includes/cachemysql/cachemysql.php
Line: 93
Line 93 source: if (!eregi(’^SELECT’, $query)){
(Вроде пока не отрубает полностью, либо переписать, либо засобачить @)
Не подскажете ли, много там в модэксе юзанья eregi? А то кранты работе сайтов, и править все вручную - так еще и синтаксис же разный...
Да, еще там сплит прикрыли... Светопреставление Х_Х
P.S.
Это было дополнение для быстрой работы дирти. Вот еще веселости:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: date() [function.date]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ’America/Chicago’ for ’CDT/-5.0/DST’ instead
Error type/ Nr.: Warning - 2
File: блаблабла/www/manager/includes/cachemysql/cachemysql.php
Line: 148
Line 148 source: date(’r’),
(Добавить вначале скрипта
date_default_timezone_set(’UTC’);)
P.S.
Ложная тревога, модэкс пашет нормально, но у кого дополнение это стоит - обратите внимание.