500 Internal Server Error

Jesper32

Member
Hi

I'm on a fresh server. I upload the files as required, set permissions on "Data" and Internal Data" to 777. But when I navigate to domain.com/install I get an immediate "500 Internal Server Error", what the heck could be wrong?

I haven't edited any files.

I had the excact same server setup, just with a previous domain, as I wanted to test the server before I moved my main domain, this worked fine. After I moved my main domain to this new host, all I get is this "500 Internal Server Error"

Any suggestions as to what could be causing this.

Thanks in advance
Jesper
 
Check the server error log - it should have entries which may help to identify the cause.
 
I did check the server error log in CPanel, but there is no log entries regarding this. Only error is a missing folder, that was linked previously
 
Is logging enabled?

I would expect something for a 500 error.

Without it, it's impossible to say what's causing it as it's a generic error.
 
I suppose so, as I can see those previous error messages.
But it's very strange as I already had it working with another domain, but after my host changed my server domain, I'm getting this error.
 
eryger.com
I have transferred xenforo so it links to there, so it should just be eryger.com/install to begin the installation
 
It's throwing a 500 error for the root domain for me.

I checked the browser console on the chance that there may have been something, but as I expected, there's nothing.

The only way to know what's happening would be from the error log entries.
 
Thanks for checking. Yes eryger.com is the root domain.
I deleted everything in my public_html and uploaded the folders and files one by one.

Now I can see something in the errorlog.
The first I get are these

Sat Mar 05 12:25:20.659011 2016] [access_compat:error] [pid 681063] [client my.ip.address:60371] AH01797: client denied by server configuration: /home/erygerco/public_html/library/
[Sat Mar 05 12:25:20.658144 2016] [access_compat:error] [pid 681063] [client my.ip.address:60371] AH01797: client denied by server configuration: /home/erygerco/public_html/internal_data/

Also when I upload the index.php file, thats when the server error appears.
 
Then it's down to server configuration and you're going to have to troubleshoot it on the server.
 
Thanks Brogan and Mike

I have been in contact with my host in hope, that they might be able to help. They asked if my xenforo installation was complete and if xenforo was domain specific. The latter I wasn't sure about, so I checked my xenforo license, and at least that is registered to my domain, so I guess that it is?

But they are extremely slow to reply and I'm almost positive that they will blame this on me, lol
 
It's domain specific in that it's connected to your license which is connected to that domain. It isn't explicitly tied to the domain though. The rgba.php file I gave as an example is probably an easy test for them because is has 0 external dependencies. If that's not working, it's pretty much saying PHP has a problem.

Unfortunately, if they're that slow to respond, it might be worth considering a different host (before you get too ingrained).
 
It's unrelated to the XF license or your customer account.
It's purely a PHP/server configuration issue.
 
I forwarded this information to them, thanks a lot Mike.

As a test, I just bought a small webspace at another host, with another domain (eryger.eu), and tried to do the installation from there with the same files, and this obviously worked flawlessly.
 
We don't recommend any in particular - it really depends on your requirements and how much you're willing to spend.
 
If you're using an old Apache version, that error generally means there are Allow from and Deny from directives that are preventing access.

If you're > Apache 2.2 or so, the Allow/Deny directives have been replaced with Require directives.

<Directory"your directory here">
Options Indexes Blah Blah Blah
AllowOverride All
Require all granted
</Directory>


That would likely also explain why it works with one host vs. another. The one where it works is likely running an outdated version of Apache.
 
Top Bottom