PDA

View Full Version : FreeType 2 GD captcha


Nytewind
Thu 10th Jul '08, 1:32pm
After several calls to vBulletin phone support we are at a loss.

Our NOC has installed according to the instruction given to us by Jake and Wayne, and according to them everything looks like it should but no answers as to why the captcha image isn't at all (just a red x image holder)

http://www.pregnancy.org/bulletinboards/image.php (http://www.pregnancy.org/bulletinboards/image.php)

Any ideas?
Thanks~Angelia

Steve Machol
Thu 10th Jul '08, 1:36pm
Enable phpinfo in the Admin CP, then provide the URL to your forums. This may help us troubleshoot this problem.

Admin CP -> vBulletin Options -> Server Settings and Optimization Options -> Public phpinfo() Display Enabled

Nytewind
Thu 10th Jul '08, 1:44pm
Done as requested
http://www.pregnancy.org/bulletinboards

Steve Machol
Thu 10th Jul '08, 1:48pm
That's not a vB forum and this doesn't work:

http://www.pregnancy.org/bulletinboards/?do=phpinfo

Nytewind
Thu 10th Jul '08, 1:50pm
It is a vb forum with a replacement board index...the original index can be found here.
http://www.pregnancy.org/bulletinboards/index_original.php

Steve Machol
Thu 10th Jul '08, 1:56pm
GD is fine. However it looks like you have Image Verification turned off.

Also this is a GD test:
http://www.pregnancy.org/bulletinboards/image.php?i=gd

Results:

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in [path]/includes/class_image.php on line 1694

Warning: imageline(): supplied argument is not a valid Image resource in [path]/includes/class_image.php on line 1697

Warning: imageline(): supplied argument is not a valid Image resource in [path]/includes/class_image.php on line 1698

Warning: imageline(): supplied argument is not a valid Image resource in [path]/includes/class_image.php on line 1699

Warning: imageline(): supplied argument is not a valid Image resource in [path]/includes/class_image.php on line 1700

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:3243) in [path]/includes/class_image.php on line 1382

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:3243) in [path]/includes/class_image.php on line 1383

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:3243) in [path]/includes/class_image.php on line 1384

Warning: imagejpeg(): supplied argument is not a valid Image resource in [path]/includes/class_image.php on line 1386

Warning: imagedestroy(): supplied argument is not a valid Image resource in [path]/includes/class_image.php on line 1387

I've never seen those results before. My guess is that you have installed an add-n that is causing this.

Nytewind
Thu 10th Jul '08, 1:58pm
At this time we do have image verification turned off so that people can still register for the boards. We are manually activating accounts. If we leave it on, people are unable to register.

We have not installed any add-n's

(I have also disabled the php info, please let me know if it is still needed)

Steve Machol
Thu 10th Jul '08, 2:01pm
As per those errors, either GD is not installed correctly, or you have installed add-ons that are causing this. My guess is the latter.

Nytewind
Thu 10th Jul '08, 2:03pm
This install of vBulletin was done by the vBulletin folks. We have not installed any add-on's at all.

Steve Machol
Thu 10th Jul '08, 2:30pm
You do have add-ons, including 'Latest Active Threads' and Chat. Neither of those are default vB features.

To troubleshoot this, first reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

[Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

Next, disable all plugins.

Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it. Do you have the same problem?

Nytewind
Thu 10th Jul '08, 2:56pm
Not arguing with you, but in the previous version of vbulletin 3.6 and up until 3.7.2 our captcha worked even with chat and recent posts. Why would it not work now due to those?

Steve Machol
Thu 10th Jul '08, 3:00pm
But you said quite clearly you have no add-ons.

This install of vBulletin was done by the vBulletin folks. We have not installed any add-on's at all.

Nonetheless nothing in the default vB would cause this. You now need to follow my instructions.