chrometweaks.org

The better blog program: Moveable Type or iPage and Wordpress?

Click Here To View All Answers...


First question I got is The better blog program: Moveable Type or iPage and Wordpress? Hoping for any answer. Second question.. Just installed the osCommerce, and when I "tested" the shop, when I'm going to check out I get the following error and I have no clue what to do, please advice!!.

Would be more then happy if I got some help on this;.

Warning: Division by zero in /home2/neotoxd/public_html/shop/catalog/includes/classes/shipping.php on line 61.

Warning: Division by zero in /home2/neotoxd/public_html/shop/catalog/includes/classes/shipping.php on line 62.

Warning: Cannot modify header information - headers already sent by (output started at /home2/neotoxd/public_html/shop/catalog/includes/classes/shipping.php:61) in /home2/neotoxd/public_html/shop/catalog/includes/functions/general.php on line 29..

Comments (38)

I would like to know the answer too. Anyone here know what is the answer. I'll do some research in Google and get back to you if I find an useful answer. You should email the people at iPage as they probably can answer it..

Comment #1

What line is 61/62 - I have a modified OSC and mine don't match your error..

Caused by the line 61/62 error. You can't send HTML header information once data has been transfered. Normally not an issue but this error is messing things up..

Dylan..

Comment #2

Okey, the first problem is now solved, thnx, although the other is making me a nice headache. Although I still get the same %#" error like this:.

Warning: Division by zero in /home2/neotoxd/public_html/shop/catalog/includes/classes/shipping.php on line 58.

Warning: Division by zero in /home2/neotoxd/public_html/shop/catalog/includes/classes/shipping.php on line 59.

This post has been edited by.

Tobias.

: 17 January 2004, 17:22..

Comment #3

Shop/catalog/includes/classes/shipping.php has whitespace place your cursor after the last ?> and hit delete several times save the file and upload, this is best done offline by using an ftp program to download the file before edit as the online file manager in admin can cause problems when editing..

Comment #4

Have you ever modify the value of "Enter the Maximum Package Weight you will ship" in the.

..

The default value is "50", You also can find a sql line in the oscommerce.sql.

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Enter the Maximum Package Weight you will ship', 'SHIPPING_MAX_WEIGHT', '50', 'Carriers have a max weight limit for a single package. This is a common one for all.', '7', '3', now());.

This constant is used in shipping.php line 61.

$shipping_num_boxes = ceil($shipping_weight/SHIPPING_MAX_WEIGHT);..

Comment #5

..I don't know if the stupid way for you, but for me sometimes working well.

And that is just reupload the fresh files from the oscomerce download file..........

Catalog/includes/classes/shipping.php.

Catalog/includes/functions/general.php.

And see if this works???.

I don't know if this is true, but somehow uploading will mess up the code (rare chance)...i don't know why...even thought you set it to ascii code mode.......

This post has been edited by.

Markchiu.

: 17 January 2004, 18:11..

Comment #6

The problem is solved now, deleted everything and started over, now it works anyway =) But thanks alot everyone for your help!!!.

This post has been edited by.

Tobias.

: 17 January 2004, 18:39..

Comment #7

How do you slve I ? .

I have the same problem..

Comment #8

Hi,.

Check if you have this error setting in the top of includes/application_top.php..

// set the level of error reporting.

Error_reporting(E_ALL & ~E_NOTICE);.

TRUE or FALSE ? ( 0 / 0 ) = 0.

This post has been edited by.

User99999999.

: 05 February 2004, 03:08..

Comment #9

Just installed the osCommerce, and when I "tested" the shop, when I'm going to check out I get the following error and I have no clue what to do, please advice!!.

Would be more then happy if I got some help on this;.

Warning: Division by zero in /home2/neotoxd/public_html/shop/catalog/includes/classes/shipping.php on line 61.

Warning: Division by zero in /home2/neotoxd/public_html/shop/catalog/includes/classes/shipping.php on line 62.

Warning: Cannot modify header information - headers already sent by (output started at /home2/neotoxd/public_html/shop/catalog/includes/classes/shipping.php:61) in /home2/neotoxd/public_html/shop/catalog/includes/functions/general.php on line 29..

Comment #10

You may have modified two files, shipping.php and general.php.

Open each one up separately, then go to the bottom and remove any spaces after ?> (hit the delete key a few times)..

Comment #11


This question was taken from a support group/message board and re-posted here so others can learn from it.