Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

wrong directory:admin/categories.php and admin/cache.php


Guest

Recommended Posts

I've got two warnings.

When I first update product.

 

"Warning: open_basedir restriction in effect. File is in wrong directory in xxxx/httpdocs/online/admin/categories.php on line 498"

 

It wasn't uploaded new image.

there is permission 777 of image cirectory.

 

How can I fix on line 498?

 

and When I checked cache control.

"Warning: open_basedir restriction in effect. File is in wrong directory in /xxxxxx/httpdocs/online/admin/cache.php on line 23".

"Error: Cache directory does not exist. Please set this in configure.php."

 

How can I set it in configure.php and change it on line 23?

 

anyone fixed these problem? Please help me :(

Link to comment
Share on other sites

Try doing a search for *open_basedir restriction* (with the asterisks) and click the "search using all terms".

 

I will bet you find an answer. :D

Link to comment
Share on other sites

It the ole php safe mode. Send this part of the error to your isp.

 

"Warning: open_basedir restriction in effect."

 

Then create a /tmp/ dir in your catalog root. Then chmod 777 on it. Your isp needs to change your open_basedir path to point to that /tmp/ dir. This will fix the problem. If the ISP won't fix it, then PM me and I'll tell you ways around the error. But it will be more work for you to set up your shop.

Steve

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...