[Bug 1177321] Re: Gallery2 does not work with smarty3 package
Launchpad has imported 13 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=911976. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2013-02-17T03:22:12+00:00 Michael 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 Reply at: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/comments/0 On 2013-02-20T18:16:00+00:00 Laurent wrote: Hi, Same thing here, curious that it has not been reported before ! Regards, Laurent Reply at: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/comments/1 On 2013-02-21T14:47:27+00:00 Gwyn wrote: 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. Reply at: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/comments/2 On 2013-02-22T03:12:47+00:00 Michael wrote: (In reply to comment #2) > http://fedorapeople.org/~limb/review/php-Smarty2/ These packages work for me. Thanks. Reply at: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/comments/3 On 2013-02-22T13:34:42+00:00 Laurent wrote: Hi, This is also working for me ! Thanks a lot ! :) Regards Laurent Reply at: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/comments/4 On 2013-02-22T14:21:54+00:00 Bevis wrote: 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. Reply at: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/comments/5 On 2013-02-22T14:31:02+00:00 Gwyn wrote: Review submitted. https://bugzilla.redhat.com/show_bug.cgi?id=914695 Reply at: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/comments/6 On 2013-03-01T14:15:28+00:00 Gwyn wrote: *** Bug 915983 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/comments/7 On 2013-03-01T17:04:20+00:00 David wrote: 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? Reply at: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/comments/8 On 2013-03-01T17:22:46+00:00 Gwyn wrote: Yes, if I had realized that gallery2 needed php-Smarty <= 2.x. Reply at: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/comments/9 On 2013-03-11T14:11:39+00:00 Fedora wrote: gallery2-2.3.2-7.fc18 has been submitted as an update for Fedora 18. https://
[Bug 1177321] Re: Gallery2 does not work with smarty3 package
** Changed in: gallery2 (Debian) Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177321 Title: Gallery2 does not work with smarty3 package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1177321] Re: Gallery2 does not work with smarty3 package
** Bug watch added: Red Hat Bugzilla #911976 https://bugzilla.redhat.com/show_bug.cgi?id=911976 ** Also affects: gallery2 (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=911976 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177321 Title: Gallery2 does not work with smarty3 package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1177321] Re: Gallery2 does not work with smarty3 package
Fixed upstream in version 2.3.1-1. ** Bug watch added: Debian Bug tracker #556256 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556256 ** Also affects: gallery2 (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556256 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177321 Title: Gallery2 does not work with smarty3 package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1177321] Re: Gallery2 does not work with smarty3 package
Hmm, won't let me adjust Importance. Based on the symptoms this should have High Importance. Also note that the most recent version in Debian was 2.3.2.dfsg-1. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177321 Title: Gallery2 does not work with smarty3 package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1177321] Re: Gallery2 does not work with smarty3 package
Temporary and ugly fix; run as root cd wget http://www.smarty.net/files/Smarty-2.6.27.tar.gz cd /usr/share/php/ tar xzf ~/Smarty-2.6.27.tar.gz chown -R root:root Smarty-2.6.27 cd /usr/share/gallery2/lib rm smarty ln -s /usr/share/php/Smarty-2.6.27/libs smarty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177321 Title: Gallery2 does not work with smarty3 package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1177321] Re: Gallery2 does not work with smarty3 package
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gallery2 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177321 Title: Gallery2 does not work with smarty3 package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gallery2/+bug/1177321/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs