Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Ed on June 07, 2001, 10:07:41 AM
-
Every time I submit my form I get the following page returned.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@xxx.ca and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log
I have my formmail script set to chmod +755 and I have my path within the form set to http://xxx.xxx.ca/cgi-bin/formmail.pl, but I have tried everything and still cannot get the script to send me the form results. Any ideas would be appreciated.
-
Try this php formmail Howto:
http://www.netsourced.com/e-smith/docs/phpformmail-howto.html
Darrell
-
Thanks for the info Darrell. I noticed that there is a reference to a patch in the documentation which states: "to enable php in the primary ibay there is an update (e-smith-base-4.4.0-14.noarch.rpm) required for 4.1.2 that you must download and install" my question is where can I obtain this rpm? I have searched the site but cannot find that exact file. Thanks again?
-
I found e-smith-base-4.4.0-14.noarch.rpm and installed it. I still have same results.
This is driving me nuts already ...
-
Are you still having trouble with the script?
if so you can either email me the script or give me a link where you got it and I will see if I can find anything wrong with the script.
Greg
-
You need to ensure that you upload through ftp in ASCII mode.
Sometimes the default mode is binary and appache dont like that.
Whenever i get that response from the server it is usually that.
Another problem sometimes is that the location of perl is different in e-smith than it is in other servers.
eg......
other servers
#!/usr/local/bin/perl
e-smith
#!/usr/bin/perl
try that out. If no luck, i have a good form mail system with java feild checking.
Let me know
beno
-
I have it fixed now Greg. Thanks ... But now I have also installed PHPBB forum and it works great but for some reason I cannot search the forum. Is there a way I can test to see if mysql is working fine?
Ed
-
Thanks Beno,
I have the problem solved now. I was trying to use formmail.php and none of the documentation (of course) states that it should be placed in the HTML directory so I was putting it in my cgi-bin and that would not work. It was my last resort and thought that putting it in the HTML directory was the only thing I did not try previously ... so I did and everything works great now. I still don't know why my cgi-bin won't work but right now I don't even care. Thanks again.
Ed
-
well I just installed phpBB on my test box with no problem, so it is not a e-smith compatibility problem.
can you tell me a litttle about the error you are getting when you try to search?
did you create a new user for the phpbb database or are you using the root login?
phpBB will not return forum titles for it's search results so be sure to do a couple test posts and then search.
~Greg
-
Where did you find the RPM?
-
Which RPM are you refering to Andy? If it's the one I think you mean then it is e-smith-base-4.4.0-21.noarch.rpm available in the update directory of the FTP site.
I'm not sure I really needed it though since I still wasn't able to use my cgi-bin, that's why I went to using formmail.php. Try using it first, but just a tip to save you the same aggrivation that I went through, make sure you just put the formmail.php script in your HTML directory not the cgi-bin. Good luck.
Ed
-
Thanks Ed I found it! Have you tried upgrading to PHP 4 with the RPM?