+ Reply to Thread
Results 1 to 7 of 7

Thread: fault on the server ?

  1. #1
    Join Date
    Jun 2006
    Posts
    214

    Default fault on the server ?

    I am not sure if this is a bug but this seems like the right place to start.

    I have notice that if I get a bad image match, even when I do it intentionally I get the following message.

    HTML Code:
    Here is the full error message:Image verification string missing. This is probably a fault on the server.
    If I enter the verification correctly it accepts and does all the great things it is suppose to do. Receipt message, html mail, etc.

    I believe the only problem I am having is the message. It is not a server problem it is an error on the input. If it is a user error should it not say so rather then say there is a server error?


    I tried to find where the message came from so I could change it but I have not been able to locate it.

  2. #2
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: fault on the server ?

    Hi,

    Yes, it could be a bug....

    I'll take a look and post back later.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: fault on the server ?

    Hi,

    I just checked the code in version 7.10 of FormMail.

    The only time you'll get this error:
    Image verification string missing. This is probably a fault on the server.
    is when the session does not contain the image verification string from the verifyimg.php script. So, it is a fault on the server.

    If it's a user entry problem, then you get another message.

    However, I should probably check out what's going on with your form since I know you're an experienced FormMail user , and the test you've done is pretty clear.

    Please post or email your form URL and the URLs to formmail.php and verifyimg.php. Can you also please tell me the name of your session ($SESSION_NAME) or whether you've just left it as empty (default)?

    Also, confirm that you have the same $SESSION_NAME setting in both formmail.php and verifyimg.php.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  4. #4
    Join Date
    Jun 2006
    Posts
    214

    Default Re: fault on the server ?

    The email has been sent.

    $SESSION_NAME is default and I checked to confirm it was the same on both.

  5. #5
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: fault on the server ?

    Hi,

    I just tried your feedback form and entered the wrong value for the image.

    As expected I got this response:
    Form Error

    Please correct the errors to submit. You can use your back arrow to return to the form. The previous information submited should be there. Just fill in the missing items and submit again.
    Here is the full error message:Your entry did not match the image
    This was with Firefox 1.5.0.6 with cookies enabled.

    I then tried with IE and cookies disabled, and saw the problem you've described.

    Then again with IE and cookies enabled, and the processing was correct (like the Firefox test above).

    However, with cookies disabled I cannot submit the form even if I correctly enter the image string.

    If you check, I expect you'll find cookies are blocked in your browser.

    This means you need to follow the instructions for working around blocked cookies. This is for autoresponding, but the same principles apply for the form submission image verification feature:
    http://www.tectite.com/fmhowto/autorespond.php#cookies

    The sample image verification script includes a PHP version that works around blocked cookies:
    http://www.tectite.com/vbforums/showthread.php?t=1181

    If you don't have cookies disabled and still get this problem, I think it indicates a very interesting problem on your server or with your browser.

    Just to re-iterate:
    • with cookies disabled, I get the message you reported for a valid or invalid image verification input. This is expected.
    • with cookies enabled, I get the correct message for an invalid image verification input and a successful form submission for a valid image verification input
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  6. #6
    Join Date
    Jun 2006
    Posts
    214

    Default Re: fault on the server ?

    The switch to PHP solved the problem with the image. Now it excepts a good one and gives a mismatch message on a wrong one.

    Note: I use Firefox all the time except to check to see how something looks with IE. I was using Firefox when I experience the server problem message. Possibly something with cookies on Firefox but it is ok now. IE and Firefox work fine now.

    New problem: Since switching to PHP when using Back to return to the forum it is now blank. No data is on the form so it all needs to be entered again. That part was working fine previously. The PHP file is now feedback.php in the same location if you want to look it over.


    Item #3 Does not seem to currently apply with the new JavaScript. I could not locate the following line in the form. This is the new version for Firefox.

    PHP Code:
    document.vimg.src "verifyimg.php"

  7. #7
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: fault on the server ?

    Hi,

    Going back with the browser back button is unreliable. Sometimes it works, sometimes it doesn't.

    That's why you need to use FMBadHandler for proper error handling.

    The JS you quoted is wrong (old IE-only code). The current download for "sampleimgverify.php" has the correct code.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. sess_c1a4fec7c5... on the server?
    By chrbar in forum Community Support
    Replies: 0
    Last Post: 21-Jan-2008, 01:36 AM
  2. New Server
    By sectioni in forum Community Support
    Replies: 4
    Last Post: 05-Jan-2008, 10:24 PM
  3. bluehost as a server
    By chartsmalm in forum Community Support
    Replies: 0
    Last Post: 01-Aug-2007, 01:37 PM
  4. server error...?
    By kroggy in forum FormMail Subscription Support
    Replies: 1
    Last Post: 17-Nov-2005, 01:54 AM
  5. New Server
    By sectioni in forum FormMail Subscription Support
    Replies: 9
    Last Post: 21-Mar-2005, 03:07 AM

Bookmarks

Posting Permissions

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