Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal Error


Dreamweaver

Recommended Posts

Posted

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.

Posted
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.

Show us line 39.

Posted
what contribution have you just added?

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 !!

Posted
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 !!

 

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?

Posted

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.

Posted
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.

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

Posted

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.

Posted
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?

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.

Posted

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.

Archived

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

×
×
  • Create New...