Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unexpect errors on top of page


line1967

Recommended Posts

Hi.

I have not been any good at updating my site, but went in to have a look today. On top of first page I got the following messages:

"Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/usr/local/bin/:/home/sites/kreativassistanse.no/:/usr/home/sites/kreativassistanse.no/:/tmp/:/usr/local/share/pear/:/usr/local/lib/php/:/home/sites/tmp/:/home/sites/home/siteadmin/:/home/sites/home/webmail/) in /home/sites/kreativassistanse.no/www/catalog/includes/functions/sessions.php on line 162

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/sites/kreativassistanse.no/www/catalog/includes/functions/sessions.php:162) in /home/sites/kreativassistanse.no/www/catalog/includes/functions/sessions.php on line 97"

 

I have not done any work on this site for a few months so I have no idea why this appeared. Anybody with good suggestion as to what to do? I am not especially tecnically oriented... So keep that in mind when answering - keep it simple... :blush:

Link to comment
Share on other sites

Hiya

Run this in your phpmyadmin

UPDATE configuration SET configuration_value = 'tmp' WHERE configuration_key='SESSION_WRITE_DIRECTORY'

 

Nic

 

Thank you very much for the prompt answer! I will try to "translate" to English and see if I understand... I have to go to my ISP'n provider, isn't that where the phpadmin usually is? And then I have go to configuration ( somewhere in there :blush: ) and change a value for configuration to tmp where...sorry that's as far as I get. Feeling like a moron here...

Link to comment
Share on other sites

Thank you very much for the prompt answer! I will try to "translate" to English and see if I understand... I have to go to my ISP'n provider, isn't that where the phpadmin usually is? And then I have go to configuration ( somewhere in there :blush: ) and change a value for configuration to tmp where...sorry that's as far as I get. Feeling like a moron here...

 

 

Use the file i added below, upload to your server where ever the store is and then call it in the web browser it will do this for you

Delete the file after

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...