Date: Fri, 16 Feb 2018 04:02:35 -0800 From: Mel Pilgrim <list_freebsd@bluerosetech.com> To: "Janky Jay, III" <jankyj@unfs.us>, freebsd-ports@freebsd.org Subject: Re: mail/postfixadmin: Error Regarding "SCOPE_BUBBLE_UP". Message-ID: <d0d4ad5b-a3d4-963a-fa23-edd4cd0bc50f@bluerosetech.com> In-Reply-To: <7bc05025-49de-be18-8b88-7388d6df70b2@unfs.us> References: <0fcad468-5deb-f449-9847-9bb57bb1f014@unfs.us> <a3e9be78-87f5-2d88-0100-6375a988abc3@bluerosetech.com> <e2c93824-d899-565a-88d9-c5ac14818ce1@unfs.us> <7bc05025-49de-be18-8b88-7388d6df70b2@unfs.us>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2018-02-14 19:13, Janky Jay, III wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > May have spoken too soon... > > On 2/14/2018 7:45 PM, Janky Jay, III wrote: >> Hello Mel, >> >> On 2/13/2018 7:42 AM, Mel Pilgrim wrote: >>> (Putting on my mail/postfixadmin maintainer hat) >> >>> On 2018-02-11 15:24, Janky Jay, III wrote: >>>> Hello All, >>>> >>>> Versions: FreeBSD - 11.1-RELEASE-p6 PostfixAdmin - 3.1 Smarty3 >>>> - 3.1.30 >> >>> Postfixadmin bundles its own copy of Smarty, and in PFA 3.1 it's >>> Smarty 3.1.29. Installing www/smarty3 isn't necessary. Are you >>> using it for something else? >> >> Ah. That's very interesting. The only reason I had Smarty3 >> installed was for PFA (must have been before it shipped with it's >> own version, maybe?). I remember a while back I uninstalled it >> because it was an unused leaf port and immediately PFA stopped >> working with Smarty3 errors in the http logs. I've just removed >> Smarty3 again and PFA seems to work just fine. I have no idea >> what's going on anymore. :) >> >> Thanks a ton for the reply, though! I've got my PFA back! >> > > I've removed Smarty3 and the login page presents itself (and allows > me to login) without any issue. However, attempting to view anything > within PFA (such as virtual mailboxes or domains), I see the following > error(s) in the http log file: > > PHP Warning: > require_once(/usr/local/share/smarty3/plugins/function.html_options.php) So something is rewriting the Smarty path from PFA's /usr/local/www/postfixadmin/smarty/libs to what I'm guessing is the path used by the now-removed www/smarty3. This sounds like a caching issue. After removing www/smarty3, did you: - check there were no lingering Smarty Apache/PHP config bits in httpd.conf, php.ini, etc.; - restart Apache and, if applicable, the PHP module; - delete everything in templates_c? There aren't any configurable options that would change from where postfixadmin includes Smarty, but the path it uses is set as SMARTY_DIR in smarty/libs/Autoloader.php and the correct value is ''.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d0d4ad5b-a3d4-963a-fa23-edd4cd0bc50f>