Hi,
I have a cpanel hosting plan and installed the php form generator. I followed all of the instructions and generated the form. When I fill it out, I get the error. I also get it with the admin. If it is a matter of setting permissions, I don't know which files need the permission changed. It looks like they are all 755. Help????
Thanks
Joe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am also having this problem on HostMonster (cPanel). Initially I successfully created a form that worked fine. I tried creating another and get this message:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@clearview-buildingservices.com 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.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.-------
Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at clearview-buildingservices.com Port 80
Any help would be appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here is a copy of the process.php (using version 2.9c)
<?php
include("global.inc.php");
$errors=0;
$error="The following errors occured while processing your form input.<ul>";
pt_register('POST','Nameofpersonrequesting');
pt_register('POST','Phone');
pt_register('POST','Storelocation');
pt_register('POST','Dateofcleaning');
pt_register('POST','Timetobecompletedby');
pt_register('POST','Areyouacurrentcustomer');
pt_register('POST','Additionalcommentsorrequests');
$Additionalcommentsorrequests=preg_replace("/(\015\012)|(\015)|(\012)/"," <br />", $Additionalcommentsorrequests);if($Nameofpersonrequesting=="" || $Phone=="" || $Storelocation=="" || $Dateofcleaning=="" || $Timetobecompletedby=="" || $Areyouacurrentcustomer=="" ){
$errors=1;
$error.="<li>You did not enter one or more of the required fields. Please go back and try again.";
}
if($errors==1) echo $error;
else{
$where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));
$message="Name of person requesting: ".$Nameofpersonrequesting."
Phone: ".$Phone."
Store location: ".$Storelocation."
Date of cleaning: ".$Dateofcleaning."
Time to be completed by: ".$Timetobecompletedby."
Are you a current customer: ".$Areyouacurrentcustomer."
Additional comments or requests: ".$Additionalcommentsorrequests."
";
$message = stripslashes($message);
mail("bjzell@hotmail.com","Form Submitted at your website",$message,"From: phpFormGenerator");
These problems have nothing to do with the php code.
PHP is server side scripting. The server expects that the scripts are properly designed and according to the rules set by the server administrator the forms must be owned and readable by the server account capable of executing php script files. Check with your host first because all of these issues are caused by file/folder permissions or ownership. If you still have issues then it will take more time to identify your solution.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PHP is server side scripting. The server expects that the scripts are properly designed and according to the rules set by the server administrator the forms must be owned and readable by the server account capable of executing php script files. Check with your host first because all of these issues are caused by file/folder permissions or ownership. If you still have issues then it will take more time to identify your solution.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Permissions of 777 are considered a security risk by some web hosts and as such access to these scripts are not allowed. This may in fact be part of the problem. Most PHP installations these days allow php files to have 664 permissions as opposed to 775. Folders however still need a minimum 755 and more typical 775 to work properly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I created the form using Fantastico. I tried using a Mysql database and then a text file - no luck. I've uninstalled and reinstalled numerous times and checked the permissions about 30 times. Tried everything but still no luck. Weird.
Regards
Kerryww
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's not rocket science. If it doesn't work there is something wrong with the installation. I have used this product and helped many people customize this product and I admit there are a fair amount of installation issues but I have never come across an installation that could not work with a little extra effort.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
use v3.0 ! I fail to understand why people are still using the old versions. The 2.x versions require you to have some sort of understanding of how to properly install and setup PHP applications on your webserver. If you don't have that, use v3.0. It gives you a zip file that you have to simply extract and upload to your webserver. It is rather annoying to see people give up and resort to some inferior application like this formtoemail.com . phpFormGenerator has been around for a while. In fact, most of these new "form generators" that you see are basically attempts to recreate phpFormGenerator and package it under a new name. I've seen dozens of such applications that try to copy our features and overall program structure. So why would anyone use these derivatives instead of the original, which is available for free.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I created my first new 3.0 form and I am getting the same error, AFTER the form is completed and submitted. I placed the files right in the public_html folder, not a sub directory. So it pulls up the form, but doesn't process it. The process.php file is in the same location. All permissions are at 7777. Please advise.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the quick reply Darren,
When I try that I get this:
******** Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mychillville.com 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.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. *********
I had an older version of formgenerator that I had installed, but when I saw this new version (3.0), it seemed like I didn't have to install it, just create the page/code and upload it. I never ran any install process.
I have again scoured every file that was in the zip to be sure permissions are set. They all reside "loose" in the public_html folder--I took everything out of the "form57699" folder that was in the zip pack to do that so I don't know if I messed up file linkages or what... The form opens and operates fine, just gives the error message on "submit". Thanks for your help!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Create a folder on your website (example one I have here is called: forms). I name the folder for whatever it is doing EXAMPLE: http://www.YourSite.com/forms/
Then I go to PHPformGenerator and make the form, make sure I save all the changes, then download the zip file to my computer.
Then I unzip the files in a folder on my computer. This is sometimes where the problem occurs. I have to tunnel down through the unzipped folders to find the actual files. Tunnel down through "tmp" and "persistent" and "WhateverFormName". Find the folder with all the files in it. Then upload the INDIVIDUAL FILES* to the http://wwwYourSite.com/forms/ folder. Now you can upload the directory files once you get through tmp/persistent/FormName.
Input stuff in your form. Hit Submit, then wait for a while to see what happens. (I have mine set to email me but the email on the server is not instantaneous. Sometimes I have to wait for a while to get the email of the finalized form.
Take care,
Darren
*INDIVIDUAL FILES ARE LIKE THESE:
CaptchaSecurityImage..>
calendar/
confirm.html
files/
form.html
imgs/
install.php
monofont.ttf
processor.php
style.css
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
THANKS DARREN! I did everything you said, removing all files and re-uploading a fresh set into a dedicated folder. I'd post a pic of my remote server directory if I could showing each and every folder and file inside a "form" folder in my public_html, like you said. All permissions set to 777. EVERYTHING TO A TEE! And I get the same error message.
I tried to run the install.php page and got the same message again. Someone else here said the all 7's permission could be the problem? I'm at a loss, I don't know what to do now. I had disabled a prior version of my form because I was getting bombarded by malicious invalid forms and now I can't seem to get it up and running again so that's why I've started over. It seemed simpler and easier than the old formgenerator version....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Darren was so kind as to test my files on his server and they worked fine. It does seem to be a server issue. I have filed a ticket with my host and we'll see what happens. I will post results here in case it can help somewone like Darren helped me. THANKS DARREN! That was above and beyond the call!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
TNTEverett was correct. It was a permissions issue. My host support set them to 755 and all is well! Form is working fine. Now if I could only get submissions on the form...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a cpanel hosting plan and installed the php form generator. I followed all of the instructions and generated the form. When I fill it out, I get the error. I also get it with the admin. If it is a matter of setting permissions, I don't know which files need the permission changed. It looks like they are all 755. Help????
Thanks
Joe
I am also having this problem on HostMonster (cPanel). Initially I successfully created a form that worked fine. I tried creating another and get this message:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@clearview-buildingservices.com 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.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.-------
Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at clearview-buildingservices.com Port 80
Any help would be appreciated.
Here is a copy of the process.php (using version 2.9c)
<?php
include("global.inc.php");
$errors=0;
$error="The following errors occured while processing your form input.<ul>";
pt_register('POST','Nameofpersonrequesting');
pt_register('POST','Phone');
pt_register('POST','Storelocation');
pt_register('POST','Dateofcleaning');
pt_register('POST','Timetobecompletedby');
pt_register('POST','Areyouacurrentcustomer');
pt_register('POST','Additionalcommentsorrequests');
$Additionalcommentsorrequests=preg_replace("/(\015\012)|(\015)|(\012)/"," <br />", $Additionalcommentsorrequests);if($Nameofpersonrequesting=="" || $Phone=="" || $Storelocation=="" || $Dateofcleaning=="" || $Timetobecompletedby=="" || $Areyouacurrentcustomer=="" ){
$errors=1;
$error.="<li>You did not enter one or more of the required fields. Please go back and try again.";
}
if($errors==1) echo $error;
else{
$where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));
$message="Name of person requesting: ".$Nameofpersonrequesting."
Phone: ".$Phone."
Store location: ".$Storelocation."
Date of cleaning: ".$Dateofcleaning."
Time to be completed by: ".$Timetobecompletedby."
Are you a current customer: ".$Areyouacurrentcustomer."
Additional comments or requests: ".$Additionalcommentsorrequests."
";
$message = stripslashes($message);
mail("bjzell@hotmail.com","Form Submitted at your website",$message,"From: phpFormGenerator");
header("Refresh: 0;url=http://www.clearview-buildingservices.com/ThankYou2.htm");
?><?php
}
?>
Kevin
These problems have nothing to do with the php code.
PHP is server side scripting. The server expects that the scripts are properly designed and according to the rules set by the server administrator the forms must be owned and readable by the server account capable of executing php script files. Check with your host first because all of these issues are caused by file/folder permissions or ownership. If you still have issues then it will take more time to identify your solution.
PHP is server side scripting. The server expects that the scripts are properly designed and according to the rules set by the server administrator the forms must be owned and readable by the server account capable of executing php script files. Check with your host first because all of these issues are caused by file/folder permissions or ownership. If you still have issues then it will take more time to identify your solution.
I'm having the same problem.
I have given all files and folders 777 permission but still no luck.
Did anyone solve the problem
TIA
Kerry
Permissions of 777 are considered a security risk by some web hosts and as such access to these scripts are not allowed. This may in fact be part of the problem. Most PHP installations these days allow php files to have 664 permissions as opposed to 775. Folders however still need a minimum 755 and more typical 775 to work properly.
I created the form using Fantastico. I tried using a Mysql database and then a text file - no luck. I've uninstalled and reinstalled numerous times and checked the permissions about 30 times. Tried everything but still no luck. Weird.
Regards
Kerryww
It's not rocket science. If it doesn't work there is something wrong with the installation. I have used this product and helped many people customize this product and I admit there are a fair amount of installation issues but I have never come across an installation that could not work with a little extra effort.
Don't worry - I gave up, couldn't get it to work. Installed formtoemail.com. it works, and it'll do jog just as well.
use v3.0 ! I fail to understand why people are still using the old versions. The 2.x versions require you to have some sort of understanding of how to properly install and setup PHP applications on your webserver. If you don't have that, use v3.0. It gives you a zip file that you have to simply extract and upload to your webserver. It is rather annoying to see people give up and resort to some inferior application like this formtoemail.com . phpFormGenerator has been around for a while. In fact, most of these new "form generators" that you see are basically attempts to recreate phpFormGenerator and package it under a new name. I've seen dozens of such applications that try to copy our features and overall program structure. So why would anyone use these derivatives instead of the original, which is available for free.
I created my first new 3.0 form and I am getting the same error, AFTER the form is completed and submitted. I placed the files right in the public_html folder, not a sub directory. So it pulls up the form, but doesn't process it. The process.php file is in the same location. All permissions are at 7777. Please advise.
Did you run the install.php file?
Go to your webpage: http://whateverYourWebPageIs.com/install.php
Try that.
Thanks for the quick reply Darren,
When I try that I get this:
******** Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mychillville.com 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.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. *********
I had an older version of formgenerator that I had installed, but when I saw this new version (3.0), it seemed like I didn't have to install it, just create the page/code and upload it. I never ran any install process.
I have again scoured every file that was in the zip to be sure permissions are set. They all reside "loose" in the public_html folder--I took everything out of the "form57699" folder that was in the zip pack to do that so I don't know if I messed up file linkages or what... The form opens and operates fine, just gives the error message on "submit". Thanks for your help!!
What I have done is:
Create a folder on your website (example one I have here is called: forms). I name the folder for whatever it is doing EXAMPLE: http://www.YourSite.com/forms/
Then I go to PHPformGenerator and make the form, make sure I save all the changes, then download the zip file to my computer.
Then I unzip the files in a folder on my computer. This is sometimes where the problem occurs. I have to tunnel down through the unzipped folders to find the actual files. Tunnel down through "tmp" and "persistent" and "WhateverFormName". Find the folder with all the files in it. Then upload the INDIVIDUAL FILES* to the http://wwwYourSite.com/forms/ folder. Now you can upload the directory files once you get through tmp/persistent/FormName.
Then go to: http://wwwYourSite.com/forms/install.php
After you run the install go to: http://wwwYourSite.com/forms/index.html
Input stuff in your form. Hit Submit, then wait for a while to see what happens. (I have mine set to email me but the email on the server is not instantaneous. Sometimes I have to wait for a while to get the email of the finalized form.
Take care,
Darren
*INDIVIDUAL FILES ARE LIKE THESE:
CaptchaSecurityImage..>
calendar/
confirm.html
files/
form.html
imgs/
install.php
monofont.ttf
processor.php
style.css
When I said: "Now you can upload the directory files once you get through tmp/persistent/FormName."
I meant that you can upload the folders :calendar ; files; imgs; whole. you do NOT have to tunnel down through them to upload.
Clear as mud?
It took me a while to get it to happen too.
take care,
Darren
THANKS DARREN! I did everything you said, removing all files and re-uploading a fresh set into a dedicated folder. I'd post a pic of my remote server directory if I could showing each and every folder and file inside a "form" folder in my public_html, like you said. All permissions set to 777. EVERYTHING TO A TEE! And I get the same error message.
I tried to run the install.php page and got the same message again. Someone else here said the all 7's permission could be the problem? I'm at a loss, I don't know what to do now. I had disabled a prior version of my form because I was getting bombarded by malicious invalid forms and now I can't seem to get it up and running again so that's why I've started over. It seemed simpler and easier than the old formgenerator version....
Darren was so kind as to test my files on his server and they worked fine. It does seem to be a server issue. I have filed a ticket with my host and we'll see what happens. I will post results here in case it can help somewone like Darren helped me. THANKS DARREN! That was above and beyond the call!!
TNTEverett was correct. It was a permissions issue. My host support set them to 755 and all is well! Form is working fine. Now if I could only get submissions on the form...