Urbluffingme Posted November 17, 2003 Posted November 17, 2003 Hi, I am running php, mysql, and apache on my home comp. I am learning the ropes of oscommerce, before I upload it my host. I am getting these errors at the top of the page when I load my oscommerce site. Warning: session_start(): open(/tmp\sess_cedfaba4469ea32671bab5488fae9597, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache Group\Apache2\htdocs\oscommerce\includes\functions\sessions.php on line 67 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\oscommerce\includes\functions\sessions.php:67) in C:\Program Files\Apache Group\Apache2\htdocs\oscommerce\includes\functions\sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Program Files\Apache Group\Apache2\htdocs\oscommerce\includes\functions\sessions.php:67) in C:\Program Files\Apache Group\Apache2\htdocs\oscommerce\includes\functions\sessions.php on line 67 Can someone steer me in the right direction to rectify this? I am going to read up on php sessions immediately after I post this message. Thank you in advance.
jrwrestling Posted November 17, 2003 Posted November 17, 2003 check your config files, something has to be off. check your / \ 's
Urbluffingme Posted November 17, 2003 Author Posted November 17, 2003 thanks I got it. I had to actually create the directory named tmp and update the path to it. I get this error also: Warning: I am able to write to the configuration file: C:/Program Files/Apache Group/Apache2/htdocs/oscommerce/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. I added a new user to mysql with just select and insert privelages on catalog, but it didn't help. Any suggestions?
jrwrestling Posted November 18, 2003 Posted November 18, 2003 change the file in includes/ titled configure.php to not allow outside access with a CHMod of 666 or the like.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.