If this is your first visit, check our documentation. To post, register or login.

Depreciated Errors

Locked

Started by pfb732 on 27 Sep 2011, 6:27 PM · Views: 1,708

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
27 Sep 2011, 6:27 PM
#1
pfb732 avatar

pfb732

New Zenner

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

Depreciated Errors

Hello, All!
I had no trouble installing Zen-Cart 1.3.9 Full File Set, but when I try to access the Admin page, I receive a Depreciated Error message for each instance of ereg, eregi, or anything to do with ereg. The environment I am working with is WAMP Server 2.1, PHP 5.3.5, MySQL 4.1.22 because Zen-Cart didn't like MySQL 5.5.8, and Apache 2.2.17. I understand part of the problem lies in the fact that PHP 5.3.5 has depreciated the ereg series of functions and replaced them with preg_match. Should I be using an earlier version of PHP, or has Zen-Cart released new versions of their PHP docs? I also have the same error with the magic_quotes, even after disabling it and commenting it out of the code. Suggestions, please? Zen-Cart came highly recommended to me and right now I am disappointed and frustrated.
Thank you.

27 Sep 2011, 7:14 PM
#2
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Depreciated Errors

You should not be getting depreciated errors from 1.3.9, it doesn't contain the ereg, eregi

Have you added an add-on, and are you sure you are using 1.3.9 not 1.3.8?

where does it say these functions are?

Webzings Design
Semi retired from Web Design

27 Sep 2011, 8:17 PM
#3
pfb732 avatar

pfb732

New Zenner

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

Re: Depreciated Errors

Thank You, nigelt74, you were correct. I double checked my installation and yes it was 1.3.8. Now things work fine except for the magic_quotes_runtime depreciated error I still receive when entering the Store. I looked in the php.ini file and they are off.

28 Sep 2011, 2:59 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Depreciated Errors

It's time to upgrade to the latest version instead of trying to run an outdated version on a server that doesn't support it.
v1.3.8 is obsolete. Don't use it. Especially if you're just installing a new store.

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