If this is your first visit, check our documentation. To post, register or login.
Forums / Bug Reports / [Not a bug] Error

[Not a bug] Error

Locked

Started by tonirenier on 28 Jul 2012, 10:50 PM · Views: 1,007

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
28 Jul 2012, 10:50 PM
#1
tonirenier avatar

tonirenier

New Zenner

Join Date:
Nov 2010
Posts:
9
Plugin Contributions:
0

[Not a bug] Error

I have a blank page when opening my website. JustSpice.org. I ran a bug report and got this message repeated a million times.

[28-Jul-2012 22:35:19 UTC] PHP Deprecated: Function ereg() is deprecated in /nfs/c05/h02/mnt/76286/domains/justspice.org/html/includes/classes/db/mysql/query_factory.php on line 277

I went into my old website I had saved on another file and replaced the query_factory.php file with the old one and didn't fix the issue. Getting the same error but on a different line. Please advise where I can look next.

Thanks

28 Jul 2012, 11:27 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: [Not a bug] Error

Your obsolete version of Zen Cart is not compatible with contemporary versions of PHP.

PHP 5.3, which came out 4 years after Zen Cart v1.3.8 was released, introduced changes to PHP syntax that are not compatible with that very old version of Zen Cart.

You need to use a contemporary version of Zen Cart that's compatible with PHP 5.3. Using v1.3.9h or v1.5.0 with is the newest as of today, would be your best solution.

  • MODERATOR NOTE: Closing this discussion because it is not a Zen Cart bug. It is the misuse of an older version that's not designed for the server you're trying to run it on.*

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