Parse error: syntax error in class.template.php(745) - bug after upgrading to 9.8.2

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 12-25-2007, 05:20 PM
New Pligger
 
Join Date: Mar 2007
Posts: 12
After upgrading from 9.1 to 9.8.2 I'm encountering an error (as copy-pasted below). This is after the emptying template_c directory (after a run it changes to an error in one of the files there).

I've even removed all the files and configured Pligg manually to use the old DB (it was upgraded already), to ensure this is not something coming from the old installation. The error still exists.

Please help as it blocks me completely from upgrading.

Thanks,
Tomek

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/poddrzewem/www/pligg/class.template.php(745) : eval()'d code on line 10

Ps. This error points to c_c8fc5819ebf0af2684f087246a651443.php file to line number 10 that is:

echo "<span><a onclick=\"new Effect.toggle('sidebar_stats','blind', {queue: 'end'}); \"> <img src=\"".my_pligg_base."/templates/".The_Template."/images/expand.png\" alt="expand" /></a></span>";

I needed to disable Sidebar Stats v0.2 module, as a workaround. Also Random Story v0.1 causes similar problems. Are these known as not working in 9.8.2 or it has something to do with my site in particular?

Last edited by Tomek Wlodarek; 12-25-2007 at 06:54 PM. Reason: Updates to the problem
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading from 9.8.2 to 9.9 with a test site dyrinda Questions and Comments 3 08-01-2008 02:39 PM
Parse error, parse error, Parse error: A 'concrete' solution available? nothingman Questions and Comments 6 06-06-2008 02:28 AM
Upgrading a 9.8.2 template to 9.9 AshDigg Wiki Articles 10 05-01-2008 02:38 PM
HELP: Continuos parse errors when trying to change the template code juanmartinbravo Questions and Comments 7 01-26-2008 06:03 AM
Got This Parse Error on c_ file on line 141 endph Questions and Comments 0 02-14-2007 07:44 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development