Welcome Guest, Not a member yet? Register   Sign In
DX Auth 1.0.6 (Authentication library)

[eluser]aidanmcg33[/eluser]
I have installed dx_auth as per instructions and my captcha image is not appearing. I have checked that gd library is installed and double checked the directories listed in the guide. What could be wrong? I am not getting the image missing box, i dont get any <img

[eluser]Velo Studios[/eluser]
[quote author="aidanmcg33" date="1229886511"]I have installed dx_auth as per instructions and my captcha image is not appearing. I have checked that gd library is installed and double checked the directories listed in the guide. What could be wrong? I am not getting the image missing box, i dont get any img[/quote]

edit your .htaccess file Wink

RewriteCond $1 !^(index\.php|css|img|js|captcha)

[eluser]aidanmcg33[/eluser]
Edit it to what?


this is what it currently contains:

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|img|images|css|js|captcha|robots\.txt|favicon\.ico)
RewriteRule ^(.*)$ index.php/$1 [L]

[eluser]Velo Studios[/eluser]
[quote author="aidanmcg33" date="1229893143"]Edit it to what?


this is what it currently contains:

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|img|images|css|js|captcha|robots\.txt|favicon\.ico)
RewriteRule ^(.*)$ index.php/$1 [L][/quote]

I added

RewriteCond $1 !^(index\.php|css|img|js|captcha)

...the captcha to the edit there and it started working for me...hmmm


here is my file

RewriteEngine on
RewriteCond $1 !^(index\.php|css|img|js|captcha)
RewriteRule ^(.*)$ /dx-auth-test/index.php?/$1 [L]

[eluser]aidanmcg33[/eluser]
I changed the second last line to the one you provided but it still doesn't work.

[eluser]aidanmcg33[/eluser]
thanks abcdom but it still doesnt work.

[eluser]Archeus[/eluser]
1- Check your php config. Is the GD2 extension enabled ?

2- The captcha do not appears each time. Try to validate the form with wrong data, and DX auth will make the captcha appears as a spam bot/bruteforce protection.

3- Check this in your DX auth config file :


// Registration
$config['DX_allow_registration'] = TRUE;
$config['DX_captcha_registration'] = TRUE;

// Login
$config['DX_captcha_login'] = FALSE;

[eluser]aidanmcg33[/eluser]
I can verify that step 2 and 3 have been followed and it still does not work. How exactly do i verify that the gd2 extension is enabled?

[eluser]jaswinder_rana[/eluser]
You can run phpinfo() function and see if it's enabled or not.

Make sure 2 things

- your captcha folder is in the same directory as index.php (unless you changed it)
- Make sure you have write permission on captcha folder

[eluser]aidanmcg33[/eluser]
Capchta folder is in same directory as index.php and i have given this folder 777 permission.

This is in the gd section of the phpinfo() results

GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled




Theme © iAndrew 2016 - Forum software by © MyBB