yesterday I created a new album and when I tried to upload the images I got this message…this was surprising because last month I uploaded a lot of images without any problem, and the GD module is enabled…what could have changed?..I asked the technical support of my host today and they checked that everything is OK there…HELP!
I tried reverting to 8.2 and 8.1 versions unsuccessfully and tried to upload images to another already working album and go the same message…so, I’m lost
WAIT!!!..I went a little more back with the php versions: when I set it to 8.0 instead 8.1,8.2 and 8.3, it worked!!!..I wonder why this happened?..any clue?
Hi @aebolzan, it looks like the gd module isn’t installed or enabled. Can you take a look at your PHP Info page on Backlight for both versions 8.0 and at least one of 8.1, 8.2 and 8.3 and look for a section on gd? You can get to that page via the Backlight Admin by visiting Admin > Special Links then clinking on the ‘View PHP Info’ link.
Hi Ben!..you are absolutely right!..for php versions above 8.0 there is no GD section in the list of php info…although it seems that it is enabled in the host (for instance see what I get for 8.1)…
Hi Agustin, I wonder if your host is seeing something like the selected gd checkbox and assuming that means it is actually installed?
I suggest providing them with a screenshot of the gd section from your PHP Info page and tell them that the section is there for PHP 8.0 and not for 8.1, 8.2 or 8.3.
Can you search for the text gd in the 8.0 PHP Info and see if anything else related comes up, such as a gd.ini file? And see if the equivalent isn’t set for 8.1/2/3?
well…after a long chat with the technical section of the Host I got first one answer: “In general this problem arises when in the .htaccess you have some Handler or configuration that blocks changes in php”…and one hope: the administrators are revising the system in order to detect the problem…but after one hour I got no answer…so if I got no one today, I will leave the php at 8.0 and work with it until I find that I need the upgrade for Backlight in a next version…thanks Ben!
Hi @aebolzan, hopefully they’ll come good with a fix.
I don’t see how anything we’ve put in .htaccess would affect the overall availability of gd as shown in the PHP Info page, or why that would only affect specific versions of PHP. We just don’t have code like that.
Can you take a look at your .htaccess files at both the top of your site (e.g. under public_html) and under the backlight directory to see whether there are any PHP-specific changes that may have crept in from your host automatically updating the files?
Backlight 6 currently supports PHP 7.1 and up. We have no plans to limit the backwards compatibility any further than that (for example to 8 or higher). We only break compatibility if there is a pressing need to. In the case of 7.1 we had the choice of either supporting 5.6 to 8.3 or 7.1 to 8.5 (and above), so keeping compatibility before 7.1 meant breaking compatibly with the latest versions of PHP, 8.4 and 8.5.