From owner-freebsd-ports@freebsd.org Fri Feb 16 17:19:47 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95300F01745 for ; Fri, 16 Feb 2018 17:19:47 +0000 (UTC) (envelope-from jankyj@unfs.us) Received: from stig.purplehat.org (stig.purplehat.org [50.243.134.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2B9F886C9B for ; Fri, 16 Feb 2018 17:19:46 +0000 (UTC) (envelope-from jankyj@unfs.us) Received: from localhost (bill.goatse.unfs.us [50.243.134.106]) by stig.purplehat.org (Postfix) with ESMTP id 1525D7472E for ; Fri, 16 Feb 2018 10:19:40 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=unfs.us; s=mail; t=1518801580; bh=7F+kikfbSPeir9lByc9m/0aQ4b6ES2EvoR37QWi3Ek8=; h=Subject:To:References:From:Date:In-Reply-To; b=GkvLDKDyibSbNIzKuxfwMyz98q/efMcM7kiwKpHz+youh8qbGya92evCkm0T6Kr7Q +aMSQFH0QZO0jYIKd+1ReKchfhIqjSa/8RyGqiqCJvGVVZqPSLs7CLO8vgK2eyE9iU O8EUQBFwOgFN7BJwMWtURDMuqSlLV7yyvuNNgf5g= Received: from stig.purplehat.org ([50.243.134.106]) by localhost (stig.purplehat.org [50.243.134.106]) (maiad, port 10024) with ESMTP id 44882-01 for ; Fri, 16 Feb 2018 10:19:38 -0700 (MST) Received: from drp01-dev.enwd.co.sc.charterlab.com (chtr-v.purplehat.org [172.30.30.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jankyj@unfs.us) by stig.purplehat.org (Postfix) with ESMTPSA id 955F274725 for ; Fri, 16 Feb 2018 10:19:38 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=unfs.us; s=mail; t=1518801578; bh=7F+kikfbSPeir9lByc9m/0aQ4b6ES2EvoR37QWi3Ek8=; h=Subject:To:References:From:Date:In-Reply-To; b=jCpowNNVF2I/S7VXjoQKKqSoTGuZV907H+uqjD2iCw16y5sTOmBjr3suPoO5CkBOx kgb0GH4J7MqiZiv/fhMQlgWO81NYfuFp8LlaroOJ0O/VVwqIvH/lmt2MkRHcPhmTAA KxGQDMPXvqwSUXx4jULXKFsmN0nrNKXUrSDcbGIQ= Subject: Re: mail/postfixadmin: Error Regarding "SCOPE_BUBBLE_UP". To: freebsd-ports@freebsd.org References: <0fcad468-5deb-f449-9847-9bb57bb1f014@unfs.us> <7bc05025-49de-be18-8b88-7388d6df70b2@unfs.us> From: "Janky Jay, III" Message-ID: <2cef941d-8340-fef3-5792-47d3e6b6bd77@unfs.us> Date: Fri, 16 Feb 2018 10:19:37 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CkSRc8o5zk4e3hPIoKr4HPFdMo0ABDkIM" X-Virus-Scanned: Maia Mailguard X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Feb 2018 17:19:47 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --CkSRc8o5zk4e3hPIoKr4HPFdMo0ABDkIM Content-Type: multipart/mixed; boundary="CGIb5P8E80HmoWFvkmIlFcraAtX60gzkE"; protected-headers="v1" From: "Janky Jay, III" To: freebsd-ports@freebsd.org Message-ID: <2cef941d-8340-fef3-5792-47d3e6b6bd77@unfs.us> Subject: Re: mail/postfixadmin: Error Regarding "SCOPE_BUBBLE_UP". References: <0fcad468-5deb-f449-9847-9bb57bb1f014@unfs.us> <7bc05025-49de-be18-8b88-7388d6df70b2@unfs.us> In-Reply-To: --CGIb5P8E80HmoWFvkmIlFcraAtX60gzkE Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi Mel, On 02/16/2018 05:02 AM, Mel Pilgrim wrote: > 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! >>> >> >> =C2=A0=C2=A0=C2=A0=C2=A0I've removed Smarty3 and the login page presen= ts 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.ph= p) >=20 > So something is rewriting the Smarty path from PFA's > /usr/local/www/postfixadmin/smarty/libs to what I'm guessing is the pat= h > used by the now-removed www/smarty3. >=20 > This sounds like a caching issue.=C2=A0 After removing www/smarty3, did= you: >=20 > - 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? >=20 > 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 ''. >=20 Thanks again for the replies. I do appreciate it. I did remove any config bits from Apache/PHP (most specifically the path to smarty3 in php.ini) and restarted Apache. However, I did not empty the "templates_c" directory (DUH!). That seems to have done the trick! Looks like PFA is back to working again. Thanks again, Mel! Regards, Janky Jay, III --CGIb5P8E80HmoWFvkmIlFcraAtX60gzkE-- --CkSRc8o5zk4e3hPIoKr4HPFdMo0ABDkIM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlqHEqkACgkQGK3MsUbJZn6hZwCfU4bpB+g2CEYY67g9ulmrWe+N YMIAn3B+Fyn65QQRhS7O61HUEiLTn3vi =z7GH -----END PGP SIGNATURE----- --CkSRc8o5zk4e3hPIoKr4HPFdMo0ABDkIM--