Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Form - Working but error code??

  1. #1

    Default Form - Working but error code??

    Hi, I'm new to the forum. I have been doing computer for a while but am recently just now starting to do a few websites.

    One of the sites that I am working on has a Form that I am trying to get completely functional, but seem to be running into issues. As I am new, please help if you can.

    Site:
    http://www.debtfreestudents.com/html/register.html

    Upon completion of the form it is sending an email with submitted data, but it is not sending the selection box data labeled "education level".

    Upon submission it give me:

    An error occured. Please contact the site administrator.

    Error code: 500


    Any help would be greatly appreciated

  2. #2
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,529

    Default

    Change your form "name" from education level to education_level or educationLevel or education. You cannot put spaces in form names. You can have the text on the page say education level but the actual form field "name" (the part that the server processes) cannot contain spaces
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

  3. #3

    Default

    I changed the form/field and still receive an email. Now it is showing all of the input data but I am still receiving a "error code 500"

  4. #4
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,529

    Default

    Are you using the Formshandler component or are you using some other method of processing your form?
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

  5. #5

    Default

    I created a Form Table on the page and have been just manually settings the properties underthe Forms Edit Field Properties.

    Additionally I have a page excluded from navigation with a Forms Handler Manager - but this was created after I had already created the Form table (not necessarily using Form Handler Component)

  6. #6
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,529

    Default

    The error is being thrown because there is not a CSV file that the form processing script is looking for.

    If you used the formshandler component to create the form and processing script there is a database wizard within the component that will create the csv file and write the proper link to it within the processing script.

    Here is a tutorial on how to run the wizard http://www.gotfusion.com/tutorials/tut.cfm?itemID=4072

    If you are not using the formshandler component you will need to find where the processing script is looking for the CSV file and put one up for it to find to get rid of the 500 error.
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

  7. #7

    Default

    I guess that is where I am lost.

    I was trying to integrate it with a MySQL database I have with the website hosting company.

    what should I be putting for :

    CSV File Path
    File Upoad Folder

  8. #8
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,529

    Default

    Yep, That's where your problem is.

    MySQL is a stand alone database.

    CSV means (Comma Separated Values). This is a flat text file NOT a database in the same sense of meaning as MySQL, MS SQL Server, Oracle, etc...

    Depending on what you are trying to do, you may need to code your own processing. Either way it is beyond the scope of this user to user forum unless someone wants to take on a project and from what you are saying this will "morph" into a full blow database "project"

    You might want to outline your requirements.
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

  9. #9

    Default

    no, i'm not looking to build a database or anything of the sort. I just want to have the form functional! Its been sending me the data - just not storing it some file - which is actually fine for me. The only thing that bugs me is the error message pops up instead of redirecting to the "successful URL"

    Its entirely possible that the MySQL server associated with my host company is indeed a stand-alone but I am so unfamiliar with databases and this end of websites that its a learning experience for me so far. I'm enjoying it, but also getting frustrated with it.

    If I create a *.CSV file and include it with the assets of the web page would that work? Just direct the form to the file?

  10. #10
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,529

    Default

    Have you set the folder and file (the csv one) to 777 (read / write / execute)?

    This is what the error is in reference to, file/folder permissions.

    A 500 error is a server side error. It does not have anything to do with NetObjects Fusion.

    You might be able to contact your web host and ask them to help you out on this one.
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •