Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2011
    Location
    Upstate, NY
    Posts
    47
    Plugin Contributions
    0

    Default Google Checkout addon - Possible Hack or PHP Misconfiguration?

    Hi,
    My zen cart version is v1.3.9h and was moving along awesome. My php version is PHP Version 5.3.8

    I am unsure if my hosting company upgraded the php and now the scripts are wonky or if someone is doing something.
    Here's some snippit from the cache file:

    [13-Oct-2011 15:37:53] PHP Notice: Constant HTTP_SERVER already defined in /path/to/admin/includes/configure.php on line 29
    [13-Oct-2011 15:37:53] PHP Notice: Constant HTTPS_SERVER already defined in /path/to/admin/includes/configure.php on line 30
    [13-Oct-2011 15:37:53] PHP Notice: Constant DIR_WS_CATALOG already defined in /path/to/admin/includes/configure.php on line 43


    [13-Oct-2011 15:37:53] PHP Deprecated: Function split() is deprecated in /path/to/googlecheckout/gcheckout.php on line 128



    [13-Oct-2011 15:37:53] PHP Notice: Undefined index: billto in /path/to/includes/functions/functions_taxes.php on line 247
    [13-Oct-2011 15:37:53] PHP Notice: Undefined property: queryFactoryResult::$fields in /path/to/includes/functions/functions_taxes.php on line 269

    [13-Oct-2011 15:37:54] PHP Notice: Use of undefined constant MODULE_SHIPPING_ZONES_TAX_BASIS - assumed 'MODULE_SHIPPING_ZONES_TAX_BASIS' in /path/to/includes/modules/shipping/zones.php on line 106
    [13-Oct-2011 15:37:54] PHP Notice: Use of undefined constant MODULE_SHIPPING_ZONES_STATUS - assumed 'MODULE_SHIPPING_ZONES_STATUS' in /path/to//includes/modules/shipping/zones.php on line 110

    I never had errors before and did nothing to the files in question. There are over 600 lines of "PHP Notice: Constant **** already defined in /path/to/...." and such.. this is a partial snippit.

    I really don't think it's a hack attempt, did anyone else have this problem?
    Thanks,
    Kevin

  2. #2
    Join Date
    Sep 2011
    Location
    Upstate, NY
    Posts
    47
    Plugin Contributions
    0

    Default Re: Possible Hack or PHP Misconfiguration?

    Hi,
    I was trying to find the edit button, but I think I found the answer to my own question. I found that in the newly installed google checkout module, error reporting all was not commented out. I commented it out and the reports stopped in the google cache.
    Sorry. I can't see how to delete this post.
    Thanks,
    Kevin

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Possible Hack or PHP Misconfiguration?

    No need to delete it ... you may have helped others with similar issues ... thanks for the update and explanation of the cause of the problem ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Sep 2011
    Location
    Upstate, NY
    Posts
    47
    Plugin Contributions
    0

    Default Re: Possible Hack or PHP Misconfiguration?

    Ajeh,
    Thanks for the heads up.
    I am just wondering about this error here:


    [13-Oct-2011 15:37:53] PHP Deprecated: Function split() is deprecated in /path/to/googlecheckout/gcheckout.php on line 128

    Should I look into fixing this error since it's deprecated?

    LINE 128

    PHP Code:

    // Restricted categories
    $resticted_categories split('([ ]?[,][ ]?)',MODULE_PAYMENT_GOOGLECHECKOUT_RESTRICTED_CATEGORIES); 
    Thanks,
    Kevin

  5. #5
    Join Date
    Sep 2011
    Location
    Upstate, NY
    Posts
    47
    Plugin Contributions
    0

    Default Re: Possible Hack or PHP Misconfiguration?

    Hi,
    I found this on another site:

    $resticted_categories = preg_split('/ ?, ?/', MODULE_PAYMENT_GOOGLECHECKOUT_RESTRICTED_CATEGORIES);

    I am looking into this to see if it will work.

    Thanks,
    Kevin

  6. #6
    Join Date
    Sep 2011
    Location
    Upstate, NY
    Posts
    47
    Plugin Contributions
    0

    Default Re: Google Checkout addon - Possible Hack or PHP Misconfiguration?

    Hi,
    It seems to work as I can still make sales in google checkout.
    Thanks,
    Kevin

 

 

Similar Threads

  1. Google Checkout v1.4.7 - Possible Bug with Shipping
    By stonecoldinc in forum Addon Shipping Modules
    Replies: 1
    Last Post: 16 Oct 2011, 10:25 PM
  2. // eof --- caused by Google Checkout addon
    By spid3r1987 in forum General Questions
    Replies: 16
    Last Post: 3 May 2011, 11:12 AM
  3. Question about debug error (broken by google checkout addon)
    By Kenichi in forum General Questions
    Replies: 3
    Last Post: 12 Aug 2010, 07:53 PM
  4. Possible to change Google Checkout header image?
    By gaffettape in forum Addon Payment Modules
    Replies: 0
    Last Post: 1 Apr 2010, 11:50 AM
  5. Is it possible to manually add Google Checkout Buttons?
    By tomato in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 17 Jul 2007, 05:17 AM

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