Re: Maia Guard and Freebsd 12. Problems with PHP..ini
Jason Hirsh <[email protected]>
| Newsgroups | gmane.mail.virus.maiamailguard |
|---|---|
| Message-ID | <[email protected]> |
Ok. That means me feel better The confines test is happy. THANK YOU ALL Of course the login.php and admin.pho come up blank Time to play wth the logs > On Apr 22, 2020, at 2:25 PM, Lawrence Mulder <lmulder-iL7gtBVyNKCGUxFv0Br65wC/[email protected]> wrote: > > Jason, > > I think what Derek is saying, is that you have the smarty directory included in your include_path… it should only be the parent directory. You want to find the smarty folder at that include_path, not the smarty files. So, shorten your include_path to: > > include_path = "/usr/local/share/pear:/usr/local/share” > > Thanks, > -Larry > > From: Maia-users <[email protected]> On Behalf Of Jason Hirsh > Sent: Wednesday, April 22, 2020 1:04 PM > To: Derek Atkins <[email protected]> > Cc: Maia-Users Mailing List <[email protected]> > Subject: Re: [Maia-users] Maia Guard and Freebsd 12. Problems with PHP..ini > > Doesn’t this do that ?? > > > include_path = "/usr/local/share/pear:/usr/local/share/smarty” > > > Jason > > > On Apr 22, 2020, at 2:00 PM, Derek Atkins <[email protected] <mailto:[email protected]>> wrote: > > Add /usr/local/share to the list so that smarty/Smarty.php can be found. > > -derek > Sent using my mobile device. Please excuse any typos. > > On April 22, 2020 1:58:14 PM Jason Hirsh <[email protected] <mailto:[email protected]>> wrote: > > OK Appreciate all the help but I am now completely confused > > > To recap. I down grade to Smarty 2.0 > > It is is located in /usr/local/share/smarty > > Php.ini (one and only at /usr/local/etc/php.ini) > > Has the following > > include_path = "/usr/local/share/pear:/usr/local/share/smarty" > > Configuration failed for Smart Template Engine > > There is also a comment here that says > > "here should be a symbolic link to "/usr/local/share/smarty3-php72" from "libs/Smarty". For example, in my "/usr/local/www/maia/libs" directory, there is a symlink that looks like "Smarty@ -> /usr/local/share/smarty3-php72". “ > > I am using smarty2. And this would appear to start the issue with case sensitivity again > > > Thought for a confused old man?? > Jason > > > On Apr 22, 2020, at 1:13 PM, jjs - mainphrame <[email protected] <mailto:[email protected]>> wrote: > > From what you have written, it looks like you're very close to working, There's just one thing you haven't done. > > Make sure that maia finds "Smarty/Smarty.class.php" in the path. If that doesn't fix the problem, I'd be shocked. > > Jake > > > > On Wed, Apr 22, 2020 at 10:10 AM Jason Hirsh <[email protected] <mailto:[email protected]>> wrote: > I have made the mistake of following too many courses of action and advice at once > > The maia installations is pretty much hosed. > > > Have to step back and look at how to recover > > > Jason > > > On Apr 22, 2020, at 12:03 PM, jjs - mainphrame <[email protected] <mailto:[email protected]>> wrote: > > 'smarty" won't work. I just did a quick test on my local maia server. > > This works: > > # ll /usr/share/php/ > > lrwxrwxrwx. 1 root root 8 Apr 22 09:00 Smarty -> Smarty2/ > drwxr-xr-x. 4 root root 4096 Mar 22 11:41 Smarty2 > > This fails: > > # ll /usr/share/php/ > > lrwxrwxrwx. 1 root root 8 Apr 22 09:00 smarty -> Smarty2/ > drwxr-xr-x. 4 root root 4096 Mar 22 11:41 Smarty2 > > On Wed, Apr 22, 2020 at 8:49 AM Jason Hirsh <[email protected] <mailto:[email protected]>> wrote: > The directory is lower case “smarty” > > The file is Uppercase. “Smarty.class.php” > > Jason > > > On Apr 22, 2020, at 11:43 AM, jjs - mainphrame <[email protected] <mailto:[email protected]>> wrote: > > Keep in mind that it's case sensitive. "smarty" != "Smarty" > > Jake > > On Wed, Apr 22, 2020 at 8:40 AM Jason Hirsh <[email protected] <mailto:[email protected]>> wrote: > Jake > > Path to that on my server is "/usr/local/share/smarty/Smarty.class.php" > > So I should have that covered unless the following is wrong > > include_path = "/usr/local/share/pear:/usr/local/share/smarty" > > Thank again > > > Jason > > > > > On Apr 22, 2020, at 10:44 AM, jjs - mainphrame <[email protected] <mailto:[email protected]>> wrote: > > Remember, it's looking specifically for "Smarty/Smarty.class.php" (case sensitive) > > Jake > > On Wed, Apr 22, 2020 at 5:50 AM Jason Hirsh <[email protected] <mailto:[email protected]>> wrote: > Ok. New day tried again > > Removed smarty 3 and installed smarty 2 which installed under /usr/local/share/smarty > > Using include_path = "/usr/local/share/pear:/usr/local/share/smarty" > > Pear is loaded happy but no smarty according to the configtest.pl <http://configtest.pl/> > > Can’t get any access to Smarty Mailing list or Forum > > Took me a month to get Maia installed originally now its dead after a simple upgrade > > > Jason > > > > > > In general, I find that Smarty3 breaks maia, and I've always had to install Smarty2 to get a 100% working setup. > > I've always installed Smarty under /usr/share/php. Do you have a single php.ini for cli and web versions? > > Jake > > On Tue, Apr 21, 2020 at 2:37 PM Jason Hirsh <[email protected] <mailto:[email protected]>> wrote: > And SmartI recently upgraded my Server running Freebsd 12.1 1. PHP. 7.2.29 PEAR 1.10.6 and smarty3-php72-3.1.32 > > > My Configuration tester says that all is OK except for smarty. I think I am messing up the php.ini. include_path > > > My current is > > include_path = "/usr/local/share/pear:/usr/local/share/smarty3-php72” > > > The Maia config test is happy except for Smarty. Where it says “Failed Not Installed”. The reference page has been no help > > > Any suggestions?? > > > Jason > _______________________________________________ > Maia-users mailing list > [email protected] <mailto:[email protected]> > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users <http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users> > > > > > > _______________________________________________ > Maia-users mailing list > [email protected] <mailto:Maia-users%40renaissoft.com> > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users <http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users> _______________________________________________ Maia-users mailing list [email protected] http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users