Captcha Disappears

Found a bug? Tell us!!
Post Reply
faldo29
Regular
Posts: 19
Joined: Fri Dec 29, 2006 2:16 am

Captcha Disappears

Post by faldo29 »

Hello folks,

I decided to edit the plugin_internal.inc.php file because I wasn't too satisfied with the ">" or "greater than" sign being the symbol on the quicksearch input button. I changed the value to something else.

Later on I discovered that after editing the file, the captcha on the comment form and the contact form disappeared. After going through several hours of troubleshooting,plain old dumb luck helped me discover that when I restored the old plugin_internal.inc.php file, the captchas reappeared. I edited it again, the captchas disappeared again.

Don't know if you know this but I thought I'd pass this along.

Faldo
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Captcha Disappears

Post by garvinhicking »

Hi!

Check if your editor maybe inserts linebreaks before the first <?php or after the last ?>. Often, UTf-8 BOM marks are the culprit and those will remove captchas because newlines/space characters can mess with the PHP output.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply