Solved

PHP issue ( need ASAP Please)

Posted on 2014-02-18
7
235 Views
Last Modified: 2014-03-06
we had a project running very well in the testing server, once we move to the production server it says 500 internal server error.

site details:
php 5.5
codeignter
iis 7.5

there is no errors in php error log
in the iis we got this

2014-02-18 16:34:39 10.0.20.10 POST /McIntosh/Authentication - 80 - 54.209.40.209 Mozilla/5.0+(compatible;+MSIE+10.0;+Windows+NT+6.1;+WOW64;+Trident/6.0) 200 0 0 218

let me know if you need any details
0
Comment
Question by:romeiovasu
[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
7 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39867955
Make sure you have error reporting enabled in your php pages

error_reporting(E_ALL);
ini_set( 'display_errors','1');


A 500 error could be anything in your code
0
 

Author Comment

by:romeiovasu
ID: 39867969
I will check it in the ini file and reload the page again.
0
 
LVL 4

Expert Comment

by:artsec
ID: 39869131
Please follow instructions here http://mvolo.com/troubleshoot-iis7-errors-like-a-pro/ to enable full error report in ISS to find out where is the problem.
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 39869421
It might be URL rewriting issue due to Apache mod rewrite module not configured in IIS windows.  more details, http://ellislab.com/forums/viewthread/91954

For this, you could install this, http://www.isapirewrite.com/
0
 
LVL 9

Expert Comment

by:rinfo
ID: 39869771
My experience with CodeIgniter is there are a number of factors that causes 500 Internal server error.
Most prominent is bug in php script. Maybe if you are moving from windows to linux server
problem with file name - being case sensitive in linux.
Problem with database - incorrect database credentials, incorrect queries or query failing.
Try running a script page directly without CI convention you will get error for not being allowed but you can be ascertained that there is nothing wrong with configuration and it has
something to do with url redirect.
If i were you i would recheck  configuration files , router and database included.
This is a monster of an error message with no clue.
Best of luck.
0
 

Author Comment

by:romeiovasu
ID: 39870546
Thanks a lot for your help.
It suddenly worked fine after I enabled the display error in php.ini.
I don't know the actual reason. but it is up and  running now.

Thanks again
0
 
LVL 27

Expert Comment

by:skullnobrains
ID: 39881950
if this is actually what helped, you probably have accidentally solved a credentials problem with that file while editing it.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

617 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