webolutiondesigns Posted March 21, 2013 Posted March 21, 2013 I just installed osCommerce for the first time. Everything seemed to go flawlessly, but now I am receiving the following error... PHP Warning: session_save_path(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (D:\home\agatesandcoins.com\wwwroot) in D:\home\agatesandcoins.com\wwwroot\store\includes\functions\sessions.php on line 169 Anyone know why I am getting this error? Thanks, ~Clay
MrPhil Posted March 21, 2013 Posted March 21, 2013 Somewhere in the configuration it says to use /tmp for various temporary file storage tasks. Your server is configured to bar your access to /tmp (a not uncommon situation). Since you're on a Windows server (IIS), that directory probably doesn't even exist. Some possible solutions are Ask your host about turning off open_basedir (may still leave the problem of no /tmp). Find the definition that uses /tmp and change it to some other absolute address (such as D:\home\<your account>\wwwroot\tmp) and create that directory. Find the definition that uses /tmp and change it to just tmp. You will need to find the (hopefully just one) parent directory for tmp and create a tmp under it. I can't get to my code right now to tell you where /tmp is being used, but you should be able to search for it. Check both the configure.php files, to start with.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.