pstimpel / phpcaptchapiwigo

PHP Captcha for Piwigo
GNU General Public License v3.0
2 stars 5 forks source link

captcha not showing along with comment form #2

Closed michaelh99 closed 2 years ago

michaelh99 commented 5 years ago

There's no specific checkbox to enable it and it's not appearing even when otherwise enabled

https://www.dragonseye.com/photos/picture.php?/23716-023__mg_4115/categories

michaelh99 commented 5 years ago

Also, when I try to leave a comment I see the following errors at the top of the page

Notice: Undefined index: captcha_hash in /home/michael9/public_html/photos/plugins/phpcaptchapiwigo/include/picture.inc.php on line 27

Notice: Undefined index: captcha_code in /home/michael9/public_html/photos/plugins/phpcaptchapiwigo/include/picture.inc.php on line 30

Notice: Undefined index: captcha_code in /home/michael9/public_html/photos/plugins/phpcaptchapiwigo/include/picture.inc.php on line 34

CharlesButcher commented 5 years ago

@michaelh99, I think it's an issue with your Piwigo theme, which If I'm not mistaken is "Bootstrap Default". I used the same theme and I had exactly the same issue. Same PHP notices, plus two more for Cannot modify header information. Changing the theme allowed the captcha to appear. I tested only a couple of themes: "clear" and "Pure_grey", and both worked.

The Bootstrap theme looks good, so it would be nice to get it working with captchas (I tried a couple of other captcha plugins and they failed too). But that's beyond my coding skills. The developer of Bootstrap Default has acknowledged a bug.

michaelh99 commented 5 years ago

Thanks. I've gone back to "elegant" for now