Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSC and IIS - All working, except file uploading


Guest

Recommended Posts

OK, I've done all the searches I can, and been through some ideas with my host, but running OSC on a IIS server is nearly working, except the file uploading fails, based on permissions.

 

We've checked the read/write permissions on the directories (we've actually got full permissions set on all directories at the moment!), we've checked the "file_uploads" value in PHP is set ON, the PHP temporary directory is accessible by the site, and now we've run out of ideas. I've done a full search on the forum, I know one guy wrote up a document about his experiences on IIS, but his website won't register me as a user, so I can't get to the document !!

 

Any ideas ? Latest version of OSC, as of 1 March 2003, btw.

Link to comment
Share on other sites

Make sure IUSR_Machine Name has read write on the uploadtemp dir in the PHP directory ...

 

hey could you do me a favor setup a test.zip file around 40 megs and try to download it from the store I am having issuse with big downloads ...

Link to comment
Share on other sites

Cheers guys, couple of things to check there...

 

Overdog, I'll reply on here once I've done as you've asked, currently got downloading turned off on the shop.

Link to comment
Share on other sites

OK, tried both options.

 

PHP Safe Mode is OFF (which I assume is OK).

No uploadtemp directory specified, but the site does have full permissions on the temporary directory on the server, so I'm assuming it's happy to access this, as per PHP defaults.

 

One thing to note : both a "move_uploaded_file" to the server fails, but also a "fopen" onto a PHP file, such as when writing out configure.php during the install, fail. During install, I had to manually edit and re-upload the configure.php files to my settings (via DreamWeaver MX).

 

Still no idea why it's failing. :(

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...