lateral Posted May 7, 2016 Share Posted May 7, 2016 Hi Guys I am trying to determine if I have a problem with my 1.6.0.9 Prestashop environment. If I turn on debug mode, I see the following message when I start the front end: Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/f-web/fb/c2/greghanley.com.au/:/usr/local/lib/php/__applications/:/home/chroot_bind/php/php5/usr/local/lib/php/) in /home/f-web/fb/c2/greghanley.com.au/public/www/classes/PrestaShopAutoload.php on line 151 I'm somewhat of a newbie so can somebody explain to me what the above message actually means and do I have some sort of issue? Thanks for your help. Cheers Greg Link to comment Share on other sites More sharing options...
Simonas Invertus Posted May 9, 2016 Share Posted May 9, 2016 Do you have any issues with your shop? The message means that you do not have rights to access tmp directory. This directory can be used for files/images upload. If you can create products and upload images without any problems then maybe everything is okay. Link to comment Share on other sites More sharing options...
lateral Posted May 9, 2016 Author Share Posted May 9, 2016 Hi Simonas I was trying to track down an issue that was causing me a lot of stress and it ended up being due to corrupt cookies. Once I deleted all cookies related to my domain from the browser I was using (Firefox) the issue went away. To answer your question, the Prestashop environment is working fine even with those messages being displayed when in debug mode..... Cheers Greg Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2016 Share Posted May 9, 2016 this message is related to chown / chmod for /tmp directory script trying to access /tmp directory for some files (save), and cant do that because www user doesnt have permissions to do that. Link to comment Share on other sites More sharing options...
lateral Posted May 9, 2016 Author Share Posted May 9, 2016 Hi Vekia I just checked the settings for the /tmp folder and they are: 777 drwxrwxrwx Is this correct? Cheers Greg Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now