Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem do add a new image product


rabbitbr

Recommended Posts

Posted

Hi all

 

when I try to add a new product with an imagem, the system show me this error:

 

Warning: move_uploaded_file(): open_basedir restriction in effect. File(/home/passnet/public_html/shop/images/p_800.jpg) is not within the allowed path(s): (/home/restricted/home/passnet) in /home/restricted/home/passnet/public_html/shop/admin/includes/classes/upload.php on line 94

 

Anybody can help me?

 

Regards,

Roger

Posted

It appears that your hosting service has an open_basedir restriction set. This is a security measure designed to prevent the code from opening files that would not be safe. Apparently the image file that you are trying to work with is outside the safe path. You need to ask your hosting service to change the settings so that this will work for you.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

  • 1 month later...
Posted

I am getting the same error as well... which prevents me from adding product images to the site...

 

IF the hosting company won't or can't change the settings... does anybody have a work-around solution????

 

I could manually upload the images, but I'm not sure how to enter that info into the system...

 

Thanks for any help in advance!

 

-matt

Archived

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

×
×
  • Create New...