Jump to content

Placing new order - Warning: Division by zero


eger

Recommended Posts

I got this error when placing a new order for a client through the admin area:

 

Warning: Division by zero in /home/fihn/domains/myfolder.net/private_html/secure/includes/orderfunctions.php on line 0

Warning: Cannot modify header information - headers already sent by (output started at /home/myfolder/domains/myfolder.net/private_html/secure/includes/orderfunctions.php:0) in /home/myfolder/domains/myfolder.net/private_html/secure/myfolder-admin/ordersadd.php on line 0

 

It seems like the order was placed. But it is concerning that I didn't get any confirmation page to tell me if the domain is registered or not. Hope this bug might be fixed in next version.

 

I am on v4.2.1

Link to comment
Share on other sites

I would say that you are also running php V5.3.x which is alot more strict and I have found that it tends to throw quite a few more warning messages.

I will actually be staying back on php V5.2.x for a while yet until the latest version becomes more stable.

 

You probably will have $display_errors=true; in your configuration.php file so to stop the errors from showing either set it to false or comment that line. You could also try putting your php version back to 5.2.x

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated