Jump to content

500 error when visiting the backend


roelof
 Share

Recommended Posts

Maybe you have a .htaccess problem. Try to replace:

Options -Indexes
Options +FollowSymLinks

with

# Options -Indexes
# Options +FollowSymLinks

Sometimes just commenting out Options +FollowSymLinks is all you need.

Though, when I have had that problem, I have needed to comment it out of htaccess to install in the first place.

Link to comment
Share on other sites

Were you able to complete the install before the 500 started occurring? If so, did you get any error messages, particularly during the compatibility check? I'm assuming this is an Apache 500 error, and not a ProcessWire 500 "Unable to complete this request due to an error" message. To me it sounds like something specified in the .htaccess is disallowed by the host. The best way to troubleshoot is probably start commenting stuff out in there by placing a '#' in front of each line, testing one at a time.

Link to comment
Share on other sites

I found the offending line.

When I commit this line :

RewriteRule ^(.*)$ /index.php?it=$1 [L,QSA]

Then I see the frontpage instead of the backend but no error.

That is the one rule that you cannot do without. 

Try uncommenting this rule in the .htaccess file:

RewriteBase / 

If you are running from a subdirectory off your hostname, then add that subdirectory to it.

If you still get a 500 error, try commenting the line that you mentioned, and then uncommenting the alternative one a few lines below it, where it says this:

  # ----------------------------------------------------------------------------------------------- 
  # If using VirtualDocumentRoot: comment out the one above and use this one instead.
  # ----------------------------------------------------------------------------------------------- 
  # RewriteRule ^(.*)$ /index.php?it=$1 [L,QSA]

If you still get a 500 error after all that, chances are your web host has either broken or limited access to Apache's rewrite engine, and you'd probably need to talk to them about fixing it. Please let us know what you find. 

Link to comment
Share on other sites

Theres clearly something wrong with the hosting as stated above by Ryan a possible next step would be to call the hosting support to ask if theres something regarding htaccess rewrite settings or possible other setting interferering. A 5O0 server error has most of the time to do with htaccess.

Link to comment
Share on other sites

While the result was different, we did see an odd issue once when someone FTP'd ProcessWire to the server in ASCII (rather than Binary) mode. So that would be another thing to double check, that the files FTP'd in binary mode. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...