Internal Server Error Godaddy Codeigniter
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might
How To Solve 500 Internal Server Error In Codeigniter
have Meta Discuss the workings and policies of this site About networkerror 500 internal server error in codeigniter Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads 500 internal server error codeigniter htaccess with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers,
500 Internal Server Error Codeigniter Ajax
just like you, helping each other. Join them; it only takes a minute: Sign up 500 internal Server Error for Controller. CodeIgniter and godaddy [closed] up vote 0 down vote favorite I know there are a bunch of questions like this but I didn't find any solution for my site yet. I don't know why.
Codeigniter Internal Server Error 500
Please help me. This is my site: example.com. I've developed it in Codeigniter. Home page is working fine, but when I click on any other page, it gives me 500 internal server error. Here is the code I've changed according to stackoverflow and other forums and guides but it still not working. Here is my config/config.php file: $config['index_page'] = 'index.php?'; $config['uri_protocol'] = 'QUERY_STRING'; and Here is my .htaccess file: RewriteEngine on RewriteCond $1 !^(index\.php|public|\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?$1 My all files are in root directory. Its working fine on my local computer but it gives 500 Internal Server Error for controller. My hosting is Godaddy shared hosting. Please check and help me. Thanks alot. php .htaccess codeigniter mod-rewrite godaddy share|improve this question edited Dec 14 '14 at 17:52 asked Sep 4 '14 at 22:45 Haider Saeed 131114 closed as off-topic by TylerH, Paul Roub, Ze Rubeus, Petter Friberg, Machavity Aug 27 at 23:53 This question appears to be off-topic. The
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About internal server error in codeigniter localhost Us Learn more about Stack Overflow the company Business Learn more about hiring
Codeigniter .htaccess File
developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the .htaccess codeigniter Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Codeigniter 500 internal server error due http://stackoverflow.com/questions/25676124/500-internal-server-error-for-controller-codeigniter-and-godaddy to index.php up vote 4 down vote favorite I am working with codeigniter framework, and as I upload it to a host, it gave me a 500 Internal error. But when I add index.php to config.php , it worked. What should I do? In my .htaccess I have this: RewriteEngine On RewriteBase /ci-framework/ And also when I clean /ci-framework/ from end of RewriteBase it doesn't work. http://stackoverflow.com/questions/28246168/codeigniter-500-internal-server-error-due-to-index-php Thank you very much. php .htaccess codeigniter internal-server-error share|improve this question asked Jan 30 '15 at 23:12 vahid najafi 7411522 1 make sure your wamp rewrite_modue is on.. in APACHE > APACHE Modules > rewrite_module –Hardik Ranpariya Jan 31 '15 at 4:03 @HardikRanpariya I just cleaned RewriteBase /ci-framework/ and it works. Any way Thank you :) –vahid najafi Jan 31 '15 at 8:55 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote accepted You don't need to add index.php in config.php file. Make sure you have following line in .htaccess file:
proper formatting. Pages: 1 2 jjt12-10-2015, 09:40 AM Hi, i have uploaded codeigniter project in Godaddy hosting server. i http://forum.codeigniter.com/archive/index.php?thread-63795.html 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 RobertSF12-10-2015, 01:44 PM Hi, and welcome to the CodeIgniter forums. internal server 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 internal server error 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. solidcodes12-10-2015, 03:28 PM @jjt find error_log sometimes it is in root folder or in CPanel and try to read the exact error. Good luck. jjt12-18-2015, 04:57 AM 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 solidcodes12-18-2015, 02:56 PM configure database applicatio/config/database.php RobertSF12-19-2015, 04:13 PM Yeah, here's the link where the manual details how. http://www.codeigniter.com/user_guide/da...ation.html jjt12-29-2015, 10:02 PM 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 mwhitney12-30-2015, 09:33 AM You'll probably have to look