Comment 5 for bug 1177321

Revision history for this message
In , Michael (michael-redhat-bugs) wrote :

Description of problem: Fedora 18 has php-Smarty-3.1.12. Fedora 17 had php-Smart-2.6.27. After upgrading my gallery2 box to F18 my gallery broke.

Log:
PHP Fatal error: Uncaught exception 'SmartyException' with message 'Call of unknown method 'register_object'.' in /usr/share/php/Smarty/sysplugins/smarty_internal_templatebase.php:806\nStack trace:\n#0 /usr/share/gallery2/modules/core/classes/GalleryTemplate.class(346): Smarty_Internal_TemplateBase->__call('register_object', Array)\n#1 /usr/share/gallery2/modules/core/classes/GalleryTemplate.class(346): GallerySmarty->register_object('g', Object(GalleryTemplateAdapter), Array, true, Array)\n#2 /usr/share/gallery2/modules/core/classes/GalleryTemplate.class(71): GalleryTemplate->_getSmarty(true)\n#3 /usr/share/gallery2/main.php(463): GalleryTemplate->GalleryTemplate('/usr/share/gall...')\n#4 /usr/share/gallery2/main.php(104): _GalleryMain(false)\n#5 /usr/share/gallery2/main.php(88): GalleryMain()\n#6 /home/michael/www/cronenworth_gallery/main.php(3): require('/usr/share/gall...')\n#7 {main}\n thrown in /usr/share/php/Smarty/sysplugins/smarty_internal_templatebase.php on line 806

Downgrading php-Smarty back to the F17 version fixes the problem.

Version-Release number of selected component (if applicable):
gallery2-2.3.2-5.fc18.noarch