forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: bachokiko on November 30, 2010, 09:43:56 am
-
Hi guys,
First to say that you have developed a great product. I was looking for a gallery application and was thinking about 4images but once I saw CPG it did not take much to decide that this is The Gallery.
Now the problem I faced:
First I made a test installation on Ubuntu 10.04 and all was working fine. Then I made a fresh install on my hosting account and everything looks fine except captcha is not showinf any text. The image behind the text is visible but not the letters. I already checked and there is GD2 with FreeType support. You can have a look at: http://parkiram.com/captcha.php
Any ideas what is causing this?
Thanks in advance!
-
That's odd. Check if the fonts (images/fonts/) haven't been corrupted during the upload.
-
I have found the problem and it's the fonts path defined in captcha.php.
Once I changed the paths like that: $aFonts = array('/home/username/cpg/images/fonts/acidic.ttf', '/home/username/cpg/images/fonts/hurryup.ttf'); rather than just images/fonts/font.ttf captcha started working fine.
The OS is 6.4-RELEASE-p5 and I guess this is an environment setting which is causing the problem. On Ubuntu 10.04 everything works without any change.
-
FreeBSD 6.4-RELEASE-p5 :)