If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Create Account white page error

Create Account white page error

Started by akyeame on 23 Oct 2012, 8:37 AM · Views: 559

Results 1 to 2 of 2
23 Oct 2012, 8:37 AM
#1
akyeame avatar

akyeame

New Zenner

Join Date:
Sep 2011
Posts:
20
Plugin Contributions:
0

Post #1 by akyeame

Hello,

My customers get a white page when attempting to create an account.
In error logs I see various instances of:

[23-Oct-2012 08:06:49 UTC] PHP Deprecated:  Function ereg_replace() is deprecated in /home/*********/public_html/market/includes/classes/template_func.php on line 48
[23-Oct-2012 08:06:49 UTC] PHP Deprecated:  Function ereg() is deprecated in /home/********/public_html/market/includes/classes/db/mysql/query_factory.php on line 177

I did a few searches that recommend changing ereg_replace to preg_replace but modifying query_factory.php made the entire zc installation into white pages. Doing just template_func.php made all of the pages Black with nothing on them. Any assistance would be appreciated.

23 Oct 2012, 1:13 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

You are using Zen Cart v1.3.8a from 2006 which was designed for PHP 4 ... but your server is using PHP 5.3

You need to upgrade to a modern version of Zen Cart if you want to run it on a server using a modern version of PHP.

Start by upgrading to at least v1.3.9h

.
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.