Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

3 errors & and warning


Raz0r

Recommended Posts

Posted

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

Posted

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.............

Posted

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??????

Posted
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

Posted

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.

Posted

hi usernamenon is there an easier way than having to go thru each file and change the permisions? :sweating:

Posted

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.

Posted

just checking do all tick boxes eg owner, group& public have to be write ticked or just owner???

Posted

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

Posted

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 ???

Posted

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 ???

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...