• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Ошибка eval()'d
PostPosted: Thu Aug 23, 2018 6:46 am 
Offline
New Member
New Member

Joined: Thu Aug 23, 2018 6:42 am
Posts: 1
После переноса сайта на другой хостинг выходит ошибка eval()'d

Code:
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


как это исправить?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Ошибка eval()'d
PostPosted: Thu Aug 23, 2018 12:46 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Mon Jan 29, 2007 4:47 pm
Posts: 1746
Sorry for replying in English, but hope this helps:
The error comes from a UDT which probably has
Code:
$_SERVER[REQUEST_URI]
instead of
Code:
$_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!



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Ошибка eval()'d
PostPosted: Fri Aug 24, 2018 6:18 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7678
Location: The Netherlands
Please post your UDT code.

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return!



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Ошибка eval()'d
PostPosted: Mon Oct 01, 2018 7:22 am 
Offline
New Member
New Member

Joined: Thu Aug 23, 2018 11:54 am
Posts: 2
попробуйте решить проблему с помощью условия "if(isset())"


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting