Svenska (Sverige)English (United Kingdom)
Start Webb PHP I get an error message in OsCommerce: "Warning: session_save_path(): SAFE MODE Restriction in effect. The script whose uid is X is not allowed to access /tmp owned by uid 0"

I get an error message in OsCommerce: "Warning: session_save_path(): SAFE MODE Restriction in effect. The script whose uid is X is not allowed to access /tmp owned by uid 0"

From version 4.4.0 and up, PHP applies safe_mode controls if you set your own path to session files in php. As standard, Oscommerce changes the path from standard to /tmp. Create a folder in your home directory, for example sessions outside public_html.
Give the folder permissions777

Change followng two variables in the oscommerce configuration to point to the newly created folder, /home/ACCOUNTNAME/sessions if you choose the name sessions for it:

Cache Directory(DIR_FS_CACHE)
Session Directory(SESSION_WRITE_DIRECTORY)