Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot instantiate non-existent class: upload


BaZz

Recommended Posts

please post the exact error and a link to the site

 

Fatal error: Cannot instantiate non-existent class: upload in /usr/www/exodia.ca/admin/manufacturers.php on line 41

 

 

My website is http://www.eXodia.ca, the strange thing is that it adds the manufacturer, but I have the error when I do the Add thing .. Same prob for the category/product

Link to comment
Share on other sites

what modifications did you make to the site, contributions, etc, what files were changed, etc.

I deleted all the pre-installed manufacturers, products, etc, to have an empty shop.

The only thing I modified for the moment is the session cache directory.

 

It seems that the problem comes from the image (even when I put one, it doesn't seem to be uploaded), so maybe a chmod prob somewhere, I'm checking ...

Link to comment
Share on other sites

how did you delete the store products? best bet is to use the tip in tips and tricks, which will empty the database except the configuration and set the proper values for new items. it also deletes the image references

Link to comment
Share on other sites

Do you have the file admin/includes/classes/upload.php uploaded. I'm betting you don't.  ;)

root@www3(/usr/www/exodia.ca)# ls admin/includes/classes/

box.php logger.php order.php shopping_cart.php

currencies.php message_stack.php payment_module_info.php split_page_results.php

email.php mime.php phplot.php table_block.php

language.php object_info.php sessions.php upload.php

 

You lost :lol:

Link to comment
Share on other sites

  • 5 months later...
Doesn't work either, I would have been surprised if it was that, as I untar the tar.gz directly on the server.

 

 

I am having the same issue and have no updated files, I have replaced the categories.php, upload.php and still am having the issue.

 

 

This is on a test location at gow.msedesign.com/admin if you wish to see for yourself.

Link to comment
Share on other sites

  • 11 months later...

I have installed the extra images contribution and are getting a similar error. I checked, and it turned out that I do not have such a file (upload.php). Could anybody explain why I do not have this file and where can I can get this?

 

The error as follow:

 

Fatal error: Cannot instantiate non-existent class: upload in /usr/www/users/leathe/admin/products_extra_images.php on line 33

From all the things I lost, I miss my mind the most - Ozzy Ozborne

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...