Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

PHP issue ( need ASAP Please)

Posted on 2014-02-18
7
Medium Priority
?
240 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 2000 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
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
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

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

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

A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

715 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