ATTENTION CLIENTS:
Most of our staff will be preparing for and attending the AVN Expo. We appreciate your patience between now and when we return on Jan 26.

"ImageColorAt() appears to be broken on this install" error message Print

  • 0

Problem:

The error "ImageColorAt() appears to be broken on this install. Contact your host." appears in the admin panel.

Reason:

The software requires this function to be available and working for image processing. When this function is either unavailable or not functional, this error message will appear.

Solution:

The host will need to correct this within their install of PHP and the GD library.

Test:

Here's some PHP code that will test whether or not the ImageColorAt() function works properly:

=====================

<?php

$im = imagecreatetruecolor(2, 2);
imagefill($im, 0, 0, imagecolorallocate($im, 255, 255, 255));
$rgb = imagecolorat($im, 1,1);

if ($rgb !== false)
{
        echo "ImageColorAt retrieved a value";
}
else
{
        echo "ImageColorAt did not retrieve a value. There is an error with GD with this install.";
}

exit;


Was this answer helpful?

« Back