Menu

Problems processing form

Help
Anonymous
2002-10-18
2002-10-19
  • Anonymous

    Anonymous - 2002-10-18

    Hi I just created a form and attempted to send some info to be logged into a MySQL database.

    I get the following error:

    Warning: Division by zero in /home/digitale/public_html/phpform/forms/process.php on line 4
    The following errors occured while processing your form input.
    You did not enter one or more of the required fields. Please go back and try again.

    Steph

     
    • Anonymous

      Anonymous - 2002-10-18

      Im using the latest version 1.0.4

      Steph

       
    • Marie Alline

      Marie Alline - 2002-10-18

      I noticed that you have to put something in the fields even if you aren't going to use that field. Mine doesn't work either though.

      Marie Alline

       
    • Musawir Ali

      Musawir Ali - 2002-10-19

      If you mark a field as "required", you _need_ to fill that out or the form processor will give an error saying that all the fields weren't filled out. Now depending on your php.ini configuration, it must give some extra warnings. You can turn those _extra warnings_ off in your php.ini file.
      Having said that, I don't think there is any place in the code that should trigger a division by zero error. Please try your exact input on the demo site at: http://phpformgen.sourceforge.net/phpform . For MySQL DB info, use the following:
      hostname: mysql.sourceforge.net
      username: phpformgen
      password: (blank, leave this field empty)
      db name: phpformgen

      Use an "extraordinary" table name because it might be taken since a lot of other users try their stuff on the demo site and create test database tables.
      Let me know if this works. If not, i'll investigate into this and fix it up for v2.0 . BTW, only a few more days to v2.0 release! it has a bunch of extra features such as file upload, admin portal utility, etc.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.