Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2005
    Posts
    20
    Plugin Contributions
    0

    help question error in path (function.session-save-path) after switching servers

    Hi evrybody, I have this error message on top of the first page after my host as changing the servers, I have modify the paths in the configure.php files but this message still appearing:
    "Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/home/kdchab/public_html/cache) is not within the allowed path(s): (/home2/kdchab:/usr/lib/php:/usr/local/lib/php:/tmp) in /home2/kdchab/public_html/includes/functions/sessions.php on line 151"
    I have check the 2 configure.php files and my paths are "/home2/kdchab/public_html" so I don't understand where to modify "File(/home/kdchab/public_html/cache)" to reflect the good path.
    My site is www.stitchalley.com
    I hope someone may help with a good idea.
    Thanks a lot.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: error in path (function.session-save-path)

    (/home/kdchab/public_html/cache) is not within the allowed path(s): (/home2/kdchab ...
    You need to set the correct session directory in your Admin->Configuration->Sessions

    Related FAQ: https://www.zen-cart.com/tutorials/i...hp?article=100
    .

    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
    Apr 2005
    Posts
    20
    Plugin Contributions
    0

    Default Re: error in path (function.session-save-path) after switching servers

    Thanks a lot DrByte, wonderful help, I have downloaded the fix code and run it (delete it also). It works fine .... great.
    Thanks again for the fantastic forum and the quick help.

  4. #4
    Join Date
    Jul 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: error in path (function.session-save-path) after switching servers

    Dear DrByte....

    i'm still can't fixed this problem.
    Can u help me..?

    Thanks a lot...

  5. #5
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: error in path (function.session-save-path) after switching servers

    The FAQ article explains all the steps in detail.
    .

    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
    Jul 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: error in path (function.session-save-path) after switching servers

    yup, the article explain in detail....
    but i missed to read some important guideline...oh my God !

    Thanks a lot.....Now, It's work fine.....!!!

  7. #7
    Join Date
    Mar 2009
    Posts
    45
    Plugin Contributions
    0

    Default Re: error in path (function.session-save-path) after switching servers

    This thread is full of win and awesomeness.

    Helped me too. Big time.

  8. #8
    Join Date
    Dec 2009
    Location
    Sarajevo
    Posts
    80
    Plugin Contributions
    0

    Default Re: error in path (function.session-save-path) after switching servers

    I had same problem and solved it thanks to this topic and DrByte! Cheers

 

 

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. function.session-save-path Error Cache Folder was 170mb!!
    By wdd49 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 22 Aug 2011, 11:59 PM
  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

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