PDA

View Full Version : Image Verification Image Missing After 3.7 upgrade


bluidkiti
Tue 29th Apr '08, 10:04pm
Image Verification image missing after 3.7 upgrade. What do I do to fix this? I have enclosed attachment showing the problem. For now I have shut off "New users will be required to pass the Human Verification test during registration".

Jake Bunce
Wed 30th Apr '08, 12:00am
I assume it was working before the upgrade? It might be a style problem. You can quickly determine this by testing it on the default style. Try to reproduce it on a default style:

Admin CP -> Styles & Templates -> Style Manager -> [Add New Style]

Create a new style with no parent. Then click that style's name in the Style Manager to view your forum with that style.

Otherwise try right clicking the broken image and viewing it directly. Sometimes directly loading a broken image will reveal a useful error message.

bluidkiti
Wed 30th Apr '08, 9:47am
Ok I did the creating another style and it still showed up the same - no image.

I next did as you said and checked the image and this error message appeared:

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

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

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

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

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

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

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

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

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

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

Now what do I do?

bluidkiti
Wed 30th Apr '08, 10:17am
Sorry, double post happened.
V
V
V

bluidkiti
Wed 30th Apr '08, 10:26am
reverted header and checked again still no image but when I check the image just a 1x1 pixel shows up.

http://www.cyberrecovery.net/forums/image.php?type=hv&hash=99cac54f5aa6f32f7bb107aea11388ef

But when I put this in http://www.cyberrecovery.net/forums/image.php this shows up:

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

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

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

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

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

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

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

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

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

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

Below in attachment is what should show up:

bluidkiti
Wed 30th Apr '08, 10:27am
Now what do I do? Thanks in advance for all help.

Wayne Luke
Wed 30th Apr '08, 10:29am
Contact your hosting provider and have them enable GD within PHP. Seems they may have upgraded or changed PHP and didn't enable it. This is very common on Windows servers where GD is not enabled by default.

bluidkiti
Wed 30th Apr '08, 10:33am
It was working before the upgrade and now it is not working since 3.7 upgrade. Would this still apply:

Contact your hosting provider and have them enable GD within PHP. Seems they may have upgraded or changed PHP and didn't enable it. This is very common on Windows servers where GD is not enabled by default.

bluidkiti
Wed 30th Apr '08, 10:34am
I have another site hosted with the same people and did the 3.7 upgrade to it and no problem.

Wayne Luke
Wed 30th Apr '08, 10:37am
Your error is caused by a missing function in PHP for GD support:
http://us3.php.net/imagecolorallocate

This indicates that the GD libraries are not available to PHP for some reason. The only people that can resolve that issue are your hosting support technicians.

AS hosting companies usually have more than one server, your other site can quite possibly be on a different physical machine which has PHP installed correctly.

petforums
Wed 30th Apr '08, 11:09am
Hi,

Yes I had the same problem. Rebuild PHP with GD True Type enabled in the options.

Thanks
Mark

bluidkiti
Wed 30th Apr '08, 11:31am
Rebuild PHP with GD True Type enabled in the options.

How does one go about doing this?

Tom_S
Wed 30th Apr '08, 12:39pm
I am looking at her phpInfo and GD is fine as a matter of a fact here is a screen shot of it. Since there is no True Type in GD and only Free Type I don't know where that part comes in unless I am missing something. As far as the PHP everything is functioning as it should. I am on bluehost and upgraded to 3.7.0 and all is well. I can't find anything so far on hers to cause this but I am sure there is something being overlooked. :confused:

Wayne Luke
Wed 30th Apr '08, 12:41pm
She will need to open a support ticket then.

Tom_S
Wed 30th Apr '08, 12:43pm
Thanks Wayne

bluidkiti
Wed 30th Apr '08, 1:55pm
Support Ticket Opened.

bluidkiti
Wed 30th Apr '08, 4:01pm
Problem solved.

I reuploaded 3.7 and during the process it (Image Verification Image) started working so don't know exactly where the problem was. Plus I set Human Verification Options on Image Verification and set Image Verification Options on GD and Random Slant. We're back in business so to speak. :-) Thank you for your help.