So in a small advertisement raid in a community I got a few people trying to register but not being able to.
I have tried two different recent Captchas,
PHP-Captcha https://piwigo.org/ext/extension_view.php?eid=882
Crypto Catptcha: https://piwigo.org/ext/extension_view.php?eid=535
In my testing CryptoCaptcha never shows an image, and PHP-Captcha does not show at all.
I realize this could be due to theme issues, but I am using latest version of Bootstrap Default.
I have also checked relevant PHP libraries, like Imagick and those are available.
Site information:
https://lotroshots.net/
Piwigo 13.8.0
Installed on 10 July 2017, 6 years 2 months 2 weeks 2 days ago
Operating system: Linux
PHP: 8.1.22
Graphics Library: GD 2.3.3
What could be wrong?
Last edited by homdax (2023-10-01 13:25:51)
Offline
This is kinda important. Registration is enabled on the site, and it has to be enabled.
A flawed captcha prevents correct registration.
Disabled captchas gives spam registration.
I need something to go on to troubleshoot this, tbh I think Captcha should be part of Piwigo Core, or included in the Community plugin. It is very important.
Offline
So after some additional troubleshooting I noted the GMAGICK was enabled on the server, instead of IMAGICK. (I wasn't even aware that GMAGICK existed). It had no effect on the images in albums.
Which is confusing since the PHPInfo told me IMAGICK was enabled. Not the PHPInfo summary from the site info in Piwigo, but the default one generated by PHP.
According to PHP.net GMAGICK is used as an image library
https://www.php.net/manual/en/intro.gma … nd%20TIFF.
Acording to PHP.net, same is valid for IMAGICK, I always used IMAGICK and do not get why I would want to use anything else. Neither works anyway.
So after reviewing this on the server and also doing some additional testing I was able to verify that none of the mentioned captchas work. Still.
So I began swapping themes around on my staging site: https://bullroarer.lotroshots.net/register.php . To my surprise: PHP-Captcha works in Modus Theme, I use bootstrap themes. It also works in Elegant, and probably a few more of the piwigo custom theme, but, again, not in any bootstrap-based themes I have tested so far.
Also filed an issue at the Github of the dev for PHP-Captcha.
Last edited by homdax (2023-10-01 14:18:20)
Offline
So again I had to create a user manually in the community plugin since captcha in bootstrap do not work.
I have no clue how many don't register and just give up, not trying to reach out to me.
Offline
Hi homdax,
I am using Crypto Captcha with Theme: Bootstrap Darkroom 2.5.18 and it works even under Piwigo 14.1.
Environment
Piwigo 14.1.0 Check for upgrade
Installed on 26 November 2016, 7 years 1 month 3 days ago
Operating system: Linux
PHP: 8.1.26 (Show info) [2023-12-29 14:33:28]
MySQL: 8.0.35-cll-lve [2023-12-30 03:33:28]
Graphics Library: ImageMagick 6.9.12-93
Cache size 1734.46 Mo calculated 10 seconds ago Refresh
Activated plugin list 31
Add < head > element
Additional Pages
Advanced Menu Manager
Change who added photo
Community
Crypto Captcha
Edit Filename
Embedded Videos
Extended Description
Grum Plugins Classes.3
GThumb+
Header Manager
Language Switch
LocalFiles Editor
Media Icon
Meta Open Graph
Most Commented
Permalink Generator
Perso Footer
Personal Favicon
Personal Plugin
Photo Update
Posted Date Changer
PWG Stuffs (gives an error even with Piwigo 14.1)
Rotate Image
RV Thumb Scroller
SmartAlbums
Smilies Support
Stop Spammers
user delete photo
User Tags
Offline
That's interesting... I am using Bootstrap default
Maybe using Bootstrap Darkroom but with another colour theme might work...
Nope, captcha image is still broken...
Tested with Boostrap Darkroom and the default theme... then I tested with something completely different.. Stripped responsive theme, still no working captcha
then I tried php Captcha again, but still nothing working and back to bootstrap darkroom > defult theme, and still nothing working...
Could it be a server dependency? My Webhost run CloudLinux
Offline
My theme is Theme: Bootstrap Darkroom 2.5.18 with Color theme Bootswatch Cyborg and Custom CSS.
The plugin is working, but fills my PHP error log file with:
PHP Deprecated: Using php-function "trim" as a modifier is deprecated and will be removed in a future release. Use Smarty::registerPlugin to explicitly register a custom modifier. in /include/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php on line 114
as I reported already here: [Plugin] Crypto Captcha
Offline