Guest Posted January 14, 2004 Share Posted January 14, 2004 Hello, I've just added the Family Products MS2 contribution to my site and now have two problems with my admin. PROBLEM 1 If I try to enter new categories or edit old ones I get the following error message Fatal error: Cannot instantiate non-existent class: upload in /home/rainbow/public_html/osCommerce/admin/categories.php on line 84 The code concerned is: } if ($categories_image = new upload('categories_image', DIR_FS_CATALOG_IMAGES)) { tep_db_query("update " . TABLE_CATEGORIES . " set categories_image = '" . tep_db_input($categories_image->filename) . "' where categories_id = '" . (int)$categories_id . "'"); } PROBLEM 2 I cannot enter new items, under any of my categories or sub categories. If I click on the New Item button all I get is a screen with just the osCommerce header and the menu box on the left hand side. The rest of the screen is completely blank The problem with the images in categories might also apply here, but I can't enter a new item to find out !! Can anybody help? Link to comment Share on other sites More sharing options...
Dudis Posted March 15, 2004 Share Posted March 15, 2004 Using MS2 too. I have the same problem, but when i try to add a new category, the error is: Fatal error: Cannot instantiate non-existent class: upload in /htdocs/home/oxydesign/www/loja/admin/categories.php on line 80 And when i try to add a product, the error is: Fatal error: Cannot instantiate non-existent class: upload in /htdocs/home/oxydesign/www/loja/admin/categories.php on line 314 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.