Ошибка eval()'d

Обсуждение CMS Made Simple в России.

Moderator: iturbay

Post Reply
nikey13
New Member
New Member
Posts: 1
Joined: Thu Aug 23, 2018 6:42 am

Ошибка eval()'d

Post by nikey13 »

После переноса сайта на другой хостинг выходит ошибка eval()'d

Code: Select all

Notice: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' in /var/www/www-root/data/www/site.ru/lib/classes/class.usertagoperations.inc.php(266) : eval()'d code on line 58

Notice: Undefined offset: 2 in /var/www/www-root/data/www/site.ru/lib/classes/class.usertagoperations.inc.php(266) : eval()'d code on line 60

Notice: Undefined offset: 2 in /var/www/www-root/data/www/site.ru/lib/classes/class.usertagoperations.inc.php(266) : eval()'d code on line 60

Notice: Undefined variable: hLine in /var/www/www-root/data/www/site.ru/lib/classes/class.usertagoperations.inc.php(266) : eval()'d code on line 67

Notice: Undefined index: img in /var/www/www-root/data/www/site.ru/tmp/templates_c/^56bd0fc3007f545b09db6112b9c863c06be343a6.module_db_tpl.Products;summary_Sample.php on line 83

Notice: Trying to get property of non-object in /var/www/www-root/data/www/site.ru/tmp/templates_c/^56bd0fc3007f545b09db6112b9c863c06be343a6.module_db_tpl.Products;summary_Sample.php on line 83
как это исправить?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1800
Joined: Mon Jan 29, 2007 4:47 pm

Re: Ошибка eval()'d

Post by Jo Morg »

Sorry for replying in English, but hope this helps:
The error comes from a UDT which probably has

Code: Select all

$_SERVER[REQUEST_URI]
instead of

Code: Select all

$_SERVER['REQUEST_URI']
note the quotes...
The notice appears because they are set to display on the new server but it must have been there all along , just hidden.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Conduit | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge | Yet another blog about CMSMS
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7749
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Ошибка eval()'d

Post by Rolf »

Please post your UDT code.
Image
- + - + - + - + - + -
Latest CMSMS tutorial: FormBuilder WatchGuard
- + - + - + - + - + -
Did my post help you solving a problem at your (customers) website and it saved you many hours of work?
Great!! Buy me a cup of coffee in return as a small token of appreciation!
skyme
New Member
New Member
Posts: 2
Joined: Thu Aug 23, 2018 11:54 am

Re: Ошибка eval()'d

Post by skyme »

попробуйте решить проблему с помощью условия "if(isset())"
Post Reply

Return to “Russian - русский”