mdj1 Posted November 14, 2011 Share Posted November 14, 2011 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 More sharing options...
cedricfontaine Posted November 14, 2011 Share Posted November 14, 2011 Do you have access to the php error log ? Is it your own server ? Link to comment Share on other sites More sharing options...
mdj1 Posted November 14, 2011 Author Share Posted November 14, 2011 Yes, it's my own server. I will see if I can find it. Link to comment Share on other sites More sharing options...
mdj1 Posted November 14, 2011 Author Share Posted November 14, 2011 Any Idea what it would be called so I can try and locate it. Also, just seen that error log = off in my php so I've just turned it on. Will see if it creates a file where I think it should. Link to comment Share on other sites More sharing options...
mdj1 Posted November 14, 2011 Author Share Posted November 14, 2011 can't find php_error.log anywhere? Link to comment Share on other sites More sharing options...
markb Posted November 15, 2011 Share Posted November 15, 2011 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 More sharing options...
cedricfontaine Posted November 16, 2011 Share Posted November 16, 2011 There is 2 parameters in your php.ini Display_errors and error_log will allow you to send error in a file. You should have a look to the documentation for php.ini. Link to comment Share on other sites More sharing options...
Recommended Posts