Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warnings at the top of my Screen..........?


tty2k7

Recommended Posts

I just installed osCommerce for the second time, the first time I simply followed the directions in the Knowldege base and everything was fine, but I was having other problems so I deleted it and decided today to download and install it again, but every thing was different and know when I go to my catalog, or admin. area I get these warnings at the top of my page, and I cant access the admin area

 

Administration Warnings

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/usr/share/pear/:/usr/local/apache2/:/misc/31/000/138/367/2/) in /misc/31/000/138/367/2/user/web/winkelmart.com/catalog/admin/includes/functions/sessions.php on line 161

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /misc/31/000/138/367/2/user/web/winkelmart.com/catalog/admin/includes/functions/sessions.php:161) in /misc/31/000/138/367/2/user/web/winkelmart.com/catalog/admin/includes/functions/sessions.php on line 97

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /misc/31/000/138/367/2/user/web/winkelmart.com/catalog/admin/includes/functions/sessions.php:161) in /misc/31/000/138/367/2/user/web/winkelmart.com/catalog/admin/includes/functions/sessions.php on line 97

 

Warning: Cannot modify header information - headers already sent by (output started at /misc/31/000/138/367/2/user/web/winkelmart.com/catalog/admin/includes/functions/sessions.php:161) in /misc/31/000/138/367/2/user/web/winkelmart.com/catalog/admin/includes/functions/general.php on line 22

 

Catalog Warnings

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/usr/share/pear/:/usr/local/apache2/:/misc/31/000/138/367/2/) in /misc/31/000/138/367/2/user/web/winkelmart.com/catalog/includes/functions/sessions.php on line 162

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /misc/31/000/138/367/2/user/web/winkelmart.com/catalog/includes/functions/sessions.php:162) in /misc/31/000/138/367/2/user/web/winkelmart.com/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 /misc/31/000/138/367/2/user/web/winkelmart.com/catalog/includes/functions/sessions.php:162) in /misc/31/000/138/367/2/user/web/winkelmart.com/catalog/includes/functions/sessions.php on line 97

Link to comment
Share on other sites

open_basedir restriction in effect

 

ask Your hosting company as there are some security setting leading to this.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

I have also just installed oscommerce and i have got these same "session" error messages as mentioned above. Does anyone know what might be causing these?

The shop is installed on a webserver hosted by my ISP so i have not got any admin rihgts or such. But im guessing that shouldnt be the source of these error messages? Or could it be something with user permissions for some file? <_<

Link to comment
Share on other sites

In catalog/includes/configure.php see that you are using mysql to store sessions.

 

  define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

If you already have that setting then your host is running in safe mode and that requires a few other changes.

Link to comment
Share on other sites

In catalog/includes/configure.php see that you are using mysql to store sessions.

 

  define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

If you already have that setting then your host is running in safe mode and that requires a few other changes.

 

 

I am quite sure i checked this and it was set to 'mysql', but i will doubble check it.

What do you mean with running in safe mode? And what would these changes be? Is this something i should contact my hosting provider about?

 

Thank you!

Link to comment
Share on other sites

Check your configure.php files first. If that does not fix it then your host is running in safe mode and you will have to make changes to your site as I do not think they will change their server setup for your store.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...