Страница 1 из 1

При запуске скриптов вылазят ошибки

Добавлено: Сб мар 17, 2018 11:11 pm
TheForum
Вроде бы примитивные вещи но что поправить? (PHP обновил -7.2.2)

Запускаю скрипты и вылазят ошибки:

http://10.10.10.1//objects/?script=CitatesRead

Warning: preg_match(): Compilation failed: missing ) at offset 17 in C:\_majordomo\htdocs\modules\patterns\patterns.class.php on line 719

http://10.10.10.1//objects/?script=SayJokes

Warning: Use of undefined constant ThisComputer - assumed 'ThisComputer' (this will throw an Error in a future version of PHP) in C:\_majordomo\htdocs\modules\scripts\scripts.class.php(142) : eval()'d code on line 31 Warning: Use of undefined constant minMsgLevel - assumed 'minMsgLevel' (this will throw an Error in a future version of PHP) in C:\_majordomo\htdocs\modules\scripts\scripts.class.php(142) : eval()'d code on line 31 Warning: preg_match(): Compilation failed: missing ) at offset 17 in C:\_majordomo\htdocs\modules\patterns\patterns.class.php on line 719


http://10.10.10.1//objects/?script=SashaUehal
сам скрипт:
say('Саша уехал из дома',5);
sg('LG43UH610.messages','Саша уехал из дома');

Warning: preg_match(): Compilation failed: missing ) at offset 17 in C:\_majordomo\htdocs\modules\patterns\patterns.class.php on line 719

Re: При запуске скриптов вылазят ошибки

Добавлено: Сб мар 17, 2018 11:32 pm
Jager
TheForum писал(а):Вроде бы примитивные вещи но что поправить? (PHP обновил -7.2.2)
После того как накатили патч обновились до альфы?

Re: При запуске скриптов вылазят ошибки

Добавлено: Сб мар 17, 2018 11:43 pm
TheForum
нет, не менял после патча. До него в стояло все брать с альфы