Results 1 to 3 of 3

Warning: session_save_path() -help

This is a discussion on Warning: session_save_path() -help within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; hi when i want to install oscmax this error occured ,plz help me : Warning : session_save_path() [ AABox Web ...

      
  1. #1
    611
    611 is offline
    New Member
    Join Date
    May 2008
    Posts
    17
    Rep Power
    0


    Default Warning: session_save_path() -help

    hi when i want to install oscmax this error occured ,plz help me :


    Warning: session_save_path() [AABox Web Hosting | Web Hosting for the 21st centrury]: SAFE MODE Restriction in effect. The script whose uid is 34854 is not allowed to access /tmp owned by uid 0 in /home/****/public_html/includes/functions/sessions.php on line 118

    Warning: session_start() [AABox Web Hosting | Web Hosting for the 21st centrury]: Cannot send session cookie - headers already sent by (output started at /home/spinood/public_html/includes/functions/sessions.php:11 in /home/****/public_html/includes/functions/sessions.php on line 67

    Warning: session_start() [AABox Web Hosting | Web Hosting for the 21st centrury]: Cannot send session cache limiter - headers already sent (output started at /home/spinood/public_html/includes/functions/sessions.php:11 in /home/****/public_html/includes/functions/sessions.php on line 67

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Warning: session_save_path() -help

    Your server is in safe mode. You cannot save sessions outside your home directory, so switch to saving them to the database. Change it to this in both your configure.php files:
    PHP Code:
       define('STORE_SESSIONS''mysql'
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Lurker hobbyisten's Avatar
    Join Date
    Dec 2008
    Posts
    1
    Rep Power
    0


    Default Re: Warning: session_save_path() -help

    Hello there

    Not to correct anybody, but there is a fault in the system that can shut you out, if you want to keep files in STORE_SESSIONS.

    The problem is that the setting for SESSION_WRITE_DIRECTORY is stored in the database, and by default it points to /tmp. This is a problem besause you can't start the adminmodule, to change this value if you have set the open_basedir.

    The only way to fix this is by starting up a DB-client like PHPMyAdmin, or the one that fits your system, locate the row in the database table configurations, and change it to a value inside you open_basedir.

    After doing this you have no problem, and you can keep the files setting in STORE_SESSION.

Similar Threads

  1. Another warning for me!
    By [wicked] in forum osCmax v2 Customization/Mods
    Replies: 4
    Last Post: 02-09-2006, 01:57 PM
  2. Help please! Warning: session_save_path(): SAFE MODE Restri
    By bluecat76 in forum osCommerce 2.2 Discussion
    Replies: 0
    Last Post: 11-15-2005, 07:20 AM
  3. Warning message help.
    By Picman in forum osCommerce 2.2 Installation Help
    Replies: 6
    Last Post: 06-05-2003, 05:30 PM
  4. Help about warning
    By Anonymous in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 11-09-2002, 01:11 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
  •