Page 1 of 1
Template error when updating to 1.4
Posted: Tue Dec 30, 2008 12:19 am
by manolo.alvarez
Hi guys! I am updating from 1.1.3 to 1.4. Update seems to go ok fine but then I only have blank pages on front end and admin. Here is my error_log:
[client 72.252.68.23] PHP Warning: Compilation failed: repeated subpattern is too long at offset 18454 in /var/www/vhosts/malvarezonline.com/httpdocs/serendipity/bundled-libs/Smarty/libs/Smarty_Compiler.class.php on line 454, referer:
http://www.malvarezonline.com/serendipity/
[client 72.252.68.23] PHP Fatal error: Smarty error: [in /var/www/vhosts/malvarezonline.com/httpdocs/serendipity/templates/default/admin/index.tpl line 4]: syntax error: unrecognized tag: $smarty.const.SERENDIPITY_ADMIN_SUITE (Smarty_Compiler.class.php, line 455) in /var/www/vhosts/malvarezonline.com/httpdocs/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1092, referer:
http://www.malvarezonline.com/serendipity/
Any help greatly appreciated. Thanks guys!
Posted: Tue Dec 30, 2008 4:28 am
by XenoPhage
I'm upping from 1.4 Beta1 to 1.4.... Same exact problem. I have suhosin, mod_security 2, and xcache. I disabled all three and was unable to resolve the problem.
I'm running a shared installation, but this is the first problem I've had.
So... Anyone? Help?
Posted: Tue Dec 30, 2008 4:37 am
by manolo.alvarez
I tried a clean install, not upgrade and got the same error. I am using php 4.3.9. I am starting to think thig might be a Sanrty Template Php version issue. No solutino though.
Anyone else having the same problem? Any suggestions?
Thanks everyone.
Posted: Tue Dec 30, 2008 5:16 am
by XenoPhage
I tried upgrading the bundled smarty template to 2.6.22... Now I'm getting the web pages, but plugins are not working. Example errors below:
Error
serendipity error: could not include serendipity_plugin_randomquotes:<md5hash> - exiting.
Error
serendipity error: could not include serendipity_plugin_freetag:<md5hash> - exiting.
Error
serendipity error: could not include serendipity_plugin_linklist:<md5hash> - exiting.
Posted: Tue Dec 30, 2008 11:17 am
by garvinhicking
Hi!
Hm, this sounds really strange - I've never seen this error. it seems smarty is unable to compile a template.
Can you try to delete the files in templates_c? Also, you can try to download the updated version of
http://svn.berlios.de/viewcvs/*checkout ... .class.php because like Xenophage pointed out there is a bug in the bundled Smarty release that can happen in specific PHP environments.
Xenophage, your error sounds as if you might have installed s9y over an existing version instead of upgrading. Check you rserendipity_plugins DB databasse table, maybe the paths in there do not lead to proper plugin file paths? Maybe your plugin files are not readable?
Posted: Tue Dec 30, 2008 3:09 pm
by XenoPhage
garvinhicking wrote:Can you try to delete the files in templates_c? Also, you can try to download the updated version of
http://svn.berlios.de/viewcvs/*checkout ... .class.php because like Xenophage pointed out there is a bug in the bundled Smarty release that can happen in specific PHP environments.
This fixed the template errors...
garvinhicking wrote:Xenophage, your error sounds as if you might have installed s9y over an existing version instead of upgrading. Check you rserendipity_plugins DB databasse table, maybe the paths in there do not lead to proper plugin file paths? Maybe your plugin files are not readable?
DOH! This was ENTIRELY my fault.. You can ignore this. It dawned on me this morning what I did.. I tried to be slick and install the new version, merely renaming the directory of the old version.. And the new version, of course, didn't have all the plugins I normally use... *Sigh*
All fixed now.. Excellent work on the new version!
Posted: Tue Dec 30, 2008 5:07 pm
by manolo.alvarez
As always Garvin is right. The following suggestion does work! Enjoying version 1.4 as of now. Thanks a lott everyone!
garvinhicking wrote:
Can you try to delete the files in templates_c? Also, you can try to download the updated version of
http://svn.berlios.de/viewcvs/*checkout ... .class.php because like Xenophage pointed out there is a bug in the bundled Smarty release that can happen in specific PHP environments.