Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

move_uploaded_file


compumol

Recommended Posts

Posted

I'm really desperate. I've been searching different forums, try to find an answer about the following:

 

I have installed a contrib called "Categories and Products Images Folder Tree".

 

When I create a new Category, everething is going fine. But when I try to create a new product, after filling the neccesary fields and press the button "preview", i receive the error:

 

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

Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 185163 is not allowed to access /home/resellers/842264/842264/dedaver.nl/www/images/test owned by uid 10000 in /home/resellers/842264/842264/dedaver.nl/www/admin/includes/classes/upload.php on line 94

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

 

And in the pink message beam:

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

Error: File upload not saved.

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

 

By adding a "@" in front of "move_uploaded_file" in upload.php, the Warning message is gone, but the error message still stays, and the image is not moved to the folder it belongs.

 

The strange thing is, when i create a new product in an already existing catergories there is no problem at all, and the involved image is move straight to the map it belongs.

 

I know that there has been posted many questions about related topics, but i still haven't found the answer. Please is ther anyone who can help me?

 

Thanks in advance!

 

Theo :)

Posted

Go to your osCommerce admin panel --> Tools --> Server Info and see if 'file upload' is enabled. If it's not then you need to change hosts, because you need that feature to run osCommerce.

 

Vger

Posted
Go to your osCommerce admin panel --> Tools --> Server Info and see if 'file upload' is enabled. If it's not then you need to change hosts, because you need that feature to run osCommerce.

 

Vger

 

Thanks for your answer, I appreciate that!

 

I checked it all before, 'file_upload' is enabled. The strange thing is that it only happens on an new created (sub)category since the first installation. Do you have any more suggestions?

 

Theo

Archived

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

×
×
  • Create New...