Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: [SOLVED] Security Image Not Working.

[SOLVED] Security Image Not Working. 15 years 6 months ago #4399

  • jrossi
  • jrossi's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
I just updated to 2.5.3a and now the security image is not working agian. I uninstalled the latest version and reinstalled it and it is still not working. I have disabled it for now but if you could look into this thanks!

Please Log in or Create an account to join the conversation.

[SOLVED] Security Image Not Working. 15 years 4 months ago #4625

  • ljgoho4it
  • ljgoho4it's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
I just purchased DT Register today.

I haven't had a ton of time to mess around with it.....but did notice that my security image does not work. In firefox it shows spot to enter code but no "security image" in safari I can see the place holder for the broken image.

I'm doing most of my work on my localhost (using mac with XAMP). Running Joomla 1.5.9 with Jevents 1.5RC. I wouldn't think that Jevents version has much do with the Captcha not working.

I also uploaded my current site to a live host and have the exact same thing. I thought it was something to do with server configs but for it to happen on both is a little much. Anybody else having this issue?

Would like for this to work!

The DT Register version is 2.5.5, download today - please let me know what you think. Any Ideas???

Please Log in or Create an account to join the conversation.

[SOLVED] Security Image Not Working. 15 years 4 months ago #4627

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
ljgoho4it - I answered your ticket (side note - ticket AND forum post is not needed ;) )

In looking on your site, it appears that you have the GD Library installed on your server, but you do NOT have FreeType support enabled in your php configuration. Please enable this... contact your host if you need assistance or just ask them to do it for you. Then your captcha should load fine.

For others, be sure you have the GD Library with FreeType support and also make sure permissions are set correctly... directories should be 755 and files 644.

Please Log in or Create an account to join the conversation.

[SOLVED] Security Image Not Working. 15 years 4 months ago #4630

  • ljgoho4it
  • ljgoho4it's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Im at a lost.......

this is what I got back from my hosting company:

"We curent have the Freetype enable (included with the GD package):
~~~~~~~~~~~~~~~~~~
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
~~~~~~~~~~~~~~~~~~


Make sure that the php file CHMOD setting is set to 755 and you may also want to check the Error Log in CPanel to see if its logging any errors. Please let us know if there is anything else we can do for you. "


I have looked at all my files and folders....all folders are set to 755 and files set to 644. I still have broken image link - not sure what else to look for.

I check the xampp server on my localhost it also should be running Freetype enabled and can't it to load on it either......very strange.

Is there any files that I should check? Thanks, LJ

Please Log in or Create an account to join the conversation.

[SOLVED] Security Image Not Working. 15 years 4 months ago #4649

  • ljgoho4it
  • ljgoho4it's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Alright figure I should report back since I've resolved my issues and think that it could be helpful for others.....

So after some research I noticed that the server on my laptop (running XAMPP for mac) does have freetype enabled.....so the security image should be working. BUT it was not....so that made me hunt around into some of the files.

I opened the "CaptchSecurityImages.php" located under the DTRegister component directory. In the file it shows a link to the author of the source code:
http://www.white-hat-web-design.co.uk/articles/php-captcha.php

then I went to their "help page":
http://www.white-hat-web-design.co.uk/articles/php-captcha-help.php

-the first thing it will state is to make sure the Font file is there...which it is.
-the second thing it will state is to add putenv('GDFONTPATH=' . realpath('.'));
above session_start() in the "CaptchSecurityImages.php".

(I have no idea what the piece of code is actually doing)

I did this and BAM the security image now works on my local server (XAMPP).

However, now I need it to work on my live host....which told me I had Freetype enabled and working.....well....it was not true.

To check you php configs - create a php file in notepad or text editor. Just insert: <?php phpinfo(); ?> at the top of the page, save as test.php.

Upload test.php to your root directory and call on it in a web browser. It will bring up all you php configs. In the GD section it should list Freetype enabled and version......mine did not.

I wrote a little nasty support ticket to follow up with my host on this. Told them that Freetype was not compiled to my php configs. They fixed it and now the security image is working fine with modification from earlier.

Cool!!.....I hope this helps someone that might be facing the same issue.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.470 seconds