Page 1 of 2
[help] captcha does not appear
Posted:
Mon Sep 26, 2011 9:24 am
by dimasimple
at the register, CaptchaSecurityImages not Appear
and when I click mydomain.com/CaptchaSecurityImages.php. I get a warning
"Warning: imagettfbbox () [function.imagettfbbox]: Could not find / open font in / home/u838960994/public_html/CaptchaSecurityImages.php on line 60
Error in imagettfbbox function
"
Re: [help] captcha does not appear
Posted:
Thu Sep 29, 2011 1:12 am
by SamEA
Install all GDLibrary components and it should work fine. If you are on a shared or managed hosting package, ask your web hoster to enable/install those components for you.
Re: [help] captcha does not appear
Posted:
Sun Oct 02, 2011 12:58 am
by scoffer
There's a bug in the code.
open with your favorite text editor the file CaptchaSecurityImages.php
Go to line 28
change this:
var $font = 'monofont.ttf';
to this;
var $font = './monofont.ttf';
... so all you need to do, is to add "./" (without the quotas).
Cheers,
Sc
Re: [help] captcha does not appear
Posted:
Sun Oct 02, 2011 2:47 am
by ghost
SamEA wrote:Install all GDLibrary components and it should work fine. If you are on a shared or managed hosting package, ask your web hoster to enable/install those components for you.
hey i got php5-gd installed and still not showing and when i go download file it dose this
Not Found
The requested URL /download2.php was not found on this server.
and i check my server in /var/www/download2.php is there
im so lost
Re: [help] captcha does not appear
Posted:
Sun Oct 02, 2011 11:47 pm
by SamEA
scoffer wrote:There's a bug in the code.
open with your favorite text editor the file CaptchaSecurityImages.php
Go to line 28
change this:
var $font = 'monofont.ttf';
to this;
var $font = './monofont.ttf';
... so all you need to do, is to add "./" (without the quotas).
Cheers,
Sc
I never needed to do such a modification, what OS and CP are you using?
Re: [help] captcha does not appear
Posted:
Sun Oct 02, 2011 11:49 pm
by SamEA
ghost wrote:SamEA wrote:Install all GDLibrary components and it should work fine. If you are on a shared or managed hosting package, ask your web hoster to enable/install those components for you.
hey i got php5-gd installed and still not showing and when i go download file it dose this
Not Found
The requested URL /download2.php was not found on this server.
and i check my server in /var/www/download2.php is there
im so lost
Did you try scoffer's advise? If so and you still continue to have problems with the captcha, please contact your web hoster for more support. If all GDLibrary components are installed and is included in PHP's configuration, you should not encounter any problems.
Re: [help] captcha does not appear
Posted:
Mon Oct 03, 2011 12:09 pm
by ghost
cool thanks, it work editing that .php file,
but still got main problem why can't i download files. it says download2.php not found error 404 and the file is there.
I,m the owner of this server. i got no problem with access.
Re: [help] captcha does not appear
Posted:
Mon Oct 03, 2011 7:54 pm
by scoffer
SamEA wrote:scoffer wrote:There's a bug in the code.
open with your favorite text editor the file CaptchaSecurityImages.php
I never needed to do such a modification, what OS and CP are you using?
Pretty standard stuff. Debian 5, PHP 5.2.6-1+lenny9 with Suhosin-Patch 0.9.6.2 and self hosted ISPCP.
ghost wrote:cool thanks, it work editing that .php file,
but still got main problem why can't i download files. it says download2.php not found error 404 and the file is there.
I,m the owner of this server. i got no problem with access.
Good you got that working. This is just a guess for the second one, but seriously must have messed up the directory structure or reading the error message wrong ...or I'm just getting dumber every day. Can't really figure out anything that could cause 404. Can you copy & paste me exact link it's trying to load and from what page you transfer to the errorpage?
-Sc
Re: [help] captcha does not appear
Posted:
Tue Oct 04, 2011 12:49 pm
by ghost
I'm running Proxmox server with vm debian 6 running in it with LAMP installed, website location /VAR/WWW/(all in here)
and this is how i'm testing it.
-http://192.168.100.3/
-http://192.168.100.3/files.php
-http://192.168.100.3/download.php?file=505WC_youtube.com.rar (click on guest)
-http://192.168.100.3/download.php?file=505WC_youtube.com.rar (enter security code)
-http://localhost/download2.php?a=505WC_youtube.com.rar&b=c3c8ebd789b8915c121066e19f0c10ea (Not Found The requested URL /download2.php was not found on this server.)
let me know if u need no any thing else
-
Re: [help] captcha does not appear
Posted:
Wed Oct 05, 2011 2:28 pm
by ghost
Oh yer i went and start fresh server and it has same issue with. download2.php not found