Results 1 to 7 of 7

Thread: Error when submit is clicked

  1. #1
    Join Date
    Nov 2004
    Posts
    4

    Default Error when submit is clicked

    Hello,

    Thank you for the formmail script. This is new for me and I'm experiencing some problems. I get the same error message when I use my existing form or the sampleform provided by yourselves. I have verified that my Windows server supports php.

    The browser displays the following message when the submit button is clicked. The message I get from the DEF_ALERT is at the bottom also.

    Warning: session_start(): open(C:\PHP\sessiondata\sess_ee6dee62d32d93de14dc1680e282a9e3, O_RDWR) failed: No such file or directory (2) in C:\Accounts\alpharho\wwwRoot\formmail.php on line 887

    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Accounts\alpharho\wwwRoot\formmail.php:887) in C:\Accounts\alpharho\wwwRoot\formmail.php on line 887

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Accounts\alpharho\wwwRoot\formmail.php:887) in C:\Accounts\alpharho\wwwRoot\formmail.php on line 887
    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.


    Your form submission was processed by formmail.php (4.02), available from www.tectite.com


    Warning: session_destroy(): Session object destruction failed in C:\Accounts\alpharho\wwwRoot\formmail.php on line 955


    DEF_ALERT error message that is being emailed to me is below. I don't understand this because I used a valid email address. Any assistance you can provide would be greatly appreciated.

    To: thall1908@yahoo.com
    From: FormMail@www.alpharhoomega.com

    The following error occurred in FormMail:
    no_valid_recipients
    **********
    Error=The form has an internal error - no valid recipients were
    specified.


    contact: 'N'
    colors: 'blue'
    vehicles: 'Car'
    mesg: 'testing'

    Thank you,
    Tiffany

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

    Default Re: Error when submit is clicked

    Hi,

    You've got two problems.

    The first problem with the sessions can only be fixed by your hosting provider. It seems that the permissions on the directory "C:\PHP\sessiondata" are not correct and are preventing PHP from creating sessions.

    The second problem is that you haven't set $TARGET_EMAIL properly.

    If you'd like to post your $TARGET_EMAIL setting, I can give you advice on what to change it to.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Nov 2004
    Posts
    4

    Default Re: Error when submit is clicked

    Russell,


    Thank you for the quick reply. I have pasted my TARGET_EMAIL below. What exactly should I tell the hosting company?

    $TARGET_EMAIL = array(EMAIL_NAME."thall@alpharhoomega\.com$");
    Thank you

  4. #4
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: Error when submit is clicked

    Hi,

    Show the hosting company the error message you're getting. Namely:

    Warning: session_start(): open(C:\PHP\sessiondata\sess_ee6dee62d32d93de14dc1680e282a9e3, O_RDWR) failed: No such file or directory (2) in C:\Accounts\alpharho\wwwRoot\formmail.php on line 887
    That error speaks for itself.

    For your $TARGET_EMAIL setting you want:

    PHP Code:
    $TARGET_EMAIL = array("^thall@alpharhoomega\.com$"); 
    to send to that single email address, or:

    PHP Code:
    $TARGET_EMAIL = array(EMAIL_NAME."@alpharhoomega\.com$"); 
    to send to anyone at that domain.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  5. #5
    Join Date
    Nov 2004
    Posts
    4

    Default Re: Error when submit is clicked

    Russell,

    I have sent the error message to the hosting company for review. They saw the error on yesterday and replied with the following:

    We would be glad to trouble shoot your site, but from our
    understanding the error that you are getting is development issue. iPowerweb Technical Support Team offers technical assistance

    limited to server side related issues regarding your account. Our
    "commitment" to you is to ensure that:

    1. Your account with iPowerweb is provisioned (set-up on our servers),
    2. You have the ability to receive email via your registered domain
    name
    3. You have the ability to connect to our servers via your ISP.

    Please go back and check all your settings of your code or contact a
    webmaster/developer to assist if needed.

    I hope that they can tell me something different this time. If not, is there anyway to get around this?

    Also, I changed the TARGET_EMAIL. I didn't get the error email this time.

    Thank you,

  6. #6
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: Error when submit is clicked

    Hi,

    Also, I changed the TARGET_EMAIL. I didn't get the error email this time.
    Good. But did you get the email with the form results?

    We would be glad to trouble shoot your site, but from our
    understanding the error that you are getting is development issue
    Sounds like they don't have a good understanding of the software they run on their servers.

    It is possible to disable sessions in FormMail, but that's silly. No PHP product that uses sessions will work on your server.

    They need to fix it.

    If they won't, then we can disable sessions for you in FormMail, but you really should consider moving to a decent hosting provider.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  7. #7
    Join Date
    Nov 2004
    Posts
    4

    Default Re: Error when submit is clicked

    Russell,

    Yes, I did. I didn't think I would get since I was getting the error messages displayed in the browser. I didn't go look forward it until you asked. Sorry about that.

    Now I'll just have wait patiently for the hosting companies response. I'll let you know what they say.

    Thank you so much.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multiple webpages to submit a form?
    By bonzovt in forum FormMail Subscription Support
    Replies: 8
    Last Post: 04-May-2005, 10:31 PM
  2. selective action on submit?
    By JohnB in forum FormMail Subscription Support
    Replies: 3
    Last Post: 20-Jan-2005, 10:51 PM
  3. Error when submit is clicked
    By khooyongjian in forum FormMail Subscription Support
    Replies: 5
    Last Post: 15-Nov-2004, 04:00 AM
  4. CPU Maxed after (maybe?) double click of submit?
    By OKUser in forum FormMail Subscription Support
    Replies: 6
    Last Post: 23-Jun-2004, 07:33 PM
  5. Redirect to my page on submit
    By insight in forum FormMail Subscription Support
    Replies: 21
    Last Post: 09-Apr-2004, 12:06 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
  •