Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

getting a PHP warning


rotemh

Recommended Posts

Hi,

 

I just installed oscommerce. When I access my website I get on the top of the page the following message:

 

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/.sites/942/site935/web:/home/.sites/942/site935/tmp:/usr/share/pear) in /home/.sites/942/site935/web/includes/functions/sessions.php on line 169

 

Can anyone advise me how I can solve this?

 

Thanks,

Rotem

Link to comment
Share on other sites

Hi,

 

I just installed oscommerce. When I access my website I get on the top of the page the following message:

 

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/.sites/942/site935/web:/home/.sites/942/site935/tmp:/usr/share/pear) in /home/.sites/942/site935/web/includes/functions/sessions.php on line 169

 

Can anyone advise me how I can solve this?

 

Thanks,

Rotem

 

if you google

 

site:www.oscommerce.com/forums open_basedir restriction

 

That should help you

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

if you google

 

site:www.oscommerce.com/forums open_basedir restriction

 

That should help you

 

G

 

 

Thanks G.

 

I've found that the solution is to edit the Session Directory under configuration/session to point to my home directory and to create there an empty directory - tmp.

 

Rotem

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...