Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: No File Uploaded error message in admin product detail page


basicwebdesign

Recommended Posts

Posted

Hello folks

 

I am trying to get to the bottom of a pesky little error message that shows up only in the admin area of our OSC install, and only on the view product details page. (It appears in a modified way when we are adding a new image as well).

 

I think I actually know why it's showing up, but I can't figure out how to stop it...

 

So, here's the error message:

http://grab.by/606q

 

Two instances of the same message: Warning: No file uploaded.

 

Then, when we create a new product and DO upload an image, it works, and we get this message:

http://grab.by/606z

 

First line says Success: File uploaded successfully.

Second line says Warning: No file uploaded.

 

So, on the product info page (where you create a new product for the catalog) there are two file upload fields. One for image, one for video. I believe THAT could be why the two error messages are there. What doesn't make sense is why that message is being shown when we simply view the product detail page (by clicking the blue triangle next to the selected product under the menu heading "Action" in any given category list).

 

Anyone know what might be causing this? Why is the upload.php file being called? Why is it looking for uploads on that particular instance? (There must be some "null" setting it's not picking up...)

 

Thanks for your help,

Greg Campbell

Basic Web Design & Graphics

Posted

That is typical.. Not really an error, just warning you that you did not add a file that time..

 

So basically every time you open a product to edit it, even if there already is an image attached tot hat product, if you don't upload a new image every time you will get that error.. You ignore them unless you really are trying to upload a file..

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted

That is typical.. Not really an error, just warning you that you did not add a file that time..

 

So basically every time you open a product to edit it, even if there already is an image attached tot hat product, if you don't upload a new image every time you will get that error.. You ignore them unless you really are trying to upload a file..

 

 

Wow, that's crazy. That's supposed to happen? Interesting. Seems there would be some sort of default override, where those messages would not be triggered unless the user was actually attempting to upload a file.

 

Fascinating.

 

Thanks for the answer! Guess I'll just live with it as is. :)

Archived

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

×
×
  • Create New...