Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24
  1. #21
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Need Advice on Php Version

    Quote Originally Posted by rwoody View Post
    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.

  2. #22
    Join Date
    Aug 2004
    Location
    Fountain Hills, AZ
    Posts
    515
    Plugin Contributions
    1

    Default Re: Need Advice on Php Version

    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

  3. #23

    Default Re: Need Advice on Php Version

    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

  4. #24
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Need Advice on Php Version

    Quote Originally Posted by halkhata987 View Post
    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.
    Quote Originally Posted by halkhata987 View Post
    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.
    Quote Originally Posted by halkhata987 View Post
    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.
    Quote Originally Posted by halkhata987 View Post
    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.

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Replies: 4
    Last Post: 4 Sep 2012, 05:56 PM
  2. need php code advice
    By finlander in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Nov 2010, 08:13 AM
  3. Php error need advice?
    By Treasuresbycaz in forum Basic Configuration
    Replies: 3
    Last Post: 8 Aug 2009, 07:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR