Jump to content

Modules. Server 500 Error


Recommended Posts

Hi All,

 

For no apparent reason when I click on the modules tab in admin I'm now getting a internal server error.

 

I'm running on IIS7 so don't believe it can be a server error and I can't find the log file that will give me more info.

 

Can anyone shed any light?

Link to comment
Share on other sites

Internal server errors are notoriously vague, however the usual reason for them is a php script on your site is not completing - on a linux this can happen because it cannot find an include file for example. Another reason this can happen is when running fast-cgi and a file has a permission of 777 (instead of 755).

 

Have you installed any new modules, created any new folders or edited or added any files to your server recently. Have you made any changes to your hosting setup or upgraded any server components such as php.

 

If you have you could try reverting any changes to see if this fixes the problem.

 

I'm not familiar with IIS7 but I believe it can return this 500 error for even simple php errors if it has not been set up to report errors to the screen.

 

Set logging to E_ALL, and display_errors to enabled in your php.ini This should be enough to display these errors in IIS 7.

 

Also check your IIS settings, as it may be set to only show error messages locally. In the IIS 7 configuration editor this is under system.webServer->httpErrors. You will need to change errorMode to Detailed from DetailedLocalOnly. This will mean that anyone browsing your site will be able to see your error on screen - but it should help you debug the issue.

 

Hope this helps.

Link to comment
Share on other sites

×
×
  • Create New...