Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2006
    Posts
    80
    Plugin Contributions
    0

    Default Warning session _save_path error after changing servers

    Have just moved to a new host and everything appeared to be working fine. The host made some changes to the php server... from the host "fixed / we had to do some emergency server work, knocked php dependant software only why we did the work, this s a once off."

    We have not moved the DNS yet to the new host and can't until the cart is functioning properly. To view it you may need to use /~bmnedire/

    Now I am getting this message when I go to the cart general area and I can't even access the admin side.

    Warning: session_save_path() [function.session-save-path]: Unable to access /home/httpsd/html/bmnedirect/zen/cache in /home/bmnedire/public_html/zencart/includes/functions/sessions.php on line 145

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/bmnedire/public_html/zencart/includes/functions/sessions.php:145) in /home/bmnedire/public_html/zencart/includes/functions/sessions.php on line 102

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/bmnedire/public_html/zencart/includes/functions/sessions.php:145) in /home/bmnedire/public_html/zencart/includes/functions/sessions.php on line 102

    Warning: Cannot modify header information - headers already sent by (output started at /home/bmnedire/public_html/zencart/includes/functions/sessions.php:145) in /home/bmnedire/public_html/zencart/includes/init_includes/init_templates.php on line 78
    Home | Log In


    From the admin side:
    Warning: session_save_path() [function.session-save-path]: Unable to access /home/httpsd/html/bmnedirect/zen/cache in /home/bmnedire/public_html/zencart/includes/functions/sessions.php on line 145

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/bmnedire/public_html/zencart/includes/functions/sessions.php:145) in /home/bmnedire/public_html/zencart/includes/functions/sessions.php on line 102

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/bmnedire/public_html/zencart/includes/functions/sessions.php:145) in /home/bmnedire/public_html/zencart/includes/functions/sessions.php on line 102

    Warning: Cannot modify header information - headers already sent by (output started at /home/bmnedire/public_html/zencart/includes/functions/sessions.php:145) in /home/bmnedire/public_html/zencart/admin/includes/init_includes/init_templates.php on line 36

    Warning: Cannot modify header information - headers already sent by (output started at /home/bmnedire/public_html/zencart/includes/functions/sessions.php:145) in /home/bmnedire/public_html/zencart/admin/includes/functions/general.php on line 34

    What do I need to do to fix this.

    Thanks

  2. #2
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Warning session _save_path

    Make sure that the cache folder has permissions of 755.

    Vger

  3. #3
    Join Date
    Feb 2006
    Posts
    80
    Plugin Contributions
    0

    Default Re: Warning session _save_path

    Tried that, still getting the same messages.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Warning session _save_path

    The error message tells you the problem:

    Unable to access /home/httpsd/html/bmnedirect/zen/cache in /home/bmnedire/public_html/zencart/includes/functions/sessions.php
    Your "cache" folder is still specified as
    /home/httpsd/html/bmnedirect/zen/cache
    but your code and files are found at a different path on this new host:
    /home/bmnedire/public_html/zencart/

    So, following the instructions in the FAQ on how to switch folders or hosts, you would:
    - update both configure.php files to have the correct path
    - update your Admin->Configuration->Sessions->Session Directory to have the correct path
    .

    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. Connection Reset/Error 101 after changing servers
    By DannyVarley in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 7 Dec 2012, 06:49 PM
  2. Replies: 1
    Last Post: 21 Sep 2011, 07:32 PM
  3. 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
  4. Error page after changing servers!! please help me :(
    By endi in forum General Questions
    Replies: 3
    Last Post: 9 Feb 2009, 01:06 AM

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