ragonin -
Joined: 17 Oct 2008 Posts: 3
|
Posted: Fri Oct 17, 2008 3:06 am Post subject: Trying to get formmail.php to send form data to email |
|
|
WHAT WORKS
I'm using Windows 2000 Pro SP 4 with a Dell PowerEdge 1300 server.
I have Abyss Web Server X1 2.5 running.
My website is http://www.retailbuildingsforsale.webhop.net. WORKS!
************
MY OBJECTIVE
Trying to add www.tectite.com's formmail.php to send form data to email.
Used www.tectite.com's FormMail Configuration wizard to configure formmail.php for Windows on their server and it sent form data to my email. WORKS!
************
ERROR MESSAGES
However, the formmail.php does not work on my Abyss Server X1 2.5.
After installing your preconfigured PHP 5 package following your instructions, step by step, adding formmail.php to the htdocs directory and running my server, I get error messages:
ERROR#1
http://www.retailbuildingsforsale.webhop.net/formmail.php?testalert=1
and hit enter and got "FAILED to send alert message. Check your server error logs."
ERROR #2
http://www.retailbuildingsforsale.webhop.net/sampleform.html
and hit enter and got "An error occurred while processing the form. Please contact us directly since this form is not working. We apologize for any inconvenience this error may have caused. Your form submission was processed by (8.05), available from www.tectite.com. "
*************
MY ABYSS CONFIGURATION OF ABYSS'S PRECONFIGURED PHP 5 PROGRAM
Installed php522.exe
set Interface to FastCGI (Local - Pipes).
Set Interpreter to php-cgi.exe with correct path.
Set Type to PHP Style.
Set Associated Extensions to php.
Set Custom Environment Variables Name to REDIRECT_STATUS & Value to 200
Added index.php to Index Files
Restarted server each time I tried to debug.
*************
WHAT I'VE DONE TO TROUBLESHOOT
1. In test.php (in htdocs directory), I used the php code <?php phpinfo(); ?> to debug.
http://retailbuildingsforsale.webhop.net/test.php and
http://127.0.0.1/test.php leads to "Error 404 Not Found"
BUT
http://retailbuildingsforsale.webhop.net/test.php and http://127.0.0.1/index.html WORKS!
2. Trial and error: Tried toggling FastCGI to CGI, PHP Style to Standard, REDIRECT_STATUS 200 with no name nor value - restarted server after each configuration change. But still no luck.
Need help thanks in advance!=)
Andrew |
|