Thread: Error Files

Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Error Files

    Getting continual MYDEBUG files with messages similar to the following. Any ideas on what is causing this? My cache.php file is the standard Zen file.

    [23-Sep-2010 20:15:20] PHP Warning: file(/cache/zc_7eb4ed1f36d90140477d9474b61e0e26.sql): failed to open stream: No such file or directory in /includes/classes/cache.php on line 149
    [23-Sep-2010 20:15:20] PHP Warning: implode(): Invalid arguments passed in /includes/classes/cache.php on line 150
    [23-Sep-2010 20:15:20] PHP Warning: Variable passed to each() is not an array or object in /includes/classes/db/mysql/query_factory.php on line 127
    [23-Sep-2010 20:15:20] PHP Warning: session_start(): open(SESSION_WRITE_DIRECTORY/sess_0b0v1vu190brv2o1294si08l51, O_RDWR) failed: No such file or directory (2) in /includes/functions/sessions.php on line 114
    [23-Sep-2010 20:15:20] PHP Warning: Unknown: open(SESSION_WRITE_DIRECTORY/sess_0b0v1vu190brv2o1294si08l51, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
    [23-Sep-2010 20:15:20] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (SESSION_WRITE_DIRECTORY) in Unknown on line 0

    -lindasdd

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Error Files

    1. You've evidently set your site to use file-based SQL caching instead of the default of database-based or none. And, while attempting to read cached data, the system is finding that it is unable to open the files it's expecting, seemingly because they've been erased ... or maybe permissions have been changed somehow.

    2. That's causing the second problem of SESSION_WRITE_DIRECTORY not being set, because the cached data is expected to contain the expected value for that and several hundred other settings.

    I suggest you edit your 2 configure.php files and set this:
    Code:
     define('SQL_CACHE_METHOD', 'none');
    .

    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.

  3. #3
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: Error Files

    Ok. I will try that out.

    I may have inadvertently deleted the session files it was searching for from the cache folder.

    I'm assuming making this change doesn't affect anything else....in a bad way....

    -lindasdd

  4. #4
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: Error Files

    Hmmmm. Now I'm getting debug files that state:
    [24-Sep-2010 14:32:38] Cache couldn't make dir './cache'.
    [24-Sep-2010 14:32:38] Cache unable to open file for writing: ./cache/d76fb6dc6696d65299eb8e1728c4b5ef

    The file names for these DEBUG files are slightly different. They now start with myDEBUG-adm

    -lindasdd

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Error Files

    The "-adm" denotes that those messages were logged when using the admin side, not the storefront side.
    .

    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.

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

    Default Re: Error Files

    And the error messages you're reporting don't look like they're coming from Zen Cart core functionality.

    But they do look strangely similar to something to do with MagpieRSS: http://www.ens-lyon.fr/Bibli/oai/rss/TROUBLESHOOTING
    Maybe you've got a broken 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.

 

 

Similar Threads

  1. Error Core Files in File Manager
    By perkiekat in forum Upgrading from 1.3.x to 1.3.9
    Replies: 8
    Last Post: 8 Aug 2010, 10:37 PM
  2. Error Downloading large files
    By HinterWelt2 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 10 Nov 2009, 04:38 AM
  3. Error message from my log files
    By canemasters in forum General Questions
    Replies: 7
    Last Post: 30 May 2008, 04:15 PM

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