March 6, 2005
Since I've heard about this issue from various users, I thought this topic may warrant its own thread.
If your CAPTCHA image is not shown, it most likely has to do with the fact that the PHP SESSION is being reset by a not so well coded plugin.
In particular WP-EMail, WP-Polls, WP-PostRatings are known to do that, so if you're running any of these (the latest versions anyway) CAPTCHA will not work for you and you may incur other issues down the road.
Unfortunately, there is nothing I can do fix this and the plugin author (of the above) doesn't care. Oh well.
my CAPTCHA image was not being shown but i was sure it was nothing to do with the SESSION being reset so investigated further. i tracked the problem down to two lines of code in the cforms-captcha.php file:
i then read about this php bug.
the two lines of code above are only called if the variable $im_bg is set to 0. changing its value to 1 prevents the buggy code from being called and solves the problem.
to do this, look for the line of code at the top of cforms-captcha.php file in the contactforms plugin directory, and change it from:
$im_bg = 0;
$im_bg = 1;
i would recommend checking if the problem is to do with the SESSION being reset before attempting this solution.
hope this helps some of you!
March 6, 2005
I'm running XAMPP 1.6.4 with PHP 5.2.4 for WinXP. Added the captcha field to the form an it crashed Apache under both FireFox and IE6 on my local test server… "Windows has encountered a problem dialog" with no captcha image.
Changing $im_bg = 1; fixed the crash and the captcha field works great.
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3762
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6400), Nicky (3)