+ Reply to Thread
Page 3 of 5 FirstFirst 1 2 3 4 5 LastLast
Results 21 to 30 of 41

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

  1. #21
    Join Date
    Feb 2006
    Posts
    28

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

    I jest sent the user and pass - don't worry I will change it later...

    I want to separate the form-fields from the user input, or better said to tabulate the $realname from realname, and put “:” or “|”? So the output in the email will look like this:
    Realname | Mark
    Email : mark@bulmark.net

    Just to give some air between the words, is too busy otherwise, if you know what I eman…



    Quote Originally Posted by russellr
    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.



    I'm not sure what you're asking. Could you re-word it?

  2. #22
    Join Date
    Feb 2006
    Posts
    28

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

    Any news of

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

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

    Hi,

    Found it at last!

    It appears to be a bug in your version of PHP.

    You're running PHP version 4.4.1. It may be triggered by some setting, but there's not doubt that your PHP doesn't work the right way!

    Here's the URL that shows the bug:
    http://artesiagardens.com/htmls/bug.php

    Now, the same script on our server (which is running PHP 4.3.10):
    http://www.tectite.com/bug.php

    You can see the difference!

    I recommend you contact your hosting provider and supply them with these two URLs.

    They may need to downgrade to an earlier version of PHP.

    We may be able to find a workaround for this PHP bug and implement it in FormMail, but that's going to take a number of days.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  4. #24
    Join Date
    Feb 2006
    Posts
    28

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

    I knew it. Ok, do you know if there is a big difference between 4.3.11 and 4.4.1 or 4.4.2?

    Quote Originally Posted by russellr
    Hi,

    Found it at last!

    It appears to be a bug in your version of PHP.

    You're running PHP version 4.4.1. It may be triggered by some setting, but there's not doubt that your PHP doesn't work the right way!

    Here's the URL that shows the bug:
    http://artesiagardens.com/htmls/bug.php

    Now, the same script on our server (which is running PHP 4.3.10):
    http://www.tectite.com/bug.php

    You can see the difference!

    I recommend you contact your hosting provider and supply them with these two URLs.

    They may need to downgrade to an earlier version of PHP.

    We may be able to find a workaround for this PHP bug and implement it in FormMail, but that's going to take a number of days.

  5. #25
    Join Date
    Feb 2006
    Posts
    28

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

    Quote Originally Posted by markalexandrov
    I knew it. Ok, do you know if there is a big difference between 4.3.11 and 4.4.1 or 4.4.2?

    This also means, that your script is not adpated for versions higher of php 4.3.11. Maybe you should update...

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

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

    Hi,

    No. The script is correct, the version of PHP is wrong.

    I may have to workaround the bug, but that's not ideal.

    There's not much difference between PHP x and 4.4.x.

    We don't even know whether the problem is isolated to your server. I can't find any reports of this bug, so I'm wondering whether your server just has a dud version installed.

    Or, as I mentioned before, perhaps there's an unusual setting that's triggering the problem.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  7. #27
    Join Date
    Feb 2006
    Posts
    28

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

    :-) Can't be this way.

    It is that PHP 4.4.2 and therewafter headers() function prevents more than one header to be sent at once as a protection against header injection attacks. And few others.

    I don't think the installation or settings are the probmem either, but can't be 100% sure. The phpinfo shows all to be OK. And it is OK.

    I have other php applications running on this server and it is OK. Your script is running OK, too it is just that produces warnings that cause an error.


    Quote Originally Posted by russellr
    Hi,

    No. The script is correct, the version of PHP is wrong.

    I may have to workaround the bug, but that's not ideal.

    There's not much difference between PHP x and 4.4.x.

    We don't even know whether the problem is isolated to your server. I can't find any reports of this bug, so I'm wondering whether your server just has a dud version installed.

    Or, as I mentioned before, perhaps there's an unusual setting that's triggering the problem.

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

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

    Hi,

    Someone needs to explain why the correct program "bug.php" doesn't work.

    That's irrefutable evidence (unless someone can explain why this correct program doesn't work).

    "bug.php" demonstrates the exact reason you're getting the problem with FormMail.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  9. #29
    Join Date
    Feb 2006
    Posts
    28

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

    But this is just a warning! Shouldn't trigger an error in the email... Can you dsiable it?

    Quote Originally Posted by russellr
    Hi,

    Someone needs to explain why the correct program "bug.php" doesn't work.

    That's irrefutable evidence (unless someone can explain why this correct program doesn't work).

    "bug.php" demonstrates the exact reason you're getting the problem with FormMail.

  10. #30
    Join Date
    Feb 2006
    Posts
    28

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

    Does your script need phpsuexec?

    Quote Originally Posted by markalexandrov
    But this is just a warning! Shouldn't trigger an error in the email... Can you dsiable it?

+ 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