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
Solved

PHP issue ( need ASAP Please)

Posted on 2014-02-18
7
228 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
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Autoresponder for Whole Domain in Plesk/Cpanel 2 86
Change local server setting in php 6 94
app server have enough resources... 2 52
Places to advertise 6 46
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

809 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