"ImageColorAt() appears to be broken on this install" error message
Posted by Mark [Elevated X Support], Last modified by AJ Hall on 01 November 2017 03:28 PM

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;

(0 vote(s))
Helpful
Not helpful

Comments (0)