PHP Classes

Stopped Working

Recommend this page to a friend!

      HN CAPTCHA  >  All threads  >  Stopped Working  >  (Un) Subscribe thread alerts  
Subject:Stopped Working
Summary:Moved to new server - stopped working
Messages:3
Author:Khun Jack
Date:2007-11-02 18:36:04
Update:2007-11-03 13:09:33
 

  1. Stopped Working   Reply   Report abuse  
Picture of Khun Jack Khun Jack - 2007-11-02 18:36:05
I moved to a new server and now it doesn't work anymore.

No error message.

used phpinfo ... GD looks like
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled

If anybody has an idea what the reason could be (using this captcha class in 30 sites -small drama now).

All works perfect on my XAMPP dev environment under XP.

Previous version 1.1 and now same for 1.4.1

Thanks ya'll
Jack




  2. Re: Stopped Working   Reply   Report abuse  
Picture of Khun Jack Khun Jack - 2007-11-03 10:49:13 - In reply to message 1 from Khun Jack
I copied all the provided files .. all files dirs are 777

Running it it displays only
This is a demo of hn_captcha.class.php with a Standalone-Form:


Using the debug TRUE swicth
$captcha =& new hn_captcha($CAPTCHA_INIT, TRUE);


getting this:

This is a demo of hn_captcha.class.php with a Standalone-Form:

-Captcha-Debug: The available GD-Library has version 2.0.34
-Captcha-Debug: Extracts Config-Array in secure-mode!
-Captcha-Debug: Set messages to language: (en)
-Captcha-Debug: tempfolder is: (/home/adc/public_html/_tmp/)
-Captcha-Debug: TTF_folder is: (/home/adc/public_html/_captcha_tmp/fonts/)
-Captcha-Debug: Scans fontsdirectory for fontfiles!
-Captcha-Debug: Valid TrueType-files: (2)
-Captcha-Debug: Set current TrueType-File: (/home/adc/public_html/_captcha_tmp/fonts/comic.ttf)
-Captcha-Debug: Set number of noise characters to: (45)
-Captcha-Debug: Set image dimension to: (198 x 72)
-Captcha-Debug: Keep this params from original GET-request: ()
-Captcha-Debug: Check POST-Vars, current try is: (1)
-Captcha-Debug: Generate Keys, public key is: (9b65d)
-Captcha-Debug: Validating submitted form returns: (2)
-Captcha-Debug: Generate a string which contains current try: (23333322131323333212113133333311)
-Captcha-Debug: Generate private key: (AxNWZ)
-Captcha-Debug: Generate ImageStream with: (imagecreatetruecolor())
-Captcha-Debug: For colordefinitions we use: (imagecolorallocate())
-Captcha-Debug: We allocate one color for Background: (251-231-232)
-Captcha-Debug: Fill background with noise: (45)


Thanks for every hint

JAck
jack at pobox dot com

  3. Re: Stopped Working   Reply   Report abuse  
Picture of Khun Jack Khun Jack - 2007-11-03 13:09:33 - In reply to message 2 from Khun Jack
figured it out


the GD needs also freetype enabled.

So no issue anymore