[help] captcha does not appear

Any hacks and modifications will be in here...

Re: [help] captcha does not appear

Postby scoffer » Wed Oct 05, 2011 6:09 pm

ghost wrote: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
-


I suggest your localhost is pointing to 127.0.0.1 and not 192.168.100.3.

Try using the link with url http://192.168.100.3/download2.php?a=50 ... e19f0c10ea

If it works, you need to modify your /etc/hosts file to make new imaginary hostname and put that on site configs. or simply put the site on live server with not-internal IP address.

-Sc
scoffer
Standard Member
 
Posts: 5
Joined: Sat Oct 01, 2011 4:02 pm

Re: [help] captcha does not appear

Postby ghost » Thu Oct 06, 2011 4:28 pm

wow it WORKS! :D :D :D :D :D :D
thanks

can you explain a bit more in detail to fix problem

I'm going to be running 1 on LAN and later on online

sorry but i haven't used linux in ages :|
ghost
Standard Member
 
Posts: 6
Joined: Sun Oct 02, 2011 1:19 am

Re: [help] captcha does not appear

Postby scoffer » Thu Oct 06, 2011 7:02 pm

ghost wrote:wow it WORKS! :D :D :D :D :D :D
thanks

can you explain a bit more in detail to fix problem
I'm going to be running 1 on LAN and later on online
sorry but i haven't used linux in ages :|


Ok, let's give it a shot. Thou it's something around 24 hours since I've last slept, so don't get upset if instructions include some insanity like jumping while standing on your head or such :)

On your site admin page (http://192.168.100.3/admin.php) go to settings and find "Script URL"

Set Script URL to something you wish your domain name would be... for example http://myownpersonalstorage.com/
Then you open up console from your debian (or ssh connection, however you like) and with root account (or with if you use sudo, simply add command "sudo" in front) "nano /etc/hosts" witch will open up text editor to your hosts file. There you will add like saying "192.168.100.3 myownpersonalstorage.com".
Press control + o to save, control + x to exit text editor.
Now you should have working configuration on your local linux.

Downside is that if you get other private IP address for your server, you need to update that IP into hosts file but hey...isn't that supposed to be just temporary till publication of your brand new wonderful file hosting site anyways :)

-Sc
scoffer
Standard Member
 
Posts: 5
Joined: Sat Oct 01, 2011 4:02 pm

Re: [help] captcha does not appear

Postby cranki3 » Thu Dec 01, 2011 6:46 am

Thanks scoffer
cranki3
Newbie Member
 
Posts: 1
Joined: Wed Nov 30, 2011 10:19 pm

Re: [help] captcha does not appear

Postby chriisSsjoseph » Thu Dec 29, 2011 6:41 pm

I have same problem and I can not fix! I did all what you have told and nothing.
chriisSsjoseph
Newbie Member
 
Posts: 2
Joined: Thu Dec 29, 2011 3:58 pm

Re: [help] captcha does not appear

Postby SamEA » Fri Dec 30, 2011 6:11 pm

Did you try adding ./ before monofont? Also, are you sure GDLibrary is installed and enabled on the webserver? You can check this by PHPINFO() or by your web hoster (if your package is managed).
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: [help] captcha does not appear

Postby ghost » Tue Mar 27, 2012 10:28 am

sorry havent replayed been working away with no net :( :( but any way it fix it thanks for all the help :)
ghost
Standard Member
 
Posts: 6
Joined: Sun Oct 02, 2011 1:19 am

Re: [help] captcha does not appear

Postby Silfro » Sun May 13, 2012 8:54 am

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

thx it helped me!
Silfro
Premium
 
Posts: 11
Joined: Sun May 13, 2012 2:12 am

Re: [help] captcha does not appear

Postby CRY » Sun Jun 10, 2012 3:35 pm

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

Thank You!
CRY
Newbie Member
 
Posts: 1
Joined: Sun Jun 10, 2012 2:26 pm

Re: [help] captcha does not appear

Postby nayanasri » Fri Mar 08, 2013 11:33 pm

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


This just helped me too .... :ugeek:
nayanasri
Standard Member
 
Posts: 5
Joined: Sun Feb 10, 2013 10:12 pm

Previous

Return to Hacks and Modifications

Who is online

Users browsing this forum: No registered users and 7 guests

cron