Thread: Cache Error

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24
  1. #11
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Cache Error

    Hmmm ... maybe it's a permissions issue after all. What permissions do you have set on those files? and what's on the /includes/index_filters/ folder itself?
    It's looking like PHP is reporting that those files don't exist, which would only happen if they had permissions restrictions set to make them look like they're not present.
    .

    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.

  2. #12
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Cache Error

    Quote Originally Posted by DrByte View Post
    Hmmm ... maybe it's a permissions issue after all. What permissions do you have set on those files? and what's on the /includes/index_filters/ folder itself?
    It's looking like PHP is reporting that those files don't exist, which would only happen if they had permissions restrictions set to make them look like they're not present.
    The folder permission for /includes/ined_filters/ is 0755 and the permission on the individual files inside it is 0644.

    Thanks!

  3. #13
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Cache Error

    When does that error occur?

    Based on the information you're supplying, it should not be happening at all.
    .

    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.

  4. #14
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Cache Error

    It has only happened once which is when I posted. Since I have set the cache to "none" in the 2 configure files, that specific situation will probably not happen again.

    The result of the error was the Add to Cart button not advancing to the next page. If my memory serves me right that has happened 3 times in the 6 years we've been using Zen Cart. Unfortunately, two of those time happened this week after upgrading to 1.3.9a. I will post another error (different one) that triggered the same issue today.

  5. #15
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Cache Error

    Here is the error from today:

    [01-May-2010 05:54:00] PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #3 is not an array in /*/*/public_html/includes/modules/payment/paypalwpp.php on line 2200


    Line 2200 reads:
    PHP Code:
    $this->zcLog('findMatchingAddressBookEntry - 1-stats''lookups:' "\n" print_r(array_merge($country->fields, array('zone_country_id' => $country_zone_check->fields['zone_id']), $zone->fields), true) . "\n" 'check_zone: ' $check_zone "\n" 'zone:' $zone_id "\nSubmittedAddress:".print_r($address_question_arrTRUE)); 
    Not sure what this error is about or if it's related to permission issue. Nonetheless after the error the Add to Cart button started the problem again where when you click add to cart it just keeps spinning, the item is added to cart but the page doesn't change.

  6. #16
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Cache Error

    Quote Originally Posted by BlessIsaacola View Post
    Here is the error from today:

    [01-May-2010 05:54:00] PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #3 is not an array in /*/*/public_html/includes/modules/payment/paypalwpp.php on line 2200


    Line 2200 reads:
    PHP Code:
    $this->zcLog('findMatchingAddressBookEntry - 1-stats''lookups:' "\n" print_r(array_merge($country->fields, array('zone_country_id' => $country_zone_check->fields['zone_id']), $zone->fields), true) . "\n" 'check_zone: ' $check_zone "\n" 'zone:' $zone_id "\nSubmittedAddress:".print_r($address_question_arrTRUE)); 
    Not sure what this error is about or if it's related to permission issue. Nonetheless after the error the Add to Cart button started the problem again where when you click add to cart it just keeps spinning, the item is added to cart but the page doesn't change.
    That particular error was fixed in v1.3.9b, but would have nothing to do with a spinning hourglass
    .

    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.

  7. #17
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Cache Error

    Since upgrading to 1.3.9b yesterday, I have received this error once in the log:

    [03-May-2010 05:11:10] PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #3 is not an array in /*/*/public_html/includes/modules/payment/paypalwpp.php on line 2204


    Line 2204 reads:
    PHP Code:
        $this->zcLog('findMatchingAddressBookEntry - 1-stats''lookups:' "\n" print_r(array_merge($country->fields, array('zone_country_id' => $country_zone_check->fields['zone_id']), $zone->fields), true) . "\n" 'check_zone: ' $check_zone "\n" 'zone:' $zone_id "\nSubmittedAddress:".print_r($address_question_arrTRUE)); 

  8. #18
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Cache Error

    Puzzling, but again, not a contributor to any serious problems.
    .

    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.

  9. #19
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Cache Error

    Well this is the latest error in the log:

    [04-May-2010 10:01:05] PHP Warning: reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /*/*/public_html/ADMINFOLDER/includes/classes/object_info.php on line 29
    [04-May-2010 10:01:05] PHP Warning: Variable passed to each() is not an array or object in /*/*/public_html/ADMINFOLDER/includes/classes/object_info.php on line 30


    Line 30 reads:
    PHP Code:
    while (list($key$value) = each($object_array)) { 
    Pasted below is the entire content of that file:
    PHP Code:
    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce                                       |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 The zen-cart developers                           |
    // |                                                                      |   
    // | http://www.zen-cart.com/index.php                                    |   
    // |                                                                      |   
    // | Portions Copyright (c) 2003 osCommerce                               |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license,       |
    // | that is bundled with this package in the file LICENSE, and is        |
    // | available through the world-wide-web at the following url:           |
    // | http://www.zen-cart.com/license/2_0.txt.                             |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to       |
    // | [email protected] so we can mail you a copy immediately.          |
    // +----------------------------------------------------------------------+
    //  $Id: object_info.php 1969 2005-09-13 06:57:21Z drbyte $
    //

      
    class objectInfo {

    // class constructor
        
    function objectInfo($object_array) {
    //this line should be added, but should be tested first:
    //      if (!is_array($object_array)) return;
          
    reset($object_array);
          while (list(
    $key$value) = each($object_array)) {
            
    $this->$key zen_db_prepare_input($value);
          }
        }
      }
    ?>

  10. #20
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Cache Error

    Probably a result of a poorly-written addon.
    .

    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 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Simple Cache vs. Query Cache vs. Magneticone Performance Mod?
    By NBordeau in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 24 May 2010, 03:55 PM
  2. Replies: 4
    Last Post: 13 Sep 2008, 04:40 AM
  3. Replies: 1
    Last Post: 26 Jun 2007, 05:06 PM
  4. Cache-Error Messages
    By hbrecht in forum General Questions
    Replies: 3
    Last Post: 14 Mar 2007, 11:50 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