Jump to content

Recommended Posts

Posted

Hello,

When I try to visit the backend I see a 500 error.

Can someone help me figure out why this happens and how to solve this ?


Roelof

Posted

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

Options -Indexes
Options +FollowSymLinks

with

# Options -Indexes
# Options +FollowSymLinks
Posted

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.

Posted

@Joss : no, this is a new installed processwire

@Nico : I did this and the problem stays.

@Ryan : This directory is empty, so I cannot check the logs.

Roelof

Posted

HI Roelof

are any other directories empty? In other words, has this installed properly?

I wonder if your installation is missing bits....

Posted

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.

Posted

Hello,

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.

Roelof

Posted

Try set the /site/ folder du CHMODE 777 (write permissions). If it (or parts of it) doesn't have write permission the error log can't be written.

Posted
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. 

Posted

I have found the backend but it has no layout.

And when I log in as admin and my password I see this message:

This request was aborted because it appears to be forged

Roelof

Posted

@soma : I can provide more info as soon as I know which info you need.

The only thing  I know is that the provider is pcextreme from the Netherlands.

Roelof

Posted

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.

Posted

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. 

Posted

Thanks, I ftp'd all the file is binary mode and now I cannot install Processwire anymore.

So I give up. Everybody thanks for the help and patience with me.

Roelof

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
  • Recently Browsing   0 members

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