Error on form submission - using pre made form

Posted on 2007-10-02
Last Modified: 2012-06-27
I am trying to get my form working. I am using my tech tite form, pre made.

I have tried looking through the docs, but thought I would give the PHP experts here a chance to see if they find the problem.


I am getting:

An error occurred while processing the form .

Our staff have been alerted to the error .
We apologize for any inconvenience this error may have caused.

Here is the code:

Any suggestions on what I can do? You can fill out the form but you only need the fields email address and first name. You dont need to fill out the whole thing.

Thanks so much,


    LVL 34

    Accepted Solution

    The error message is not very forthcoming. You need to add some extra code to give you more of an idea of what is going on.

    Round about line 4813, do this


        $bad_url = $SPECIAL_VALUES["bad_url"];
        $bad_template = $SPECIAL_VALUES["bad_template"];
        $this_form = $SPECIAL_VALUES["this_form"];
    echo "<pre>";print_r($SPECIAL_VALUES);echo"</pre>";
    echo "<pre>";print_r($aSessionVars);echo"</pre>";
    echo "<h1>Error code '$error_code'<h1>";
    echo "<h1>Message '$error_mesg'<h1>";
        if (!empty($bad_url))
              $a_params = array();


    Aand see if that gives you some help.
    LVL 1

    Author Comment

    It was a small typo on my part, thanks for your help!


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
    I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
    The viewer will learn how to dynamically set the form action using jQuery.
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now