kevinhasley Posted April 25, 2006 Posted April 25, 2006 Everything is running fine (so far). I installed the latest osCommerce on my windows enabled server running PHP 4.x and MySQL. Before moving my store that was hosted on a Linux box, I created a backup of the database. I then to the new server and restored the backup. Everything looks fine except when I add a new product where I try to upload an product image. I get the following error... Warning: move_uploaded_file(c:/xxxx/xxxx/xxxxx/xxxxx/catalog/images/Winter.jpg) [function.move-uploaded-file]: failed to create stream: Permission denied in c:\xxxx\xxxxx\xxxxxx\xxxxxx\catalog\admin\includes\classes\upload.php on line 94 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\WINDOWS\TEMP\phpAFD.tmp' to 'c:/xxxxx/xxxxx/xxxxx/melissahasley/catalog/images/Winter.jpg' in c:\xxxxx\xxxxx\xxxxxx\xxxxxx\catalog\admin\includes\classes\upload.php on line 94 When I installed osCommerce, it return that everything installed correctly. Am I missing something?
kgt Posted April 25, 2006 Posted April 25, 2006 OSC is installed correctly, but you need to alter permissions on the images directory to make it possible for the webserver to create new files in that directory. Contributions Discount Coupon Codes Donations
Recommended Posts
Archived
This topic is now archived and is closed to further replies.