Solved

getting a 500 browser error using php iis7 windows server 2008

Posted on 2012-03-27
10
503 Views
Last Modified: 2012-08-13
do not just tell me 'event viewer'

how can I see what caused the 500 error

could this be a database error because my database is getting larger

since I have access to the server (windows server 2008)
answer must be server side


please do not give me a client side answer about firefox or ie browser
0
Comment
Question by:rgb192
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 5

Expert Comment

by:cdfs
ID: 37775157
500 is a server-error. The exact cause can't be told with the information you provided. You have to check your log-files. My best bet would be some programming-error in php, maybe trying accessing some database-data that is not there.
0
 
LVL 17

Expert Comment

by:Kent Dyer
ID: 37775167
Remember Windows 3.1?  Unidentified Application Error?  That's nice, but doesn't tell you much, just like the 500 error.  You know there is a problem, whether it is server, web, database, etc.  You are going to have to start peeling the layers of the onion and start troubleshooting..  Has the section of your code worked previously?  Are you sending in some odd character code?  Do you have one of the odd character codes in your database?  Noticed you stated in your keywords: IIS, PHP..  Does that mean you are using the Apache Re-director from IIS?  There is another level of complexity here..

I know what I wrote kind of goes here and there, but should give you some direction to look at.

HTH,

Kent
0
 
LVL 6

Expert Comment

by:ingriT
ID: 37776040
And regarding "do not just tell me 'event viewer'", have you checked your event viewer?

And you could try turning of your HTTP friendly error messages, sometimes you get a better error in your browser that could give you a clue.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 5

Expert Comment

by:perezjos
ID: 37781048
IIS7 will only send detailed errors to localhost clients by default. you may try to run the page on the server or to change this behavior, you would need to change system.webServer/httpErrors/errorMode property from default DetailedLocalOnly to Detailed. you may found it in \windows\system32\inetsrv\config\schema\IIS_Schema.xml.
0
 

Author Comment

by:rgb192
ID: 37787062
where is the error log
0
 
LVL 5

Expert Comment

by:cdfs
ID: 37787508
For IIS it should be in the event viewer. I don't know if php has his own error-log on windows.
0
 

Author Comment

by:rgb192
ID: 37822368
where in event viewer
0
 

Author Comment

by:rgb192
ID: 37835828
I click on event viewer, where do I click next
0
 
LVL 5

Accepted Solution

by:
cdfs earned 500 total points
ID: 37836178
I searched a little bit, as I'm not really a IIS-friend. See http://www.iis.net/ConfigReference/system.applicationHost/sites/siteDefaults/logFile for how to configure logging in IIS. As far as I understood the default logfile-location should be in inetpub\logs\.
0
 

Author Closing Comment

by:rgb192
ID: 37876795
I googled other iis logging methods and this answer lead me in the correct direction to find error
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question