If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
AG: Captcha is not shown  XML
Forum Index » Advanced Guestbook Forum
Author Message
llsastre
Beginner

Joined: 26/04/2011 23:17:09
Messages: 26
Offline

I'm sorry so much! I've uploaded to different folder (for tests). Now is uploaded to right one.

This message was edited 1 time. Last update was at 30/04/2011 11:45:19

Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

You need to replace the captcha.class.php file in your lib folder with the new one.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
llsastre
Beginner

Joined: 26/04/2011 23:17:09
Messages: 26
Offline

Yes, I've done. I've uploaded image.php to gbook folder and captcha.class.php to gbook/lib folder matching old files. New captcha.class.php is a 16.0 kb file, and image.php is a 2.0 kb file.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

Ah was down to my bad coding. try this captcha.class.php instead.

This message was edited 1 time. Last update was at 01/05/2011 00:31:12


Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
llsastre
Beginner

Joined: 26/04/2011 23:17:09
Messages: 26
Offline

Done (captcha.class.php now is 16492 bytes)

This message was edited 1 time. Last update was at 30/04/2011 12:13:04

Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

OK managed to narrow it down to the createImageTTF function so something in there keeps changing. Make sure that all the font files in lib/fonts are set to be readable so chmod to either 755 or 777.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
llsastre
Beginner

Joined: 26/04/2011 23:17:09
Messages: 26
Offline

Folder gbook/lib/fonts is set to 755 and all files in are set to 755 too. Try it now.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

OK try this captcha.class.php and I will check it when I return from shopping.

This message was edited 1 time. Last update was at 01/05/2011 00:31:02


Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
llsastre
Beginner

Joined: 26/04/2011 23:17:09
Messages: 26
Offline

Done. New captcha file uploaded.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

Could you set me up with FTP access but limit me to the guestbook folder please. That way I can work on the captcha file live on your server rather than having to wait on you to upload each new version.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
llsastre
Beginner

Joined: 26/04/2011 23:17:09
Messages: 26
Offline

Sorry, I was out with my sons this afternoon. I can create an ftp account but it is out of site (it creates a folder for new user but out of httpdocs folder). I've asked to hosting administrators if I can share a folder of httpdocs. Probably they answer me on monday. If it is not possible, I'll send you my user and password to have full ftp access.

This message was edited 2 times. Last update was at 30/04/2011 22:00:39

Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

OK I mistyped in my debug so it was saying something was working when it wasn't. I have narrowed the problem down to the createimage function not always creating an image in createImageTTF. Try this captcha.class.php so I can see if the dimensions are always being set correctly. It also lets me try using createimagetruecolor instead of just imagecreate to see if that fixes anything.
 Filename captcha.class.zip [Disk] Download
 Description
 Filesize 4 Kbytes
 Downloaded:  1 time(s)


Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
llsastre
Beginner

Joined: 26/04/2011 23:17:09
Messages: 26
Offline

New captcha file is uploaded (17473 bytes).
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

Looks like it's trying to set the image height to a ridiculous height sometimes - Height = 57042531 and Width = 156 but it's not always failing at the same spot :-/

This message was edited 1 time. Last update was at 01/05/2011 12:00:01


Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
llsastre
Beginner

Joined: 26/04/2011 23:17:09
Messages: 26
Offline

The hosting administrators seems are thinking how to permit access to a single folder. They are a little bit slow to answer. So I've decided to implement your lazarus script, which it's even better for me than AG (I didn't know it).
Also I attach the spanish language file updated for it.
 Filename spanish-lazarus.zip [Disk] Download
 Description Spanish language file for Lazarusgb
 Filesize 6 Kbytes
 Downloaded:  1 time(s)

 
Forum Index » Advanced Guestbook Forum
Go to:   
Based on the open source JForum