Page 1 of 1
CAPTCHA Anti-Spam Image Won't Load GD OK
Posted: Wed Jan 02, 2013 8:27 pm
by ravercreative
It was previously stated:
Try downloading and uploading the original files again - everything except hesk_settings.php, header/footer and "install" folder.
It's quite possible you saved the files as UTF-8 and have a byte order mark at the start of files.
This didn't work. Any thoughts?
Re: CAPTCHA Anti-Spam Image Won't Load GD OK
Posted: Thu Jan 03, 2013 3:08 am
by ravercreative
Fixed it.
Solution:
Error in settings.php
Must leave this intact:
/* URL of the gbook.php file. */
$settings['gbook_url']='
http://www.domain.com/gbook/gbook.php';
If I specified the actual url (worked before since 2009) in place of domain.com, got an error on line 46:
/* Use "Your website" field? 1 = YES, 0 = NO */
$settings['use_url']=0; (LINE 46)
Tried both 0 and 1 for this and still got the same error. So I left the domain.com and line 46 with '0'. That fixed it. Odd that it stopped working after 3 years for no apparent reason. But now everything is good

Re: CAPTCHA Anti-Spam Image Won't Load GD OK
Posted: Thu Jan 03, 2013 8:04 pm
by Henrie
The setting
/* Use "Your website" field? 1 = YES, 0 = NO */
$settings['use_url']=0; (LINE 46)
is used to enable/disable the use of the website field in the guestbook form where a visitor can fill the message to leave in the guestbook.
This setting has nothing to do with
/* URL of the gbook.php file. */
$settings['gbook_url']='http://www.domain.com/gbook/gbook.php';
The 'gbook_url' must always be set to the correct url to the gbook.php file to let Gbook function properly.
Greetings,
Henrie
Re: CAPTCHA Anti-Spam Image Won't Load GD OK
Posted: Fri Jan 04, 2013 3:23 pm
by Klemen
Henrie is correct, these changes don't effect the anti-spam image.
The most likely issue is you had utf-8 byte order mark (or some other error) in your old settings file hence the image didn't show correctly (broken sessions).