Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

IMAGE UPLOAD ERROR


bs2713

Recommended Posts

Posted

I am trying to upload the item images and I get this error:

 

Warning: move_uploaded_file(): open_basedir restriction in effect. File(/home/****/public_html/catalog/images/1.jpg) is not within the allowed path(s): ('.:/tmp:/home:/usr/local/lib/php:/nfs/home:/usr/home:/usr/local/bin/') in /nfs/home/****/public_html/catalog/admin/includes/classes/upload.php on line 94

 

 

The CHMOD is set to 777 on the Images folder. I do not know what to do?

Posted

The open_basedir restriction is a PHP setting. If you own the server, you can change this easily. Check the setup instructions on the PHP website for how to do this.

 

If you are on shared hosting, you can ask your hosting service to change this. They will probably not want to, in which case you had better look for a new host.

 

Regards

Jim

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

  • 1 month later...

Archived

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

×
×
  • Create New...