1) Uploaded
2) Gave everything in the folder read, write, execute permissions
3) went to the url …/index.php and it says the "use directory" is not writable. But there is NO "use directory" on the server, nor in the download from this site! I've checked both!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-07-15
Ok… had to create the "use" folder in the site directory, but now the forms don't work correctly although it goes all the way through the form generation & gives me 2 links: one to the "form.html" and the other to "index.php".
The index.php is always a file not found because it says it's in a non-existing directory.
I've tested the form (as it is) by uploading it and inputting data, but it doesn't work (no data put into my database AND upon submit, I'm not directed to the thank you page, but get a wierd error page that the process.php isn't found).
If I create that directory (mentioned above about the index.php) and move/copy the index.php into it, it still doesn't work.
Moving/copying the process.php elsewhere doesn't work, either!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-07-15
Here's the error when testing the form upon first completion:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mywebsite.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.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_bwlimited/1.4 Server at mywebsite.com Port 80
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-07-15
Even when I tell it go just email the data, it still doesn't work. No email, and still get the error page when I fill out with test info. :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-07-15
Here's what the process.php says:
<?php
include("global.inc.php");
$errors=0;
$error="The following errors occured while processing your form input.<ul>";
pt_register('POST','Name');
pt_register('POST','Phone');
pt_register('POST','Email');
pt_register('POST','AdditionalInfo');
$AdditionalInfo=preg_replace("/(\015\012)|(\015)|(\012)/"," <br />", $AdditionalInfo);if($Name=="" || $Phone=="" || $Email=="" || $AdditionalInfo=="" ){
$errors=1;
$error.="<li>You did not enter one or more of the required fields. Please go back and try again.";
}
if(!eregi("^+(+)*" ."@"."(+(+)*)+"."\\.{2,}"."$",$Email)){
$error.="<li>Invalid email address entered";
$errors=1;
}
if($errors==1) echo $error;
else{
$where_form_is="http".($HTTP_SERVER_VARS=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));
$message="Name: ".$Name."
Phone: ".$Phone."
Email: ".$Email."
Additional Info: ".$AdditionalInfo."
";
$message = stripslashes($message);
mail("user@mywebsite.com","Form Submitted at your website",$message,"From: phpFormGenerator");
1) Uploaded
2) Gave everything in the folder read, write, execute permissions
3) went to the url …/index.php and it says the "use directory" is not writable. But there is NO "use directory" on the server, nor in the download from this site! I've checked both!
Ok… had to create the "use" folder in the site directory, but now the forms don't work correctly although it goes all the way through the form generation & gives me 2 links: one to the "form.html" and the other to "index.php".
The index.php is always a file not found because it says it's in a non-existing directory.
I've tested the form (as it is) by uploading it and inputting data, but it doesn't work (no data put into my database AND upon submit, I'm not directed to the thank you page, but get a wierd error page that the process.php isn't found).
If I create that directory (mentioned above about the index.php) and move/copy the index.php into it, it still doesn't work.
Moving/copying the process.php elsewhere doesn't work, either!
Here's the error when testing the form upon first completion:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mywebsite.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.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_bwlimited/1.4 Server at mywebsite.com Port 80
Even when I tell it go just email the data, it still doesn't work. No email, and still get the error page when I fill out with test info. :(
Here's what the process.php says:
<?php
include("global.inc.php");
$errors=0;
$error="The following errors occured while processing your form input.<ul>";
pt_register('POST','Name');
pt_register('POST','Phone');
pt_register('POST','Email');
pt_register('POST','AdditionalInfo');
$AdditionalInfo=preg_replace("/(\015\012)|(\015)|(\012)/"," <br />", $AdditionalInfo);if($Name=="" || $Phone=="" || $Email=="" || $AdditionalInfo=="" ){
$errors=1;
$error.="<li>You did not enter one or more of the required fields. Please go back and try again.";
}
if(!eregi("^+(+)*" ."@"."(+(+)*)+"."\\.{2,}"."$",$Email)){
$error.="<li>Invalid email address entered";
$errors=1;
}
if($errors==1) echo $error;
else{
$where_form_is="http".($HTTP_SERVER_VARS=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));
$message="Name: ".$Name."
Phone: ".$Phone."
Email: ".$Email."
Additional Info: ".$AdditionalInfo."
";
$message = stripslashes($message);
mail("user@mywebsite.com","Form Submitted at your website",$message,"From: phpFormGenerator");
header("Refresh: 0;url=http://www.mywebsite.com/ThankYou.html");
?><?php
}
?>
Even after changing permissions on all the files (after the form is created) it STILL doesn't work!!!
Installed from fantistico and it has the same problems!!!
apparently this help forum is neglected - nobody has ever gotten a response on here!