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!
Template error when updating to 1.4
-
manolo.alvarez
- Regular
- Posts: 5
- Joined: Mon Dec 29, 2008 11:36 pm
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?
I'm running a shared installation, but this is the first problem I've had.
So... Anyone? Help?
XenoPhage
http://blog.godshell.com
http://blog.godshell.com
-
manolo.alvarez
- Regular
- Posts: 5
- Joined: Mon Dec 29, 2008 11:36 pm
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.
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.
XenoPhage
http://blog.godshell.com
http://blog.godshell.com
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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?
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?
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
This fixed the template errors...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.
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*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?
All fixed now.. Excellent work on the new version!
XenoPhage
http://blog.godshell.com
http://blog.godshell.com
-
manolo.alvarez
- Regular
- Posts: 5
- Joined: Mon Dec 29, 2008 11:36 pm
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.