upgraded from 2.3 rc1 to 2.3 stable. nothing working...

sgrifenhagen

Joined: 2006-04-03
Posts: 3
Posted: Thu, 2008-10-23 04:34

A couple of things have happened tonight. Not sure which is the ultimate culprit.

I decided to upgrade from 2.3 rc-1SVN to 2.3 stable. So I put the gallery in maintenance mode (from the admin page) and proceeded to upload the files, and run the upgrade. I got the warning about unused files throughout the gallery and proceeded. The upgrade completed without errors.

I went to the gallery page (http://www.ecbcardinals.com/restricted/menalto/main.php. I get a blank page. No errors. No warnings. No nothing.

I looked at the apache error log and got the following:

Quote:
[22-Oct-2008 23:52:45] PHP Fatal error: Smarty error: [in gallery:themes/matrix/templates/theme.tpl line 25]: syntax error: unbalanced parenthesis in if statement (Smarty_Compiler.class.php, line 1277) in /home/grifenh/public_html/ecbcardinals.com/restricted/menalto/lib/smarty/Smarty.class.php on line 1092
[22-Oct-2008 23:52:50] PHP Fatal error: Smarty error: [in gallery:themes/matrix/templates/theme.tpl line 25]: syntax error: unbalanced parenthesis in if statement (Smarty_Compiler.class.php, line 1277) in /home/grifenh/public_html/ecbcardinals.com/restricted/menalto/lib/smarty/Smarty.class.php on line 1092
[22-Oct-2008 23:55:09] PHP Fatal error: Smarty error: [in gallery:themes/matrix/templates/theme.tpl line 25]: syntax error: unbalanced parenthesis in if statement (Smarty_Compiler.class.php, line 1277) in /home/grifenh/public_html/ecbcardinals.com/restricted/menalto/lib/smarty/Smarty.class.php on line 1092
[22-Oct-2008 23:57:20] PHP Fatal error: Smarty error: [in gallery:themes/matrix/templates/theme.tpl line 25]: syntax error: unbalanced parenthesis in if statement (Smarty_Compiler.class.php, line 1277) in /home/grifenh/public_html/ecbcardinals.com/restricted/menalto/lib/smarty/Smarty.class.php on line 1092
[22-Oct-2008 23:58:01] PHP Fatal error: Smarty error: [in gallery:themes/matrix/templates/theme.tpl line 25]: syntax error: unbalanced parenthesis in if statement (Smarty_Compiler.class.php, line 1277) in /home/grifenh/public_html/ecbcardinals.com/restricted/menalto/lib/smarty/Smarty.class.php on line 1092
[23-Oct-2008 00:04:11] PHP Fatal error: Smarty error: [in gallery:themes/matrix/templates/theme.tpl line 25]: syntax error: unbalanced parenthesis in if statement (Smarty_Compiler.class.php, line 1277) in /home/grifenh/public_html/ecbcardinals.com/restricted/menalto/lib/smarty/Smarty.class.php on line 1092
[23-Oct-2008 00:06:47] PHP Fatal error: Smarty error: [in gallery:themes/matrix/templates/theme.tpl line 25]: syntax error: unbalanced parenthesis in if statement (Smarty_Compiler.class.php, line 1277) in /home/grifenh/public_html/ecbcardinals.com/restricted/menalto/lib/smarty/Smarty.class.php on line 1092

I have no idea how to fix this. Nor do I know if fixing this error would allow me access to my gallery again.

Could anyone please help? If it would help, I have attached the file to this post.

Stuart


Gallery version (not just "2"): 2.3 stable
PHP version (e.g. 5.1.6): 5.2.5
PHPInfo Link (see FAQ): http://www.ecbcardinals.com/info.php
Webserver (e.g. Apache 1.3.33): apache 1.3.41 (Unix)
Database (e.g. MySql 5.0.32): 5.0.51a-community
Activated toolkits (e.g. NetPbm, GD): imagemagick, netpbm, gd, ffmpeg
Operating system (e.g. Linux): Linux 2.6.9-67.0.1.ELsmp
Browser (e.g. Firefox 2.0): Firefox 3.0.3

AttachmentSize
theme.tpl_.gz1.21 KB
 
sgrifenhagen

Joined: 2006-04-03
Posts: 3
Posted: Thu, 2008-10-23 05:08

One other thing:

I do have a backup of both the source to 2.3 rc-1 as well as the database in xml. if i need to return to the previous state I can. I won't like it but I can.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2008-10-23 06:13
Quote:
in gallery:themes/matrix/templates/theme.tpl line 25

Looks like either theme.tpl for Matrix was either edited or got corrupt on upload. Try uploading a fresh Matrix theme.

Did you have any errors about missing or modified files when upgrading?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
sgrifenhagen

Joined: 2006-04-03
Posts: 3
Posted: Thu, 2008-10-23 12:24

Thanks. I had done that last night after posting the message. didn't work. But then, this morning, after clearing the cache (which I had neglected to do last night), it started working again.

in the future, remind me to install stable releases.