You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees
when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.
IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.
You are not logged in.
Pages: 1
Installation seemed to go well, but when I tested the form the code is replaced by the little red cross that indicates that an image is missing. Any ideas where I've gone wrong?
Form is at http://www.torbaypublishing.com/mail/
Dave
Offline
Hi Dave,
Does your server have the GD library with freetype support enabled? This is required for the captcha to function.
David.
Offline
David,
The captcha code will not display when trying to incorporate into my website.
<a href="http://www.gr8-website-hosting.com/contact/index.php" target="_blank" rel="nofollow">URL</a>
When I upload your script "as is" prior to putting it into my template the captcha worked fine. I can't remember how to determine if the freetype support is enabled.
Any help you can provide will be greatly appreciated!
Larry
Offline
Hi Larry,
You need to view your servers PHP configuration. To do this:
1. Create a blank .txt file and type the following code:
<?php
phpinfo();
?>
Save the file with a .php extension and upload anywhere on your server. Then access the file in your browser. Scroll down for the GD setup.
If the GD is enabled with freetype support, try re-uploading the 'classes/fonts/' directory again.
David.
Offline
Thanks for the quick reply. GD is enabled with freetype support and I re-uploaded the classes/fonts/ directory and still no captcha.
When I move the form code to the very top it shows:
<a href="http://www.gr8-website-hosting.com/contact/index.php" target="_blank" rel="nofollow">URL</a>
The problem is I want it down within the contact page section where it belongs (scroll down).
Larry
Offline
Are you using includes to show the form? Or maybe an iframe? To adapt the system into your own, you need to edit the templates within Maian Mail.
David.
Offline
I'm not using includes or an iframe. I just don't understand why it'll show at the top of my page but not when I move it down.
I'll play around with the templates. In the meantime, I may just disable the captcha feature.
Thanks again!
Offline
The captcha uses session data, so I`m guessing that because you have data being sent by the browser before the captcha loads, its failing. Have you got a server error log? If so, check that. Some servers log the errors in the root of your site.
If that is the issue, you`ll see an error about the session not being able to initiate as header data has already been sent.
David.
Offline
Could the problem be that I deleted the <em>session_start(); </em> code from default options section of the php-captcha.inc.php file? I'm working from a different CPU at the moment so I can't test it to see.
Offline
You could always try putting it back to see. If you have a server error log, the answer will be there.
David.
Offline
David,
Here were the contents of my session log file:
[27-Feb-2008 18:23:08] PHP Warning: Unknown(): (null): Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20020429, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[27-Feb-2008 18:23:08] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/stdrlw15/public_html/contact/index.php:11) in /home/stdrlw15/public_html/contact/classes/php-cap tcha.inc.php on line 258
Line 258 had the following line of code: header("Content-type: image/$this->sFileType");
I wasn't sure what to do from there.
Thanks for your patience.
Larry
Offline
Well, the header error is because data has been sent to the browser before its called. In this case its the error message. So, the header code isn`t a problem.
It looks as though you have some kind of mismatch in your Apache and PHP configuration. Might be worth contacting your host about it.
David.
Offline
Well, I finally got it - <a href="http://www.gr8-website-hosting.com/contact/index.php" target="_blank" rel="nofollow">URL</a>
I was making the mistake of copying the PHP code from the main index file into the location I wanted the form to appear on my website. I went in and modified the index template with my site's code and let the form pull in that way. This whole process was bittersweet in that it took up a lot of my time trying to figure it out but learned a lot about PHP through research on other websites.
Lastly, I want to thank you David for responding to all my inquiries these past couple days. You provide better support for something that's FREE compared to some merchants where you actually have to fork over money for their services. Keep up the good work!
Thanks again!
Larry
Offline
You`re welcome Larry and I`m glad you got it working,
David.
Offline
Pages: 1