Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Upload files


Dragos

Recommended Posts

Posted

Hi,

 

I switched from IIS6, PHP4, mySQL 4 (where everything worked fine) to IIS7, PHP5, mySQL 5 and now I can not upload any file.

First I noticed it in EasyPopulate (2.76 or 2.76d) when uploading the file to insert. I pressed the Browse button and select the file. Then I pressed Insert into db button. Nothing happend (just a flash of the screen).

Then I noticed that when I go to a edit category and choose a image file after I press Browse button and I try to save the modifications I get "Warning: no file uploaded" and "Image does not exist".

My opinion is that there is a difference between PHP4 and PHP5 in dealing with uploading files.

 

Can anybody tell me what I should change and were in order to fix that.

 

Dragos

Posted

After a lot of work I discovered that the problem was generated by the upload tmp dir.

Because of Vista the PHP did not have access to the temp file.

I defined in php.ini the upload_tmp_dir and everything was OK.

Archived

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

×
×
  • Create New...