• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter & Network Solutions

I recently migrated all of my sites over from a dedicated server to a shared Network Solutions server. I uploaded a fresh copy of CI to the server, pointed my browser to the domain, and it seemed to work fine, loading up the Welcome controller. I then went in and created a "Hello World" controller. I pointed my browser to <domain>/index.php/helloworld, waited about 45 seconds, and was then greeted with the following error:

Quote:Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

The page title is: 503 Service Temporarily Unavailable

I then tried to go to <domain>/index.php/welcome to see if I could load the default controller that way, but received the same "503" response.

I have set up a subdirectory off of my main site to display this error. If you go to http://carnevaledesign.com/ci, the "Welcome" controller loads perfectly. If you go to http://carnevaledesign.com/ci/index.php/welcome, it will crank away for about a minute and then slap you with a "503 Service Temporarily Unavailable" response. Just in case it will be of any help, you can view the phpinfo by going here: http://carnevaledesign.com/ci/phpinfo.php

After hours of digging through the forums and Google, I tried several possible resolutions, all to no success. I'm not quite sure what to do at this point. I really, really don't want to leave the CI framework... please let me know if anyone has any ideas.


it looks like it works... you say the welcome controller loads perfectly. why do you want the index.php in your path anyhow? did you check the config.php file and try to rename your index.ph file (in config.php) to '' (empty string)? what about using a completely different name (not index.php)?


[eluser]Jatinder Thind[/eluser]
Good luck with your hosting at Network Solutions. You are going to need a lot of luck (and patience) in the coming months.

Sorry for posting an off-topic reply but I have a couple of clients who host their sites with Network Solutions. And, man, the hosting is just terrible.

Thanks for the replies. I seem to have figured it out for myself. I noticed that if I went to http://carnevaledesign.com/ci/index.php?/welcome it would actually show the controller... and very quickly at that.

To get rid of the index.php? in the URL, I simply added the "?" to the index.php in the htaccess file and it still worked like a charm.

Thanks again.

it was probably a redirect loop that gave a 503 after reaching the resource limit. netsol likely has something (helpful?) in their shared hosting set up that tries to use index.php as a redirect target. just a guess... good that you got it sorted by changing the name of the index.php redirect - but it does seem like an unstable solution. something there is bound to break at some point.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.