XF 1.5 Internal Server Error When Installing Gallery

When I attempt to install the Gallery I receive an Internal Server Error, however, if I go back into the control panel, it shows the Gallery as installed.

Any ideas?

Thanks in advance!
There are two:

Premature end of script headers and mod_fcgid: read data timeout in 31 seconds

Works fine if I upload the file versus choosing to install from the server.

Chris D

XenForo developer
Staff member
I recommend re-uploading the files in the first instance. If the issue continues, use a different FTP client. FileZilla is sometimes problematic.
Thanks for the response, issue still exist...forget that I mentioned it works if I upload the file and not choose to install from server.

Did a fresh install of Xenforo and still the same issue.
Last edited:


XenForo developer
Staff member
Looks like your server is forcibly killing the script after 31 seconds if it doesn't finish running. For an import of an add-on, this can potentially be triggered. I'm not sure why it'd work when uploading the file to be honest as the same code is triggered, but if that works... Otherwise, you may need to contact your host about this limit.
Thanks, I can up the max execution time, however, I have installed the gallery several times on the server and it has never happened before. Any idea why it would be happening now?


XenForo developer
Staff member
There can always be slight variations in execution time. It will vary based on the size of the add-on, software on the server and other things happening. It's possible you were just short of the mod_fcgid limit before so a slight increase is now triggering this error.