session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect

Error : Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect.

Solution : If osCommerce  shows the above  error on the page then you need to change the ” Session Directory”  path in database by using phpmyadmin.

1) Login to cpanel then click on the phpmyadmin

2) choose your database and search “/tmp” in database then click on the “configuration” table

3) Then change the “/tmp ” to /home/username/public_html/tmp

4) Save and Quit

5) Then create the  “/home/username/public_html/tmp ”  under the document root and set 777 permission.

Done

Leave a Comment