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?
CAPTCHA Anti-Spam Image Won't Load GD OK
-
- Posts: 2
- Joined: Wed Jan 02, 2013 8:23 pm
-
- Posts: 2
- Joined: Wed Jan 02, 2013 8:23 pm
Re: CAPTCHA Anti-Spam Image Won't Load GD OK
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
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
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
/* 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
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Re: CAPTCHA Anti-Spam Image Won't Load GD OK
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).
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).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools