+ Reply to Thread
Page 2 of 5 FirstFirst 1 2 3 4 ... LastLast
Results 11 to 20 of 41

Thread: Invalid "conditions" field "conditions" - not a string or array

  1. #11
    Join Date
    Feb 2006
    Posts
    28

    Default Re: Invalid "conditions" field "conditions" - not a string or array

    The sample form is giving the same error. You want to see it? Also, I striped - http://www.artesiagardens.com/htmls/test-contact.html. so there is nothing there but the form.

    So you are saying you don't know why your script will error like this?

  2. #12
    Join Date
    Dec 2003
    Posts
    3,900

    Default Re: Invalid "conditions" field "conditions" - not a string or array

    Hi,

    That's not a simple form based on our sample form. You have JavaScript in it.

    http://www.artesiagardens.com/htmls/test-contact.html is not even valid HTML.

    I just ran it thru the HTML validator at w3.org: http://validator.w3.org/check?uri=ht...t-contact.html

    I know exactly why FormMail will produce this error. It happens when the HTML form submits a field call "conditions" which does not have valid content.

    The questions are:
    • why does your form submit a field called conditions?
    • is the invalid HTML contained in your form somehow creating extra fields you're not aware of?
    • where is this field defined in the form? if it's not in the HTML then it must be in the JavaScript.
    • are there other things on your server (for example, Server Side Includes) that are injecting a field call "conditions" into your form?
    The quickest way to solve this problem is to grab our sample form.

    Check that it works OK.

    Then modify the sample form one step at a time until it looks the way you want.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #13
    Join Date
    Dec 2003
    Posts
    3,900

    Default Re: Invalid "conditions" field "conditions" - not a string or array

    Hi,

    Below is a small test script (dumpflds.php).

    Please upload it to your server and then change your HTML form to make this script the "action" of the "form" tag.

    Open the form in the browser and submit it.

    Tell me when it's ready and send me the URL for the form.

    I'll then be able to show you exactly what's going wrong (not where it's coming from though).
    Attached Files
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  4. #14
    Join Date
    Feb 2006
    Posts
    28

    Default Re: Invalid "conditions" field "conditions" - not a string or array

    The w3.org check you ran means nothing.

    I told you once, the sampleform is returning the same error, but you didn't hear it. Your sample form is: http://www.artesiagardens.com/htmls/sampleform.html
    And your support@... is DEF.

    I bet you just got the conditions error, because I did 5 min ago, and switched to your email for you to see.

    Please let me know.

    Quote Originally Posted by russellr
    Hi,

    That's not a simple form based on our sample form. You have JavaScript in it.

    http://www.artesiagardens.com/htmls/test-contact.html is not even valid HTML.

    I just ran it thru the HTML validator at w3.org: http://validator.w3.org/check?uri=ht...t-contact.html

    I know exactly why FormMail will produce this error. It happens when the HTML form submits a field call "conditions" which does not have valid content.

    The questions are:
    • why does your form submit a field called conditions?
    • is the invalid HTML contained in your form somehow creating extra fields you're not aware of?
    • where is this field defined in the form? if it's not in the HTML then it must be in the JavaScript.
    • are there other things on your server (for example, Server Side Includes) that are injecting a field call "conditions" into your form?
    The quickest way to solve this problem is to grab our sample form.

    Check that it works OK.

    Then modify the sample form one step at a time until it looks the way you want.

  5. #15
    Join Date
    Feb 2006
    Posts
    28

    Default Re: Invalid "conditions" field "conditions" - not a string or array

    Done and here is the result:

    Array( [env_report] => REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER,REMOTE_HOST [recipients] => info@artesiagardens.com [required] => email:Email,realname:Name [subject] => *** Artesia Gardens Contact *** [bad_url] => http://artesiagardens.com/htmls/t-bad.html [good_url] => http://artesiagardens.com/htmls/t-f.html [MessageType] => Complaint [Subject] => Friend [SubjectOther] => [Comments] => test [realname] => mark [email] => mark@bulmark.net [UserTel] => 310-927-0955 [ContactRequested] => ContactRequested)


    http://www.artesiagardens.com/htmls/contact.html

    Quote Originally Posted by russellr
    Hi,

    Below is a small test script (dumpflds.php).

    Please upload it to your server and then change your HTML form to make this script the "action" of the "form" tag.

    Open the form in the browser and submit it.

    Tell me when it's ready and send me the URL for the form.

    I'll then be able to show you exactly what's going wrong (not where it's coming from though).

  6. #16
    Join Date
    Feb 2006
    Posts
    28

    Default Re: Invalid "conditions" field "conditions" - not a string or array

    Ok, I see for the templates, but it so inconvinient - as I have to make template for each form. All I want to do in plain text is to be able to separate the form-fileds name and the user_input so it will look normally - column like for the people who will use the form_submit. Is there anyway we can do that in the script itself - to separate it, type of:
    REMOTE IP : $REMOTE_ADDR

    Do you undestand what I want to acomlpish?

    Please let me know,

    Thanks

    Quote Originally Posted by markalexandrov
    Ok, I will look into that, and will ask if I have questions.

    What's new w/ the conditins?

  7. #17
    Join Date
    Dec 2003
    Posts
    3,900

    Default Re: Invalid "conditions" field "conditions" - not a string or array

    Hi,

    This is incredibly frustrating!

    I know it is for you too.

    Let's forget about anything else and sort out this mysterious error message first.

    Here's what we know:
    1. The sample form produces the same error.
    2. The dumpflds test didn't show any "conditions" field.
    3. The sfm.php script you sent me was fine.
    So, this is a complete mystery. Nothing makes sense about it.

    I've spent an enormous amount of time on this problem for you already but I'm prepared to keep going....

    I can offer you two options:
    1. Refund your subscription and you can move on to another product.
    2. You give me access to your server and I figure out exactly what's going on and why. This is very costly in time for me, but I'm prepared to do this to sort out the problem for you.
    Let me know what you would like to do.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  8. #18
    Join Date
    Feb 2006
    Posts
    28

    Default Re: Invalid "conditions" field "conditions" - not a string or array

    Hi,

    I greatly appreciate your time, help and effort.
    And want to thank you helping me out to figure it out.
    I do have quite a bit experince myslef, and it didn't make any sence to me either. That is why, I'm asking for help the only person who can help me - you :-)

    So, if you say that the script is fine, I know the form is fine - there must be PHP then...

    I don't mind giving you the pass for the server - let me know, when you need it.

    SO there is no way to separate in the script the form fields from the input?

    Regards,
    mark

    Quote Originally Posted by russellr
    Hi,

    This is incredibly frustrating!

    I know it is for you too.

    Let's forget about anything else and sort out this mysterious error message first.

    Here's what we know:
    1. The sample form produces the same error.
    2. The dumpflds test didn't show any "conditions" field.
    3. The sfm.php script you sent me was fine.
    So, this is a complete mystery. Nothing makes sense about it.

    I've spent an enormous amount of time on this problem for you already but I'm prepared to keep going....

    I can offer you two options:
    1. Refund your subscription and you can move on to another product.
    2. You give me access to your server and I figure out exactly what's going on and why. This is very costly in time for me, but I'm prepared to do this to sort out the problem for you.
    Let me know what you would like to do.

  9. #19
    Join Date
    Dec 2003
    Posts
    3,900

    Default Re: Invalid "conditions" field "conditions" - not a string or array

    Hi,

    We have a secure form where you can provide your server login details:
    https://secure.rootsoftware.com/~tectite/sendsecret.php

    When you send them, I'll login immediately and figure out what's going on.

    I'll be uploading and downloading some test scripts, but I won't change any existing items on the site without asking first.

    I'll report back to you. ASAP.

    SO there is no way to separate in the script the form fields from the input?
    I'm not sure what you're asking. Could you re-word it?
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  10. #20
    Join Date
    Feb 2006
    Posts
    28

    Default Re: Invalid "conditions" field "conditions" - not a string or array

    Here is the access to artesiagardens.com:

    UserName: xxxx
    PassWord: xxxx

    Quote Originally Posted by markalexandrov
    Hi,

    I greatly appreciate your time, help and effort.
    And want to thank you helping me out to figure it out.
    I do have quite a bit experince myslef, and it didn't make any sence to me either. That is why, I'm asking for help the only person who can help me - you :-)

    So, if you say that the script is fine, I know the form is fine - there must be PHP then...

    I don't mind giving you the pass for the server - let me know, when you need it.

    SO there is no way to separate in the script the form fields from the input?

    Regards,
    mark
    Last edited by russellr; 23-Feb-2006 at 07:52 AM.

+ 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. Help with mail_options and conditions
    By wufpack00 in forum FormMail Subscription Support
    Replies: 2
    Last Post: 06-Jul-2004, 01:49 AM
  2. No "Sender" of the email
    By lemonade in forum FormMail Subscription Support
    Replies: 1
    Last Post: 28-Jun-2004, 09:11 PM
  3. "Internal Server Error": What'd I do wrong?
    By sgodun in forum FormMail Subscription Support
    Replies: 4
    Last Post: 16-May-2004, 01:01 AM
  4. Spiders and "The form has an internal error"
    By russellr in forum FormMail Subscription Support
    Replies: 0
    Last Post: 13-May-2004, 10:11 PM
  5. Email contains no "mesg"
    By xuric in forum FormMail Subscription Support
    Replies: 1
    Last Post: 19-Apr-2004, 09:17 PM

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