Originally Posted by
Ted Grapler
Yes I did see where it's written "Zen Cart v1.5.4 is designed for PHP 5.5 and PHP 5.6". My 1.54 setup appears to be working fine on my home server with PHP 7 so didn't think this would be the cause of this particular admin access issue.
I will try installing PHP 5.6 on the VPS
Thanks
i think this is a red herring. if your modified version of ZC 1.5.4 works on 1 server config and does not work on another server config, then i think you have a server config issue. in addition, the logs will tell you EXACTLY what the problem is.
while i do not think it is difficult to install 5.6, i'm doubtful that will resolve the problem.... it might... but until you know what the problem is, i'm not a fan of throwing darts at what it might be....
that said, on a VPS where you have complete control, there are plenty of things one can do.... after installed php5.6, you can create a shell script to switch between php5.6 and 7.1 (or whatever version)..... i used something like this (i'm assuming you are operating on the command line):
Code:
sudo a2dismod php7.1;
sudo a2enmod php5;
sudo service apache2 restart;
pretty easy once you have everything installed.... some of the packages might be different. but once you get this shell script working (and the reverse), it becomes VERY easy to see what problems you might have related to your version of php.
with regards to your original problem, can you implement a php info page? one would normally get that through the admin, but seeing that you can not get to the admin, you would need to create one of the customer facing side. not too hard, as it is on a development server....
when i look at my info pages, i do have fastcgi implemented but not as a mod, ie searching for mod_fcgid returns nothing.
that said, it looks like you need to increase a timeout for this mod. in:
/etc/apache2/mods-available/fcgid.conf
you can increase the timeout to:
FcgidIOTimeout 600
but there is a lot of chatter on this problem out there, and configuration of your server can be a bit of trial and error. you can look:
https://goo.gl/tAkFCj
https://goo.gl/Jyxf8C
i just find it curious that the customer side works fine, and the admin does not. you could also turn on debugging in:
YOUR_ADMIN/includes/application_top.php
to see if anything is getting loaded and where the problem might be.
hope that helps.
good luck!
Bookmarks