Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2008
    Posts
    45
    Plugin Contributions
    0

    Default function.session-save-path Error Cache Folder was 170mb!!

    Ok so this morning our website went offline due to us exceeding our bandwidth, which i found strange got the site back online now it appears the Cache folder was the culprit.

    The cache folder is full or error logs saying the same error:
    [22-Aug-2011 12:43:51] PHP Warning: session_save_path() [<a href='function.session-save-path'>function.session-save-path</a>]: Unable to access /var/www/vhosts/yorkshiregardencentre.co.uk/httpdocs/shop//cache in /var/www/vhosts/silicalodgegardencentre.co.uk/httpdocs/shop/includes/functions/sessions.php on line 168

    We moved domains in January 2011, I have tried the fix cache key untiity but i get a error in firefox and page cannot be displayed in IE.

    Ive checked both confiqure.php files in admin and includes and both have the correct path also checked the database SESSION_WRITE_DIRECTORY and that also has the correct term of:
    /var/www/vhosts/silicalodgegardencentre.co.uk/httpdocs/shop/cache

    So why is this error still happening

    Thanks in advance for your help guys!

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

    Default Re: function.session-save-path Error Cache Folder was 170mb!!

    You must be checking the wrong database table.
    .

    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
    Jan 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: function.session-save-path Error Cache Folder was 170mb!!

    I checked the configuration table for the entry:
    SESSION_WRITE_DIRECTORY

    I assume this is correct?

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

    Default Re: function.session-save-path Error Cache Folder was 170mb!!

    There are 3 places where that value is set:
    - 2 configure.php files: DIR_FS_SQL_CACHE
    - configuration table in database SESSION_WRITE_DIRECTORY

    If you're encountering PHP errors that are showing that the system is trying to write session or cache data to some invalid path, then one of those 3 settings contains incorrect data.
    And, if you've checked all those 3 settings, then either you're not looking at the data actually ON the server, or you're looking in the wrong database or wrong table. Remember, if your site is set up to use table prefixes (DB_PREFIX other than '') then you need to look at the table whose name starts with that prefix.
    .

    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. v139h Session save path - What does it do please ?
    By rustwood in forum General Questions
    Replies: 1
    Last Post: 31 Mar 2014, 09:00 PM
  2. error in path (function.session-save-path) after switching servers
    By stitch in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 16 Feb 2010, 09:37 AM
  3. Replies: 2
    Last Post: 31 May 2009, 11:20 AM
  4. session_save_path() [function.session-save-path]:
    By vr4indian in forum Installing on a Windows Server
    Replies: 2
    Last Post: 30 Oct 2006, 07:45 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