PDA

View Full Version : coding help please...


mikeinjersey
05-20-2010, 07:50 PM
Hello, I'm having a problem with a plugin..and their telling me I need to add a variable just before

eval($template_code);


in class_core.php (line 4020)

to find out exactly which template is causing the problem.

I get the following error in apache error logs -

[Thu May 20 10:36:44 2010] [error] [client IP.ADDRESS] PHP Parse error: syntax error, unexpected $end in /var/www/vhosts/mysite.com/httpdocs/includes/class_core.php(4020) : eval()'d code on line 114

what variable could I add to make sure additional info in provided the error log ? possibly something with the $this variable ?


Once again, line 4020 of class_core.php =

eval($template_code);


If someone could provide an example of the code I need to enter , i'd appreciate it greatly.

I'm good with HTML, but know nothing with other kinds of scripting.

Boofo
05-20-2010, 07:54 PM
First of all, what plugin is it?