Dreamweaver Posted January 15, 2005 Posted January 15, 2005 Hi, does anyone know what this Fatal Error means or better still, what's causing it? It's received when someone goes to the Checkout Page on my shop. Fatal error: Cannot instantiate non-existent class: table in /home/.sites/145/site210/web/catalog/includes/classes/shipping.php on line 39 Any help would be gratefully received especially if you can tell me the magic cure for it. Cheers.
Guest Posted January 15, 2005 Posted January 15, 2005 Hi,does anyone know what this Fatal Error means or better still, what's causing it? It's received when someone goes to the Checkout Page on my shop. Fatal error: Cannot instantiate non-existent class: table in /home/.sites/145/site210/web/catalog/includes/classes/shipping.php on line 39 Any help would be gratefully received especially if you can tell me the magic cure for it. Cheers. <{POST_SNAPBACK}> Show us line 39.
Dreamweaver Posted January 15, 2005 Author Posted January 15, 2005 Show us line 39. <{POST_SNAPBACK}> Line 39 reads: $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class']; Does that help at al? Cheers
Dreamweaver Posted January 15, 2005 Author Posted January 15, 2005 what contribution have you just added? <{POST_SNAPBACK}> Hi, I added Table rate in the shipping module as the last thing. I just tried to remove it and I now get this error and am unable to remove it. Fatal error: Cannot instantiate non-existent class: table in /home/.sites/145/site210/web/catalog/stimadmin/modules.php on line 57 It's going from bad to worse !!
Dreamweaver Posted January 15, 2005 Author Posted January 15, 2005 Hi, I added Table rate in the shipping module as the last thing. I just tried to remove it and I now get this error and am unable to remove it. Fatal error: Cannot instantiate non-existent class: table in /home/.sites/145/site210/web/catalog/stimadmin/modules.php on line 57 It's going from bad to worse !! <{POST_SNAPBACK}> Lines 55 - 62 read as below: if (file_exists($module_directory . $class . $file_extension)) { include($module_directory . $class . $file_extension); $module = new $class; if ($action == 'install') { $module->install(); } elseif ($action == 'remove') { $module->remove(); } Any help?
lorax Posted January 15, 2005 Posted January 15, 2005 Don't panic! At this point you have two choices. Fix the uninstall or finish the install and debug. Which direction do you want to head. Apathy is a dominant gene - mutate.
Dreamweaver Posted January 15, 2005 Author Posted January 15, 2005 Don't panic! At this point you have two choices. Fix the uninstall or finish the install and debug. Which direction do you want to head. <{POST_SNAPBACK}> I'm not really sure of the best way to proceed. My working shop is now no longer working because people can't access the checkout. Is there any way that the checkout side can be re-installed, even in its basic state that will allow me to reconfigure it? Cheers
lorax Posted January 15, 2005 Posted January 15, 2005 Yes. If you don't have a saved copy of the initial install you can simply download it again. Do this but don't edit anything else yet. Can you determine which files you've edited since the last time it was working? Apathy is a dominant gene - mutate.
Dreamweaver Posted January 15, 2005 Author Posted January 15, 2005 Yes. If you don't have a saved copy of the initial install you can simply download it again. Do this but don't edit anything else yet. Can you determine which files you've edited since the last time it was working? <{POST_SNAPBACK}> Cheers for getting back to me. I can't think of any files I have modified since it was working. Everything seems to centre around the shipping side of things. What I don't want to lose is the personalised side of things, logos, buttons, headings etc. Otherwise, if you know which files from the originals that can safely replace mine I'd be chuffed to bits. Thanks again.
lorax Posted January 15, 2005 Posted January 15, 2005 Well you must have edited some files or it wouldn't be broken! Do this, you said it was working before you installed the last contribution? Make a list of those files that the contribution edited (not the ones it added). Get yourself a file comparison tool like CompareIt! and then open up the unmodified version of the file and the contribution's version of the file (the one that your store currently uses). In this manner you should be able to see all of the changes that were made and locate any typos or missing items. Apathy is a dominant gene - mutate.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.