Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

fatal errors


linda grubb

Recommended Posts

Posted

We have a problem with our site no one can buy off it yet the reason is when

some one selects the product goes to checkout evrything ok there however

when you pay for the product through a visa online with paypal debt/credit

when it asks you for the payment confirmation details it comes up with a

fatal error

 

Fatal error: Cannot redeclare class order_total in

/home/bestperf/public_html/includes/classes/order_total.php on line 13

 

so the whole process stops right there can you please help us or is it the

oscommerce programing also another test we had done earlier came up with the

 

"warning division by zero in /home/bestperf/public_html/includes/classes/shipping.php on line 61"

 

"warning division by zero in /home/bestperf/public_html/includes/classes/shipping.php on line 62"

 

"warning:Cannot modify header infomation-headers already sent by (output started at /home/bestperf/public_html/includes/classes/shipping.php:61)in

/home/bestperf/public_html/includes/functions/general.php on line 33

 

We are desperatly trying to get our head around all of this hopefully

we can start getting sales soon

Please help us

 

Regards Dave

Posted

Can you post which payment module you are using and whether or not you've added any contributions. Also, it might be helpful if you post the contents of includes/classes/shipping.php

Posted

atal error: Cannot redeclare class order_total in

/home/bestperf/public_html/includes/classes/order_total.php on line 13

 

In the folder that has order total class.There is another file that has been renamed but has the order total class code.

 

Also check if by chance Your language file was over written with class code.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

"warning division by zero in /home/bestperf/public_html/includes/classes/shipping.php on line 61"

 

"warning division by zero in /home/bestperf/public_html/includes/classes/shipping.php on line 62"

 

"warning:Cannot modify header infomation-headers already sent by (output started at /home/bestperf/public_html/includes/classes/shipping.php:61)in

/home/bestperf/public_html/includes/functions/general.php on line 33

shipping.php (stock osC) line 61 includes a division by SHIPPING_MAX_WEIGHT, which should be defined in the database (configuration table) as something larger than 0 (default is 50). See if for some reason it is 0. The following two errors are a consequence of this first one -- fix it, and the others will go away.

 

If you changed it to 0 so that there is no check for max weight, that's your problem. If you don't care about max weight, put in some ridiculously high number like 10000.

Posted

atal error: Cannot redeclare class order_total in

/home/bestperf/public_html/includes/classes/order_total.php on line 13

 

In the folder that has order total class.There is another file that has been renamed but has the order total class code.

 

Also check if by chance Your language file was over written with class code.

 

Satish

 

Hi Satish can you please clarify what you mean with your explanation here I am not sure I understand you and this problem is the last thing I need to fix before I go live

 

thanks in advance for your help

Archived

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

×
×
  • Create New...