Cathe Friedrich Forums

Want our Forums on the go?
Get Cathe’s forum app for the iPhone, iPad or Android device.

 

Go Back   The Cathe Nation > Support Forums > Workout Manager & Website Bugs

Workout Manager & Website Bugs Report any bugs you find with the beta release of our website and Workout Manager software here.

Cannot add custom food

This is a discussion on Cannot add custom food within the Workout Manager & Website Bugs forums, part of the Support Forums category;; Hi Chris, I am trying to add a protein drink to the custom food page. I am getting a warning ...

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-04-2008, 02:06 PM
SunKissed's Avatar
Catheite
 
Join Date: Nov 2007
Posts: 129
Send a message via ICQ to SunKissed
Default Cannot add custom food

Hi Chris, I am trying to add a protein drink to the custom food page. I am getting a warning like this: Warning: Division by zero in /usr/local/apache/htdocs/microwavescorp/nutrition/members/custom_food.inc on line 98

I have not had a problem before today. Do you plan to put more food into the database? The foods you have seem too broad. Thanks for your time!!!

Bridget Gates
Reply With Quote
  #2  
Old 08-06-2008, 04:46 PM
SNM Videos's Avatar
Administrator
 
Join Date: Dec 1999
Posts: 5,438
Default

Quote:
Originally Posted by SunKissed View Post
Hi Chris, I am trying to add a protein drink to the custom food page. I am getting a warning like this: Warning: Division by zero in /usr/local/apache/htdocs/microwavescorp/nutrition/members/custom_food.inc on line 98

I have not had a problem before today. Do you plan to put more food into the database? The foods you have seem too broad. Thanks for your time!!!

Bridget Gates
We're researching this and will get back to you as soon as we have an answer or a solution to your problem.
Reply With Quote
  #3  
Old 08-11-2008, 10:35 PM
SNM Videos's Avatar
Administrator
 
Join Date: Dec 1999
Posts: 5,438
Default Divide by Zero error

Quote:
Originally Posted by SunKissed View Post
Hi Chris, I am trying to add a protein drink to the custom food page. I am getting a warning like this: Warning: Division by zero in /usr/local/apache/htdocs/microwavescorp/nutrition/members/custom_food.inc on line 98

I have not had a problem before today. Do you plan to put more food into the database? The foods you have seem too broad. Thanks for your time!!!

Bridget Gates
The error you're having is caused by leaving a required field blank. Usually this caused by leaving one of the fields in "Nutrition Facts" blank. These must be filled in just like you see the example on the right.


Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:37 AM.


Copyright ©1997-2011 Cathe dot Com