If the image files are where they are supposed to be then it must eb a file permissions issue.
This is the message at the top of the Captcha file. Note the requirements and ask your host if they support the requirements.
/*
* File: CaptchaSecurityImages.php
* Author: Simon Jarvis
* Copyright: 2006 Simon Jarvis
* Date: 03/08/06
* Updated: 23/11/06
* Requirements: PHP 4/5 with GD and FreeType libraries
* Link: http://www.white-hat-web-design.co.uk/articles/php-captcha.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details:
* http://www.gnu.org/licenses/gpl.html
*
*/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay. Almost there. I have figured out the small image problem. They were corrupt so I re-uploaded (on binary this time) but the security graphic is still broken. Been going back and forth with my server about it. This was their latest reply:
Here is the error from apache logs :
File does not exist: /home/lot1whi3/public_html/tmp/persistent/form17948/question.gif, referer: ht
tp://www.lot1433.com/tmp/persistent/form17948/style.css
I have checked and it seems to be in the right place. Any ideas?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I created a form
got the zip folder
extracred zio folder
and NOW...
I do not, where should I
upload this files.
If i put them in my index page...
how can designate them to to a
particular page I want the form to
apprear (e.g contact us page)
Unfortunately I don't see any step by step instuctions
on how to upload liles and in which folders and
how the form will appread in a desired page.
So can anyone help?
Regards,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When you have the form zip file, unzip it into your site folder then using some form of ftp program copy the files and folders to your site.
Getting the for to fit into another html page is more involved but if you have, and are familiar with, a good HTML editor you should be able to get this done without to much trouble.
The form.html file has some pieces in the <head> tag that need to be copied.
<!-- calendar stuff -->
<!-- END calendar stuff -->
<!-- expand/collapse function -->
<!-- expand/collapse function -->
<!-- validate -->
<!-- end validate -->
You must also add the options in the <body> tag.
<body onLoad="collapseAll()">
Then you can copy the entire section between <body> and </body> into the section you wish to have the form on any other page.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've created several forms using Form Generator It works fine and I've had some responses. Then all of a sudden the "use" folder that the form was created in disappeared. I've done it now three more times and each time after a few hours the "use" folder goes away.
My joomla host company is SiteGround. I wrote them and they said:
"I am afraid that I cannot tell how exactly your folder is being deleted. Most probably it is due to a malfunction in the application itself."
Has anyone had this problem? What am I doing wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I created a form to test the v.3 of phpFormGenerator.
As I don't have much spare time, I was creating the form in steps to test different situations. However, the form now is gone.
I cannot access it anymore. Is this normal? It looks that only the latest 50 forms are kept onlie. This way, it will be difficult to contribute with significant tests.
Anyway, I was able to detect a potential bug. When I changed the order of the pages belonging to a form, the order didn't switch and one of the pages was lost. Unfortunately, as I cannot access the form I created, it is difficult to provide more details about this problem.
My form name was inserirCasa, in case it may help.
If it would be possible to recover my form, I would be happy to continue testing.
Good work.
Cheers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've created a form but I don't get any email replies when I test it.
I'm not sure what I'm doing wrong. If I uploaded to the wrong directory? I've tried it an a few different directories, and confirmed that the email address is correct in the processor.php file
Your problem can not be resolved by looking at your form file. Usually this type of error is related to file or folder permissions. contact your host to see if these are in order. If the answer is yes and you still have a problem come back and post again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In Processor.php, I changed the statement "invalid captcha" to a more descriptive: "We're Sorry, It seems you have incorrectly typed your CAPTCHA image verification. Please click the back button on your browser and try again."
I would however, prefer a better user experience. Can the captcha error be placed in a javascript alert or a lightbox style popup over the form, so the user does not have to click the back button?
If not, can I use html here to style the look of the page and also include a button that will take the user back?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Captcha is not checked until after the form is submitted. For this reason you can not display a pop-up over the form.
You can however format the message any way you like. an example is already provided via the thankyou page refer link.
The HTML between the
echo "
and
";
can be anything you want with the exception of more quotes. When you need quotes you will need to escape them or rearrange single and double quotes to achive the HTML you need.
There are many ways to do this but if your message is simple this will do the trick.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just having a small problem with validating email addresses. I am asking the user to re-enter their email address into a second field box and I would like to compare and ensure the two are identical before form submission.
Using info from previous posts, I have entered the following into the validation area (bottom) of my form.html where field_12 is the first entry of the email and field_13 is the second:
if (validateField('field_12','fieldBox_12','email',1) == false)
retVal=false;
if (validateField('field_13','fieldBox_13','email',1) == false)
retVal=false;
if($field_12 == $field_13)
{echo "OK";}
else {
print "The e-mails do not match, please re-enter";}
I think I am putting the compare statement in the wrong area... any help will be much appreciated.
cheers
(Also - tip for young players - never use MS Expression to edit processor.php! Took me hours to figure out why I had errors all over my confirm page! Doh!)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello, I am sorry to say that my old version of PHPFormgenerator 2.08? Has allowed a bot or hacker to upload scripts to my domains server. The hosting company has cleaned up the unwanted scripts and has requested I try a newer version that has human recognition. I attempted to build a new form using the v3.0 and all seemed well but when I was finished. I ended up in a never ending loop and was unable to retrieve my form. I am not sure that it was actually built. I first watched the 'movie'. I went back to the url:
and proceeded to build my form. But as I indicated above, when I was finished, it would not close it and let me download it. The form had Last, First, MI/M Names, email address and 6 file upload inputs with corresponding text box descriptions. When starting I was presented with title description, delivery method, captcha, confirmation and redirect. I filled each out and "updated" each as I went. Can someone please tell me what I did wrong. I need the more secure form and have been a PHPFormgenerator user on private non-commercial sites for at least 4 years. Thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is a really long post and first I suggest that you start a new one to make it easier to concentrate on just your issue.
I have also been using the generator for many years and can help you with any problems you may have.
The new generator is being used, I have used it and it does work so I am not sure what your issue is.
I have manually converted old version forms to the new version type with the extra features.
If you never finished the form it may not be recoverable. Do you have a name or number related to this form?
If not and you want me to help just zip up your existing form and send it to me in an email.
Otherwise let me know how you want to proceed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have an existing form made with 2.09. hosting company says that it was compromised and either a bot or hacker uploaded destructive script. they suggest I upgrade to a form with human check or captcha. I can email the form I have, the problem was when I was ready to finish so I could download my form it would not finish... just kept coming back with the to continue buttons or add more items. I tried 4 different times starting from scratch because it did not save anything. I can send you the form to look at that I have from the older version. I appreciate your help either way. If we can get this done and it has a human check or extension check (like .jpg) that might even be an add security.
Brook
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
since it is the only way I could see to email you and there is no way to attach the files... so if you would look for that email through the sourceforge message system to you you will find my email address and respond so that I can attach the two requested files for you to examine.
thanks
Brook
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the site doesn't let me download the zip file correctly it downloads but then says Decompression Failed. and then when i try to open the file with my zip extractor it says it cant be opened
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I keep getting these errors when using the database
Warning: include(config.inc.php) [function.include]: failed to open stream: No such file or directory in /home/surfearn/public_html/processor.php on line 11
Warning: include(config.inc.php) [function.include]: failed to open stream: No such file or directory in /home/surfearn/public_html/processor.php on line 11
Warning: include() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/surfearn/public_html/processor.php on line 11
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'surfearn'@'localhost' (using password: NO) in /home/surfearn/public_html/processor.php on line 12
Could not connect to database: Access denied for user 'surfearn'@'localhost' (using password: NO)
Do I need to create a special config.php file?
If so, how do I code it?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The first errors look like you have not copied all the files included with the form you created.
The second error look like either it is attempting to use a default user name or you have not used the install.php file or you have not created a username for the SQL tables.
In either case these are installation errors the should be easy to resolve.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If the image files are where they are supposed to be then it must eb a file permissions issue.
This is the message at the top of the Captcha file. Note the requirements and ask your host if they support the requirements.
/*
* File: CaptchaSecurityImages.php
* Author: Simon Jarvis
* Copyright: 2006 Simon Jarvis
* Date: 03/08/06
* Updated: 23/11/06
* Requirements: PHP 4/5 with GD and FreeType libraries
* Link: http://www.white-hat-web-design.co.uk/articles/php-captcha.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details:
* http://www.gnu.org/licenses/gpl.html
*
*/
Okay. Almost there. I have figured out the small image problem. They were corrupt so I re-uploaded (on binary this time) but the security graphic is still broken. Been going back and forth with my server about it. This was their latest reply:
Here is the error from apache logs :
File does not exist: /home/lot1whi3/public_html/tmp/persistent/form17948/question.gif, referer: ht
tp://www.lot1433.com/tmp/persistent/form17948/style.css
I have checked and it seems to be in the right place. Any ideas?
Thanks.
Hi
download... ?
Hi,
Still using v2.9 but have discovered that my forms work fine in firefox but do not display at all in explorer (just a blank page). What am I missing?
You can see my form here:
http://www.ybormortgage.com/forms/use/LoanApplication/form1.html
I created a form
got the zip folder
extracred zio folder
and NOW...
I do not, where should I
upload this files.
If i put them in my index page...
how can designate them to to a
particular page I want the form to
apprear (e.g contact us page)
Unfortunately I don't see any step by step instuctions
on how to upload liles and in which folders and
how the form will appread in a desired page.
So can anyone help?
Regards,
When you have the form zip file, unzip it into your site folder then using some form of ftp program copy the files and folders to your site.
Getting the for to fit into another html page is more involved but if you have, and are familiar with, a good HTML editor you should be able to get this done without to much trouble.
The form.html file has some pieces in the <head> tag that need to be copied.
<!-- calendar stuff -->
<!-- END calendar stuff -->
<!-- expand/collapse function -->
<!-- expand/collapse function -->
<!-- validate -->
<!-- end validate -->
You must also add the options in the <body> tag.
<body onLoad="collapseAll()">
Then you can copy the entire section between <body> and </body> into the section you wish to have the form on any other page.
I've created several forms using Form Generator It works fine and I've had some responses. Then all of a sudden the "use" folder that the form was created in disappeared. I've done it now three more times and each time after a few hours the "use" folder goes away.
My joomla host company is SiteGround. I wrote them and they said:
"I am afraid that I cannot tell how exactly your folder is being deleted. Most probably it is due to a malfunction in the application itself."
Has anyone had this problem? What am I doing wrong?
Hi!
I created a form to test the v.3 of phpFormGenerator.
As I don't have much spare time, I was creating the form in steps to test different situations. However, the form now is gone.
I cannot access it anymore. Is this normal? It looks that only the latest 50 forms are kept onlie. This way, it will be difficult to contribute with significant tests.
Anyway, I was able to detect a potential bug. When I changed the order of the pages belonging to a form, the order didn't switch and one of the pages was lost. Unfortunately, as I cannot access the form I created, it is difficult to provide more details about this problem.
My form name was inserirCasa, in case it may help.
If it would be possible to recover my form, I would be happy to continue testing.
Good work.
Cheers.
I've created a form but I don't get any email replies when I test it.
I'm not sure what I'm doing wrong. If I uploaded to the wrong directory? I've tried it an a few different directories, and confirmed that the email address is correct in the processor.php file
here's my form
http://www.kealiaresort.com/phpforms/form.html
or
http://www.kealiaresort.com/forms/form.html
Thank you for any help you can offer!
Your problem can not be resolved by looking at your form file. Usually this type of error is related to file or folder permissions. contact your host to see if these are in order. If the answer is yes and you still have a problem come back and post again.
You can disregard my last post. I was able to resolve it. Thanks.
In Processor.php, I changed the statement "invalid captcha" to a more descriptive: "We're Sorry, It seems you have incorrectly typed your CAPTCHA image verification. Please click the back button on your browser and try again."
I would however, prefer a better user experience. Can the captcha error be placed in a javascript alert or a lightbox style popup over the form, so the user does not have to click the back button?
If not, can I use html here to style the look of the page and also include a button that will take the user back?
Captcha is not checked until after the form is submitted. For this reason you can not display a pop-up over the form.
You can however format the message any way you like. an example is already provided via the thankyou page refer link.
if ("some condition is true") {
echo "
<h2>Message!</h2>
<table width=50%>
<tr><td>Name: </td><td> <?php echo $variable; ?> </td></tr>
</table>
";
}
The HTML between the
echo "
and
";
can be anything you want with the exception of more quotes. When you need quotes you will need to escape them or rearrange single and double quotes to achive the HTML you need.
There are many ways to do this but if your message is simple this will do the trick.
I think the phpFormGenerator is broken. I cannot create any forms. I get the following error:
Program malfunction, please start over.
Hi - fabulous tool guys, well done!
Just having a small problem with validating email addresses. I am asking the user to re-enter their email address into a second field box and I would like to compare and ensure the two are identical before form submission.
Using info from previous posts, I have entered the following into the validation area (bottom) of my form.html where field_12 is the first entry of the email and field_13 is the second:
if (validateField('field_12','fieldBox_12','email',1) == false)
retVal=false;
if (validateField('field_13','fieldBox_13','email',1) == false)
retVal=false;
if($field_12 == $field_13)
{echo "OK";}
else {
print "The e-mails do not match, please re-enter";}
I think I am putting the compare statement in the wrong area... any help will be much appreciated.
cheers
(Also - tip for young players - never use MS Expression to edit processor.php! Took me hours to figure out why I had errors all over my confirm page! Doh!)
hello, I am sorry to say that my old version of PHPFormgenerator 2.08? Has allowed a bot or hacker to upload scripts to my domains server. The hosting company has cleaned up the unwanted scripts and has requested I try a newer version that has human recognition. I attempted to build a new form using the v3.0 and all seemed well but when I was finished. I ended up in a never ending loop and was unable to retrieve my form. I am not sure that it was actually built. I first watched the 'movie'. I went back to the url:
http://phpformgen.sourceforge.net/new_demo/phpformgen/
and proceeded to build my form. But as I indicated above, when I was finished, it would not close it and let me download it. The form had Last, First, MI/M Names, email address and 6 file upload inputs with corresponding text box descriptions. When starting I was presented with title description, delivery method, captcha, confirmation and redirect. I filled each out and "updated" each as I went. Can someone please tell me what I did wrong. I need the more secure form and have been a PHPFormgenerator user on private non-commercial sites for at least 4 years. Thanks in advance
This is a really long post and first I suggest that you start a new one to make it easier to concentrate on just your issue.
I have also been using the generator for many years and can help you with any problems you may have.
The new generator is being used, I have used it and it does work so I am not sure what your issue is.
I have manually converted old version forms to the new version type with the extra features.
If you never finished the form it may not be recoverable. Do you have a name or number related to this form?
If not and you want me to help just zip up your existing form and send it to me in an email.
Otherwise let me know how you want to proceed.
short version:
I have an existing form made with 2.09. hosting company says that it was compromised and either a bot or hacker uploaded destructive script. they suggest I upgrade to a form with human check or captcha. I can email the form I have, the problem was when I was ready to finish so I could download my form it would not finish... just kept coming back with the to continue buttons or add more items. I tried 4 different times starting from scratch because it did not save anything. I can send you the form to look at that I have from the older version. I appreciate your help either way. If we can get this done and it has a human check or extension check (like .jpg) that might even be an add security.
Brook
No problem. Just email me a copy of the form.html and the process.php files.
hi tnteveret1, I tried the email page here:
https://sourceforge.net/sendmessage.php?touser=1304061
since it is the only way I could see to email you and there is no way to attach the files... so if you would look for that email through the sourceforge message system to you you will find my email address and respond so that I can attach the two requested files for you to examine.
thanks
Brook
the site doesn't let me download the zip file correctly it downloads but then says Decompression Failed. and then when i try to open the file with my zip extractor it says it cant be opened
Hi,
I keep getting these errors when using the database
Warning: include(config.inc.php) [function.include]: failed to open stream: No such file or directory in /home/surfearn/public_html/processor.php on line 11
Warning: include(config.inc.php) [function.include]: failed to open stream: No such file or directory in /home/surfearn/public_html/processor.php on line 11
Warning: include() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/surfearn/public_html/processor.php on line 11
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'surfearn'@'localhost' (using password: NO) in /home/surfearn/public_html/processor.php on line 12
Could not connect to database: Access denied for user 'surfearn'@'localhost' (using password: NO)
Do I need to create a special config.php file?
If so, how do I code it?
Thanks
The first errors look like you have not copied all the files included with the form you created.
The second error look like either it is attempting to use a default user name or you have not used the install.php file or you have not created a username for the SQL tables.
In either case these are installation errors the should be easy to resolve.
How much longer is it going to be before I can download the program?
Right now you enjoy all the benefits of the program without downloading or installing it. What's your rush?