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
Hi, Same thing here, curious that it has not been reported before ! Regards, Laurent
Have a look here: http://fedorapeople.org/~limb/review/php-Smarty2/ I've placed a parallel-installable php-Smarty2 package, and rebuilds of gallery2 RPMS that use it instead of php-Smarty. If these work for you, I'll submit php-Smarty2 for review, and once approved, push it and updates for gallery2.
(In reply to comment #2) > http://fedorapeople.org/~limb/review/php-Smarty2/ These packages work for me. Thanks.
Hi, This is also working for me ! Thanks a lot ! :) Regards Laurent
Just upgraded to this version and everything seems to be working just fine. Thank you! Ship it to the poor folks out there who haven't found this bug report yet! :-( Regards, Bevis.
Review submitted. https://bugzilla.redhat.com/show_bug.cgi?id=914695
*** Bug 915983 has been marked as a duplicate of this bug. ***
FWIW I've "fixed" this for now with 'yum --releasever=17 downgrade smarty'. Perhaps RPM dependencies should have expressed that in the first place, somehow?
Yes, if I had realized that gallery2 needed php-Smarty <= 2.x.
gallery2-2.3.2-7.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/gallery2-2.3.2-7.fc18
Package php-Smarty2-2.6.27-1.fc18, gallery2-2.3.2-7.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing php-Smarty2-2.6.27-1.fc18 gallery2-2.3.2-7.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-3730/php-Smarty2-2.6.27-1.fc18,gallery2-2.3.2-7.fc18 then log in and leave karma (feedback).
php-Smarty2-2.6.27-1.fc18, gallery2-2.3.2-7.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.