Raz0r Posted March 18, 2007 Posted March 18, 2007 enebudy konw how to solve this ? :blush: Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/*****/:/tmp/:/var/www/:/usr/local/lib/php/:/etc/virtual/) in /home/*****/domains/project.amservers.org/public_html/catalog/includes/functions/sessions.php on line 148 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/*****/domains/project.amservers.org/public_html/catalog/includes/functions/sessions.php:148) in /home/*****/domains/project.amservers.org/public_html/catalog/includes/functions/sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/*****/domains/project.amservers.org/public_html/catalog/includes/functions/sessions.php:148) in /home/*****/domains/project.amservers.org/public_html/catalog/includes/functions/sessions.php on line 97 Warning Warning: I am able to write to the configuration file: /home/******/domains/project.amservers.org/public_html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. thx in advanse
usernamenone Posted March 18, 2007 Posted March 18, 2007 Do this and see what is left. http://www.oscommerce.info/kb/osCommerce/I...nd_Upgrades/224
wireless Posted March 18, 2007 Posted March 18, 2007 I too have a similar problem and would also like to know how I deal with these errors. I 'think' they are there because I dont have root access to server ie its shared using supanames as apposed to being hosted on a dedicated server and as a result I dont have the public_html folder. I just dont really get how to edit it yet This is the message " Warning: session_save_path(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/********/public_html) in /home/**************/public_html/catalog/includes/functions/sessions.php on line 148 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/******/public_html/catalog/includes/functions/sessions.php:148) in /home/*******/public_html/catalog/includes/functions/sessions.php on line 97 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/*********/public_html/catalog/includes/functions/sessions.php:148) in /home/********/public_html/catalog/includes/functions/sessions.php on line 97 " All the best Graham Edit ahh ive just come back from the the toilet to post this and there has been a reply ahh well never mind.............
wireless Posted March 18, 2007 Posted March 18, 2007 Hi there again Ive just checked and altered the settings as explained in the tutorial link but I still get the same three warnings any other suggestions as explained in my last post??????
Raz0r Posted March 18, 2007 Author Posted March 18, 2007 Do this and see what is left. http://www.oscommerce.info/kb/osCommerce/I...nd_Upgrades/224 ok did aal this warning is gone but the otter messeges are still thare thx already for he help
Raz0r Posted March 18, 2007 Author Posted March 18, 2007 I too have a similar problem and would also like to know how I deal with these errors. I 'think' they are there because I dont have root access to server ie its shared using supanames as apposed to being hosted on a dedicated server and as a result I dont have the public_html folder. I just dont really get how to edit it yet This is the message " Warning: session_save_path(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/********/public_html) in /home/**************/public_html/catalog/includes/functions/sessions.php on line 148 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/******/public_html/catalog/includes/functions/sessions.php:148) in /home/*******/public_html/catalog/includes/functions/sessions.php on line 97 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/*********/public_html/catalog/includes/functions/sessions.php:148) in /home/********/public_html/catalog/includes/functions/sessions.php on line 97 " All the best Graham Edit ahh ive just come back from the the toilet to post this and there has been a reply ahh well never mind............. i have a public_html folder and the store is in that folder . what needs to be eddited on that public_html folder ? sorry for being a noob in this
usernamenone Posted March 18, 2007 Posted March 18, 2007 your public_html is where your shop should be located if that is how the host has you set up. When running the oscommerce installer it is smart enough to locate your catalog so there was no need to change setting to the location. Is this a template or stock. Line 97 of your sessions is return session_start(); Log into admin and make sure all your sessions are turned to false inder configuration and down to sessions. You can also have those errors if your catatlog is not read and writeable with the exception on the 2 configure.php files. I have had to ftp and change all files and folder permissions in the past to stop errors. Not fun but give it a try.
wireless Posted March 18, 2007 Posted March 18, 2007 hi usernamenon is there an easier way than having to go thru each file and change the permisions? :sweating:
usernamenone Posted March 18, 2007 Posted March 18, 2007 No, it doesn't take that much time if you use filezilla ftp client. Just right click and choose file atributes. Hit your folders first. then check.
wireless Posted March 18, 2007 Posted March 18, 2007 just checking do all tick boxes eg owner, group& public have to be write ticked or just owner???
wireless Posted March 18, 2007 Posted March 18, 2007 thanks since starting to tick all boxes ive lost one warning but still have these left and I will check tommorrow the rest as my eye lids are starting to drop uncontrolabely Warning: session_save_path(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/wadsworthquk/public_html) in /home/**********/public_html/catalog/includes/functions/sessions.php on line 148 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/*************/public_html/catalog/includes/functions/sessions.php:148) in /home/***********/public_html/catalog/includes/functions/sessions.php on line 97 also do you know what these warnings mean at all? Thanks again G
wireless Posted March 18, 2007 Posted March 18, 2007 a thought ....Are these warnings just because I dont have access nor have the public_html folder visible and that all i need to do is edit where its looking to carry out action so its not looking for public_html ???
usernamenone Posted March 19, 2007 Posted March 19, 2007 did you check to see if you had sessions turned off in admin? a thought ....Are these warnings just because I dont have access nor have the public_html folder visible and that all i need to do is edit where its looking to carry out action so its not looking for public_html ???
usernamenone Posted March 19, 2007 Posted March 19, 2007 check out this link. Should do it for you. http://www.oscommerce.com/forums/lofiversion/i...hp/t196609.html
wireless Posted March 19, 2007 Posted March 19, 2007 check out this link. Should do it for you. http://www.oscommerce.com/forums/lofiversion/i...hp/t196609.html WOWee its sorted there gone (for now) ... All I did was change the /tmp to tmp in the admin/configuration sessions section and the warnings all go ....wonderful result. Thank you very much for help Lola All the best G
Recommended Posts
Archived
This topic is now archived and is closed to further replies.