Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error in admin with uploading images - not just a permission thing


Guest

Recommended Posts

Hiya,

 

I've got a client who's requested their /admin/ gets renamed to something more secure - so I put all the admin stuff in a new directory. And then tested it, and I got an error when adding a product image.

 

I then went into the old admin and got the same error - when this was fine before.

 

The error is:

 

Warning: move_uploaded_file(c://etc........images/belle.jpg): failed to open stream: Permission denied in C:\etc......\admin\includes\classes\upload.php on line 86

 

Warning: move_uploaded_file(): Unable to move 'C:\WINDOWS\Temp\php9A5B.tmp' to 'c:etc.....images/belle.jpg' in C:etc.....\admin\includes\classes\upload.php on line 86

 

This comes up when adding a product and previewing it before saving it/confirming it.

 

Any ideas?!

 

Thanks!

 

Lisa x

Link to comment
Share on other sites

I guess you did redefine the admin directory correctly in both the configure.php files.

 

Yeah - well - in both admin configure files... looked in includes/configure and didn't see anything relating to admin, so just updated admin/includes/configure.

 

Lx

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...