Welcome Guest, Not a member yet? Register   Sign In
500 Internal Server Error
#1

Hi,

i have uploaded codeigniter project in Godaddy hosting server. i got an error saying  'internal server error.

i am new to Codeigniter and GoDaddy Server .

Please tell me how to upload codeigniter project successfully in GoDaddy server and the steps to follow while uploading in server.

it was working in localhost .
 
Thank you
Reply
#2

Hi, and welcome to the CodeIgniter forums.

I'm not an expert in web server response codes, but I believe your .htaccess file can possibly lead to an error 500. Did CodeIgniter work when you installed it, before you copied your project to it? Try temporarily removing .htaccess to see if the problem goes away. If the problem persists, try installing something very automatic, like WordPress. If WordPress also gives you 500 error, sounds like it's an issue on GoDaddy's site, so you'll need to open a ticket.
Hey, don't work without a PHP debugger. Several free IDEs have this features built in. Two are NetBeans and CodeLobster. Without a debugger, it's like you're driving with a blindfold on -- you are going to crash!
Reply
#3

@jjt

find error_log sometimes it is in root folder or in CPanel and try to read the exact error.

Good luck.
No SEO spam
Reply
#4

Hi ,

The problem of 500 internal server error is solved.


Now it is not connecting to mysql database .

pls advice for how to solve this

Thank you
Reply
#5

configure database applicatio/config/database.php
No SEO spam
Reply
#6

(This post was last modified: 12-19-2015, 03:13 PM by RobertSF.)

Yeah, here's the link where the manual details how.
http://www.codeigniter.com/user_guide/da...ation.html
Hey, don't work without a PHP debugger. Several free IDEs have this features built in. Two are NetBeans and CodeLobster. Without a debugger, it's like you're driving with a blindfold on -- you are going to crash!
Reply
#7

(This post was last modified: 12-30-2015, 01:51 AM by jjt.)

Yes.Database is configured correctly. Thank you.
I did coding in Php 5.4 but godaddy's version is 5.2.so my ccodes are not suporting after uplading in server.how to upgrade godaddy php version to 5.4.or higher.
i cannot see php 5.4 version in godaddy control panel to change .
Please advice.your help is appreciated.


Thank you
Reply
#8

You'll probably have to look to GoDaddy's support to find out how to upgrade PHP, if it can be done. CodeIgniter should work on PHP 5.2.4, but you would not be able to use any of the features of the newer PHP versions in your own code.
Reply
#9

(12-30-2015, 08:33 AM)mwhitney Wrote: You'll probably have to look to GoDaddy's support to find out how to upgrade PHP, if it can be done. CodeIgniter should work on PHP 5.2.4, but you would not be able to use any of the features of the newer PHP versions in your own code.

Hi

i searched in go daddy help files ,but couldn't get any required help.

Recently i saw this link
http://quickhow.net/2013/server/change-p...ux-hosting

i have done what they instructed ,but still my php 5.4 code is not supporting in go daddy's  php 5.2 .

Godaddy customer care is not giving info regarding upgrading to Php 5.4 .

i need it very urgently. Need your help too.

if anyone come across this situation ,please share the solution.

Thanking you for all your support
i appreciate it.


Thanks
JJT
Reply
#10

Unfortunately, if GoDaddy won't upgrade to 5.4, then you will need to downgrade your code to be compatible with 5.2. I don't see any solution to that. I had to do that once after enthusiastically using features my host's PHP didn't support, and I was not happy. It's either that, or get a different host.

If you look here https://en.wikipedia.org/wiki/PHP you will see that 5.2 has not been supported since 2011. GoDaddy has no excuse for not upgrading. Even 5.4 was discontinued last September.
Hey, don't work without a PHP debugger. Several free IDEs have this features built in. Two are NetBeans and CodeLobster. Without a debugger, it's like you're driving with a blindfold on -- you are going to crash!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB