• Support
  • 500 server error when accessing General settings

Hi guys, Im having issues accessing general settings from dashboard.
This is my 6th attempt at installing the script, tried php versions 8.0, 8.1 and 8.2
all to no avail.
A fresh install each time, same error. I am using latest version TI.
Help please ?![https://ibb.co/vZTMTpM] < << error log

You get the 500 error when accessing ‘general settings tab’ from dashboard and also when trying to edit child theme.

    11 days later

    Never seen that before in particular, but is it possible you don’t have php-gd installed and enabled?

      cupnoodles Hey, Yes I have gd extension installed , is weird as Ive done over 10 installs prior to this, all without issue. Everything works fine other than accessing general settings page.

        Is there anything uploaded into your media dir? And does you db point to any media files, in the settings table and the themes table?

        While I’m not able to repro the error you got, I can kind of get the same behavior by uploading an intentionally-broken .jpg file (just take a non-jpg and rename it to .jpg) and then setting it as site_logo. If I do so, then the whole site still works except for loading the Settings > General page, and trying to go there gives me the 500 error with this in the logs

        Intervention\Image\Exception\NotReadableException: Unsupported image type application/vnd.openxmlformats-officedocument.spreadsheetml.sheet. GD driver is only able to decode JPG, PNG, GIF, BMP or WebP files.
        in /var/www/html/vendor/intervention/image/src/Intervention/Image/Gd/Decoder.php:75 

          GaryBrighton So heres the thing, im using cpanel to host TI with various add on domain names. Now if i install the TI script to an add on domain name, it works fine, no errors. However if i install TI to my main domain (public html) it throws the error.

            cupnoodles So heres the thing, im using cpanel to host TI with various add on domain names. Now if i install the TI script to an add on domain name, it works fine, no errors. However if i install TI to my main domain (public html) it throws the error.

              cupnoodles And does you db point to any media files, in the settings table and the themes table? Nope, nothing in my DB points to media files.

                Hm yeah that’s super weird, could be a permissions issue in /tmp? I don’t know how cPanel works, but I could see a situation where multiple TI installations in the same filesystem get screwed up by trying to use the same /tmp filepath. Sorry I can’t be more help! Honestly, if I were in your shoes I would be approaching the point where I just spin up a new server/TI install and migrate the db over there.

                  cupnoodles Yes im thinking time to maybes install on a new server and see whatssup. Enjoy the rest of your weekend. Thanks for your time.