Image verification - broken image

More
18 years 1 month ago #73 by Ruby
I can't seem to find any instructions on setting up the guestbook. It seems to be working properly on my test site, except for the image verification. I keep getting a broken image there. Am I missing something? It's in a test area on my site: www.blackdog.net/test/santa/ I definitely need the image verification function, so any help would be appreciated.

Thanks!
Ruby
blackdog.net

Please Log in or Create an account to join the conversation.

More
18 years 1 month ago #74 by Pete
Hi,

That broken image indicates that the image verification image did not generate properly. Double check and make sure that your hosting account does in fact have GD Libraby 2.0.x installed on your server.

DigiOz Webmaster
www.digioz.com

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago #1146 by kylboy06
I am having the same problem, the image is broken for the image verification. I thought GD version was too low, but you can see here www.thehammakers.net/phpinfo.php that it isn't. Also, here is the config file I am using.

It is exactly as follows, except the username, password, and blocklists have been edited for obvious reasons. If anyone has any suggestions on how to fix this problem, please let me know, I have been trying to figure this out for almost a month now, with no success, I even switched from hosting the site on my own server, to godaddy hosting, because I thought it might help, and with as much spam as I get, I have to have the image verification feature. Thanks.
Code:
<?php // Variables for making a field optional in form ------------------------------------- $email_optional = 1; // Set "1" for optional email, "0" to make it required $name_optional = 0; // Set "1" for optional name, "0" to make it required $location_optional = 1; // Set "1" for optional location, "0" to make it required $message_optional = 0; // Set "1" for optional message, "0" for required // Variables for notifying administrator when a new message is posted ---------------- $notify_admin = 0; // Set "1" to notify administrator through email // when a new guestbook entry is written. // Warning: To use this feature you will have to have // your "SMTP" and "smtp_port" setting in php.ini set. // Enter the admin notification email subject bellow $notify_subject = "You have a new entry in your DigiOz Guestbook"; // Enter administrative email to receive notification $notify_admin_email = "webmaster@yourdomain.com"; // Body of the notification message $notify_message = "A new entry has been submitted to your DigiOz Guestbook."; // Variable for choosing language file name ----------------------------------------- $default_language = "language.php"; // Image Verification Feature ------------------------------------------------------- $image_verify = 1; // Do Image Verification to prevent spam post // This option requires your PHP to have been // compiled with GD 2.0.x or higher library so // it may not work with all server environments. // However, image verification is the MOST effective // way of getting rid of spam, so we highly recommend it. // Admin Interface Username --------------------------------------------------------- $_Username = "<--Username-->"; $_Password = "<--Password-->"; // Flood protection setting --------------------------------------------------------- $gbflood = 0; // Set "1" to prevent flooding, "0" to disable it $referersKey = 0; // Set "1" to check to see where submitted guestbook // messages are coming from or "0" to disable it $referers = array ( 'thehammakers.net', // Your domain name without WWW 'www.thehammakers.net', // Your domain name with WWW '208.109.78.140'); // IP Address of your site $gbIPLogKey = 1; // Set "1" to log IP of Visitor for each post "0" to disable $banIPKey = 1; // Set "1" to block posting of banned IP or "0" to disable // --------------------------------------------------------------------------------- // Bellow you can list known IP addresses you would like to block. ----------------- // We have given you a list of known spammers bellow. Feel free -------------------- // to either use our list or delete our list and create your own ------------------- // based on the IP logs of the guestbook. For updates to our list ------------------ // of known spammers please visit www.digioz.com or email our ---------------------- // tech support team. -------------------------------------------------------------- // --------------------------------------------------------------------------------- $banned_ip = array(); $banned_ip[] = '195.225.176.57'; $banned_ip[] = '212.62.19.185'; $banned_ip[] = '202.3.130.20'; $banned_ip[] = '222.104.7.196'; $banned_ip[] = '61.33.229.80'; $banned_ip[] = '63.138.25.195'; $banned_ip[] = '205.208.226.61'; $banned_ip[] = '213.46.224.101'; $banned_ip[] = '167.193.194.101'; $banned_ip[] = '207.63.100.162'; $banned_ip[] = '210.177.248.130'; $banned_ip[] = '195.225.176.57'; $banned_ip[] = '80.58.50.107'; $banned_ip[] = '80.58.33.170'; $banned_ip[] = '80.58.11.42'; $banned_ip[] = '207.63.100.163'; $banned_ip[] = '211.233.9.201'; $banned_ip[] = '82.236.86.223'; $banned_ip[] = '63.98.230.188'; $banned_ip[] = '195.228.156.106'; $banned_ip[] = '200.9.37.220'; $banned_ip[] = '200.57.91.108'; $banned_ip[] = '69.212.48.169'; $banned_ip[] = '61.0.62.4'; $banned_ip[] = '12.160.225.230'; $banned_ip[] = '219.93.174.101'; $banned_ip[] = '203.162.27.199'; $banned_ip[] = '66.94.81.202'; $banned_ip[] = '210.113.222.227'; $banned_ip[] = '59.23.9.141'; $banned_ip[] = '58.227.196.150'; $banned_ip[] = '59.23.9.141'; $banned_ip[] = '218.26.207.66'; $banned_ip[] = '84.254.189.37'; $banned_ip[] = '203.162.27.195'; $banned_ip[] = '202.101.173.69'; $banned_ip[] = '203.145.159.45'; $banned_ip[] = '63.138.25.195'; $banned_ip[] = '207.63.100.162'; $banned_ip[] = '80.56.174.130'; $banned_ip[] = '211.53.64.127'; $banned_ip[] = '200.2.128.2'; $banned_ip[] = '204.113.91.19'; $banned_ip[] = '94.76.206.30'; // Bad word filter for guestbook ----------------------------------------------------- $gbBadWordsKey = 1; // Set "1" to filter bad words, "0" to not filter $gbBadWords = array( "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->"); // Spam Detection ------------------------------------------------------------------- $gbSpamKey = 1; // Set "1" to Block Spam based on Keyword entered $gbSpam = array ( "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->", "<--badword-->"); // End of Configuration File -------------------------------------------------------- ?>

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago #1150 by Pete
Hello kylboy06,

The reason your image verification is not working is because of the fact that your webhost is inserting advertisement HTML into the random.php file:
Code:
ÿØÿà</iframe></noscript></object></layer></span></div></table></body></html><!-- adsok --> <script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>

This automatically turns the image normally rendered by "random.php" file into an HTML file (because of the HTML content), which is preventing the image from showing up.

What you have to do is to contact your webhost and explain this issue to them and ask them to turn off Advertisement inserting for that one file "random.php".

Thanks,
Pete

DigiOz Webmaster
www.digioz.com

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago #1154 by kylboy06
thank you, this is exactly what is wrong, I realize it now, because when I right clicked on the broken image and told it show image, it showed me the random characters that appear before the ad. My next question is, is there any easy way to get around this, because I called godaddy, and they are in no way willing to remove the ad. So is there some kind of work around, like would I be able to use free hosting elsewhere, that doesn't have as much space/bandwidth, to host just the random.php file, and somehow link it to the guestbook on the godaddy hosting, or maybe something simpler?

Please Log in or Create an account to join the conversation.

More
14 years 10 months ago #1157 by Pete
You could try using a free PHP webhosting like 110mb:

www.110mb.com/

Install your guestbook on that site, and reference it from your site inside an iframe.

Pete

P.S. I can obviously not guarantee 110mb's webhosting. I have not used their service in the past, but from what I read on their site it would do the trick for you.

DigiOz Webmaster
www.digioz.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.125 seconds
Powered by Kunena Forum