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

Need Advice on Php Version

Locked

Started by rwoody on 23 Feb 2010, 3:53 PM · Views: 3,885

Results 21 to 25 of 25
This thread is locked. New replies are disabled.
12 Mar 2010, 6:45 PM
#21
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Post #21 by cjpinder

rwoody:

Currently the settings in my http.conf are

ServerSignature Off
ServerTokens ProductOnly

So you are saying change the second line to:

ServerTokens Prod ?

No, ServerTokens ProductOnly is fine (ProductOnly and Prod are the same). Check that you have the correct httpd.conf file though,
there may be more than one.

Regards,
Christian.

12 Mar 2010, 8:02 PM
#22
rwoody avatar

rwoody

Totally Zenned

Join Date:
Aug 2004
Location:
Fountain Hills, AZ
Posts:
476
Plugin Contributions:
0

Post #22 by rwoody

Yes I have the correct files, but I changed it anyway based on a post I read on Apache Security. and changed the ini file. I'm re-running the scan now. I finally got all the errors out of the front end, but the admin is a disaster and will take hours to clean up.

I know I've been advised here turning error reporting off does the trick, but I had white screens, until I edited a slew of files.

The admin doesn't hide the errors...it won't let me even enter the admin itself until I fix them all. Thank gosh I didn't touch production site until I verified this all in my test enviornment - I would be in a total panic. As it is, when I've got the test version error free, then I'll take the site down, recompile and build in the new changes.

I'm running the scan again with your suggestions, but up till now the bot seems to be able to get to see everything.

I had to completely pull out and rebuild the blog I had integrated in order to upgrade that to the latest release, which wasn't fun, but got it done and then recompiled to 5.2.12, as I was originally told that would satisfy them, then they sent me another failed report saying nope...gotta to to 5.3.2 -

I think I want a new job...LOL :dontgetit

23 Mar 2010, 8:22 AM
#23
halkhata987 avatar

halkhata987

New Zenner

Join Date:
Mar 2010
Posts:
2
Plugin Contributions:
0

Post #23 by halkhata987

I d/l the patch you referred me to and I'm currently running tests as I did before to be sure I don't have the site down with errors.

Based on the test, the moment I attempt to put something in the cart I go to a white screen.

I'm getting the following error using error reporting -
PHP Deprecated: Function ereg() is deprecated in ...\includes\classes\db\mysql\query_factory.php on line 139.

I attempted modifying the file and made things worse, so I returned it back to the original. Can you help me out here?

I'm told that all Merchant Providers have received notification from Visa and Mastercard of these new tougher requirements... so there will be lots of folks forced to the latest release of PHP

Edinburgh Accommodation

NBA and NCAA Picks

23 Mar 2010, 8:24 AM
#24
halkhata987 avatar

halkhata987

New Zenner

Join Date:
Mar 2010
Posts:
2
Plugin Contributions:
0

Post #24 by halkhata987

I d/l the patch you referred me to and I'm currently running tests as I did before to be sure I don't have the site down with errors.

Based on the test, the moment I attempt to put something in the cart I go to a white screen.

I'm getting the following error using error reporting -
PHP Deprecated: Function ereg() is deprecated in ...\includes\classes\db\mysql\query_factory.php on line 139.

I attempted modifying the file and made things worse, so I returned it back to the original. Can you help me out here?

I'm told that all Merchant Providers have received notification from Visa and Mastercard of these new tougher requirements... so there will be lots of folks forced to the latest release of PHP

23 Mar 2010, 10:21 AM
#25
drbyte avatar

drbyte

Sensei

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

Post #25 by drbyte

halkhata987:

Based on the test, the moment I attempt to put something in the cart I go to a white screen.Then you have a PHP error happening.
halkhata987:

I'm getting the following error using error reporting -
PHP Deprecated: Function ereg() is deprecated in ...\includes\classes\db\mysql\query_factory.php on line 139.Then you've not actually applied the PHP 5.3 patch update correctly.
halkhata987:

I attempted modifying the file and made things worse, so I returned it back to the original. Can you help me out here?There's no need to go and modify all the ereg() calls in the code. The patch takes care of suppressing the warnings, because that's all they are: warnings.
halkhata987:

I'm told that all Merchant Providers have received notification from Visa and Mastercard of these new tougher requirements... so there will be lots of folks forced to the latest release of PHP
That's why the patch was released. And, of course, the next version of Zen Cart will be PHP 5.3 compatible.

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