Hi!
I have transferred my Cpanel account from my old hosting to a new WHM/Cpanel server and when I test my website, I have a blank page or a 500 error!
All my data are on the new server but don't work...
Can you help me please?
Thanks and nice day
Hi!
I have transferred my Cpanel account from my old hosting to a new WHM/Cpanel server and when I test my website, I have a blank page or a 500 error!
All my data are on the new server but don't work...
Can you help me please?
Thanks and nice day
Are you sure the paths and database settings are exactly the same as with your previous account? Check your includes/configure.php and make sure everything is correct.
Also, check for error logs (in /cache directory, looks like myDEBUG-XXXXXXX). You can paste the latest file here and we might be able to help more...
thanks for your reply!
Yes I'm sure...
I don't have error logs on my cache directory...
I see on Zen-cart website:
Zen Cart v1.5.0 is compatible with PHP 5.2.14 thru PHP 5.3.x. Requires patches to work with PHP 5.4, and upgrading is a better idea.
I have PHP version 5.4.29 on my new server...
That's the problem?
Thanks
AFAIK, it WILL work on php5.4.x, but you might experience some other errors. I don't think it would cause a blank page or HTTP500...
My guess is it's something else, possibly even a .htaccess or some custom php.ini file. Hard to guess...
I agree (on both counts!). A Server 500 after moving a site is many times a typo in one of the configure.php files' (either /includes/configure.php or /YOUR_ADMIN/includes/configure.php) directory constants (especially the DIR_FS_CATALOG one). Make sure also that you don't have any configure.php files in the /includes/local or /YOUR_ADMIN/includes/local directories).
You might want to install a 1.5.x version of ZC in a subfolder (www.yourdomain.com/subfolder) of your new server - using the instructions contained in the docs folder of the installation file set. Do NOT use Fantastico or a similar autoinstaller.
Then see if you can reach www.yourdomain.com/subfolder in your browser. If you can then the fault is likely in your configure.php file(s).
Next you post your production site's includes/configure.php file here (minus sensitive details such as user and pwd) and also post your www.yourdomain.com/subfolder/includes/configure.php file. We should then be able to identify what the issue is.
If you can't access www.yourdomain.com/subfolder in your browser then get in touch with your new host.
A 500 error is most likely server related.
Last edited by frank18; 16 Jun 2014 at 10:30 PM.
Some servers will indeed trigger a 500 error when there is a PHP incompatibility.
But the server's Apache and/or PHP error logs will usually describe the error (even if it doesn't show in your Zen Cart logs or cache folder).
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Uhm, frank18... Sorry, but that's a very common misconception - http500 can be caused by a simple typo in the php files, most often in the language defines. I've just discussed it a few days ago, take a look here. Just saying so that we all try to minimize sending people to host for help (who are usually of no help...).![]()