Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image upload error


Knestis

Recommended Posts

In the admin pages, when I try to add a new Category or Product, the image doesn't upload and I get the following error:

 

Warning: open_basedir restriction in effect. File is in wrong directory in /home/.bullseye/evaluand/evaluand.com/undergroundvw/catalog/admin/includes/classes/upload.php on line 94

 

Line 94 (and 95) are:

 

if (move_uploaded_file($this->file['tmp_name'], $this->destination . $this->filename)) {

chmod($this->destination . $this->filename, $this->permissions);

 

Suggestions? I am a php neophyte so be gentle. Thanks!

 

Kirk

Link to comment
Share on other sites

  • 4 months later...
  • 5 weeks later...
  • 5 months later...

I have the same problem with uploading images. The image folder and files are set to permission 777. I've tried uploading the images in Netscape and IE. I've uploaded the images straight to the images folder via FTP and just typed the file name of the image in the browse box on the product edit page but I"ve gotten nowhere.

 

I have a feeling that there is something wrong with the file that handles uploads or database handling functions.

 

Someone, please help!

 

Bryan

Link to comment
Share on other sites

Hi guys,

I had a problem with uploading images, they seemed to disappear - no errors. The problem I had was the path to upload images to was wrong.

 

I checked then changed the path, and the images upload properly now.

 

Alan

Link to comment
Share on other sites

Alan, can you please expand on that response for us newbies?

Also, If anyone else has located another thread, please point it out, I find these forums to be almost impossible to navigate.

 

Thanks!

:-j.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...