I upgraded to the last rev, but the pligg captcha is always available in the admin menu
Available Captchas
* Pligg Default Captcha | Enable
* reCaptcha | Enable | Configure
* WhiteHat Method | Enable | Configure
* Math Question | In Use | Configure
and the whitecaptcha doesn't work, there is a problem with the image.
<img src="/modules/captcha/captchas/WhiteHat/CaptchaSecurityImages.php"/>
if i open the link i have this error
Fatal error: Call to undefined function: imagettfbbox() in /modules/captcha/captchas/WhiteHat/CaptchaSecurityImages.php on line 60
![]() |
| | LinkBack | Thread Tools | Display Modes |
| ||||
| captcha problem (rev. 58)
__________________ My pligg site: www.upnews.it |
| ||||
|
Thanks for the bug report, I forgot to remove the default module from SVN. I had someone look at the Pligg and they made a change to the CaptchaSecurityImages.php thinking they were fixing a problem with Linux computability, but it seems they broke it altogether. Easy fix is to change Code: realpath($this->font) Code: $this->font I will make the change to the SVN right now. In the future please post bug fixes to Pligg Projects.
__________________ Need a Pligg Host? Get 3 free months when you buy a year of hosting. Use the coupon PLIGG at either... MidPhase hosting starting at $7.95/month. ANhosting hosting starting as low as $4.95/month. Last edited by Yankidank; 08-23-2008 at 10:08 PM.. |
| ||||
|
ok tnx, long time I'm on the forum, I had never seen that section ![]() remove also Code: <li>Pligg Default Captcha | {if $captcha_method eq "default"}<b>In Use</b>{else}<a href="module.php?module=captcha&captcha=default&action=enable">Enable</a>{/if}
{* | <a href="module.php?module=captcha&captcha=default&action=configure">Configure</a> *}
</li>
__________________ My pligg site: www.upnews.it Last edited by peppolone; 08-24-2008 at 06:08 AM.. |
| ||||
|
I tried it but always Fatal error: Call to undefined function: imagettfbbox() in /modules/captcha/captchas/WhiteHat/CaptchaSecurityImages.php on line 61
__________________ My pligg site: www.upnews.it |
| ||||
|
I'll test this out tonight or tomorrow morning. I reverted the changed code to what it was so it shouldn't have a problem. Maybe I missed something.
|
| ||||
|
I just tested on localhost, and the image is displaying fine with the latest revision (60). Does line 61 of CaptchaSecurityImages.php read the same as below? PHP Code: |
| ||||
|
yes $textbox = imagettfbbox($font_size, 0, $this->font, $code) or die('Error in imagettfbbox function'); This function requires both the GD library and the » FreeType library.
__________________ My pligg site: www.upnews.it |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pligg Captcha | Yankidank | Wiki Articles | 1 | 08-13-2008 02:25 AM |
| Registering + Captcha Problem | Roland | Bug Report | 1 | 05-22-2008 03:53 PM |
| CAPTCHA Image Problems : Some Tips | roschler | Bug Report | 3 | 07-29-2007 08:15 PM |
| CAPTCHA (I know, I read the other posts on this already) | doctorgirlfriend | Bug Report | 4 | 04-10-2007 10:40 PM |
| Problem form doesn't work! | nabil | Bug Report | 1 | 04-01-2006 08:53 PM |






Linear Mode

