Page 1 of 1

Album module gives smarty error and can't open full-size images

Posted: Thu Jan 10, 2008 10:15 am
by Deak
I have moved my site from its live environment (Linux) to my local machine running WAMP on Windows XP Pro. The site is working well apart from my Albums.

When the page containing the album is first loaded it shows the following error:
string(183) "Smarty error: [in module_db_tpl:Album;lightbox line 28]: syntax error: unrecognized tag: $album-?phpMyAdmin=d3365ca6aee0ece8ebdf498ea60c13be>link (Smarty_Compiler.class.php, line 446)" string(128) "Smarty error: [in module_db_tpl:Album;lightbox line 28]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(191) "Smarty error: [in module_db_tpl:Album;lightbox line 58]: syntax error: unrecognized tag: $onepicture-?phpMyAdmin=d3365ca6aee0ece8ebdf498ea60c13be>picture (Smarty_Compiler.class.php, line 446)" string(128) "Smarty error: [in module_db_tpl:Album;lightbox line 58]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"
If you click on a thumbnail it opens the box, but doesn't load the full-size image. I have tried changing from the lightbox style to the default, but my experience is the same. I have made a new album -- to ensure that it wasn't an issue with my old albums in the new environment, again the same result. I have checked that the images exist and are in the correct folders (they are).

Hope someone can help!

Environment:

CMSMS version 1.2
Album version 0.9.2
WAMP version 2.0

Re: Album module gives smarty error and can't open full-size images

Posted: Thu Jan 10, 2008 3:44 pm
by Nullig
Have you looked at the data in the Album module tables? Is the data intact? Perhaps something is wrong there - a glitch in the export/import of the data.

Have you tried uninstalling Album and reinstalling it?

Nullig

Re: Album module gives smarty error and can't open full-size images

Posted: Thu Jan 10, 2008 4:37 pm
by Deak
Hi Nullig,

Thanks (again!) for your reply.

I ran a select on a couple of the album module tables and the data looks grand. I did my export from phpMyAdmin and generated a .sql file, then imported this on my local phpMyAdmin. Data and table-wise, it looks fine to be honest.

Weirdly, I am no longer able to get that smarty error. Weirder still, when I click a thumbnail it now redirects me back to the website's homepage!

I have uninstalled and reinstalled Album and it works. However, my site has 3 reasonable size galleries and it would be a pain in the arse to recreate them.