Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help me with a fail


sunemadsen

Recommended Posts

Hello.

 

I have a little problem with my website: sumaweb.dk / web / catalog.

This, in the catalog:

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (c:/www/sumaweb.dk/www/) in C:\www\sumaweb.dk\www\webshop\catalog\includes\functions\sessions.php on line 169

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\www\sumaweb.dk\www\webshop\catalog\includes\functions\sessions.php:169) in C:\www\sumaweb.dk\www\webshop\catalog\includes\functions\sessions.php on line 102

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\www\sumaweb.dk\www\webshop\catalog\includes\functions\sessions.php:169) in C:\www\sumaweb.dk\www\webshop\catalog\includes\functions\sessions.php on line 102

Warning: I am able to write to the configuration file: C:/www/sumaweb.dk/www/webshop/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

and this is the admin:

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (c:/www/sumaweb.dk/www/) in C:\www\sumaweb.dk\www\webshop\catalog\admin\includes\functions\sessions.php on line 165

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\www\sumaweb.dk\www\webshop\catalog\admin\includes\functions\sessions.php:165) in C:\www\sumaweb.dk\www\webshop\catalog\admin\includes\functions\sessions.php on line 102

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\www\sumaweb.dk\www\webshop\catalog\admin\includes\functions\sessions.php:165) in C:\www\sumaweb.dk\www\webshop\catalog\admin\includes\functions\sessions.php on line 102

 

Warning: Cannot modify header information - headers already sent by (output started at C:\www\sumaweb.dk\www\webshop\catalog\admin\includes\functions\sessions.php:165) in C:\www\sumaweb.dk\www\webshop\catalog\admin\includes\functions\general.php on line 22

 

 

I do not know what the error is, but I hope I can help me.

 

Regards

Sune Madsen

Denmark

Link to comment
Share on other sites

During the install, OSC creates a /tmp folder. For some reason, this folder is not being found in the path.

 

I would suggest creating the /tmp folder in the c:/www/sumaweb.dk/www so it looks like this c:/www/sumaweb.dk/www/tmp

 

Also, be sure to change the attributes so it is read/writable. I think that should correct the problem.

 

 

 

Chris

Link to comment
Share on other sites

Session Save Path and Safe Mode

-------------------------------

The error is a by-product of using PHP in Safe Mode.

To get around the problem go to your osCommerce Admin Panel -->

Configuration --> Sessions and set Session Save Path to just tmp

with no forward slash before or after tmp. You get this error even if you

have elected to store sessions in the database.

 

If the error prevents you from accessing your admin panel then

access the database via phpMyAdmin, go to the 'configuration' table,

find the Session Save Directory entry (there are several pages of

entries for this table), open it for editing and change /tmp to

just tmp with no slash before (or after) it.

 

Vger

Link to comment
Share on other sites

Ok, I would like to remove my previous reply. :lol: as Vger has MUCH more experience than I do and his reply is more than likely the correct response. :blush:

 

 

 

Chris

Link to comment
Share on other sites

Ok, I would like to remove my previous reply. :lol: as Vger has MUCH more experience than I do and his reply is more than likely the correct response. :blush:

 

 

 

Chris

Vger is always right and and HER reply is the correct response.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...