If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Basic Configuration / Deprecated function in query_factory.php crashed store and admin. How to fix?

Deprecated function in query_factory.php crashed store and admin. How to fix?

Started by mx809 on 29 May 2012, 3:21 PM · Views: 1,555

Results 1 to 2 of 2
29 May 2012, 3:21 PM
#1
mx809 avatar

mx809

New Zenner

Join Date:
Apr 2010
Posts:
6
Plugin Contributions:
0

Post #1 by mx809

Hi, I have very limited knowledge of .php but I'm getting this error after having made no changes to my store or settings. I've searched the forums and google but can't find a definite match to this, please let me know if you have any ideas or recall a similar problem.

The issue has caused the shop page to go blank and I cannot login to the admin. Thank you!

Deprecated: Function ereg() is deprecated in /home/USERNAME/public_html/shop/includes/classes/db/mysql/query_factory.php on line 177

Deprecated: Function ereg() is deprecated in /home/USERNAME/public_html/shop/includes/classes/db/mysql/query_factory.php on line 412

Fatal error: Cannot redeclare date_diff() in /home/USERNAME/public_html/shop/admin/includes/functions/general.php on line 3043

29 May 2012, 3:27 PM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #2 by rodg

MX809:

Hi, I have very limited knowledge of .php but I'm getting this error after having made no changes to my store or settings. I've searched the forums and google but can't find a definite match to this, please let me know if you have any ideas or recall a similar problem.

Your host has recently updated their version of PHP and you are running an old version of zencart (or an old module).

You need to upgrade.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.