CodeIgniter Forums
Running CI on MediaTemple (gs)... 404 nightmare - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Running CI on MediaTemple (gs)... 404 nightmare (/showthread.php?tid=7529)



Running CI on MediaTemple (gs)... 404 nightmare - El Forum - 04-13-2008

[eluser]Daniel H[/eluser]
Hi all,

I've just got a new (gs) service on MediaTemple, but despite everything having been configured correctly I'm getting a CI 404 Page Not Found error. Looking at the log files:

Code:
DEBUG - 2008-04-13 08:50:48 --> Config Class Initialized
DEBUG - 2008-04-13 08:50:48 --> Hooks Class Initialized
DEBUG - 2008-04-13 08:50:48 --> URI Class Initialized
ERROR - 2008-04-13 08:50:48 --> 404 Page Not Found -->

Can anyone tell what the problem might be?

Thanks,
Dan.


Running CI on MediaTemple (gs)... 404 nightmare - El Forum - 04-13-2008

[eluser]richthegeek[/eluser]
Is this what you get from the base CI page on a fresh install?


Running CI on MediaTemple (gs)... 404 nightmare - El Forum - 04-13-2008

[eluser]Daniel H[/eluser]
Yup - base_url config has been changed to

http://s40073.gridserver.com/

and log threshold to 4, but nothing else has changed.

http://s40073.gridserver.com/phpinfo.php works fine, too so isn't a problem with the GS.

Dan.


Running CI on MediaTemple (gs)... 404 nightmare - El Forum - 04-13-2008

[eluser]richthegeek[/eluser]
weird - I can get to the welcome screen by going to index.php/welcome - is the default root okay? and are you sure the base url is 100% correct?


Running CI on MediaTemple (gs)... 404 nightmare - El Forum - 04-13-2008

[eluser]Daniel H[/eluser]
Yeah it is precisely correct. I'm absolutely confounded by this one. Can you think of any possible reasons why http://s40073.gridserver.com/ would be invalid?


Running CI on MediaTemple (gs)... 404 nightmare - El Forum - 04-13-2008

[eluser]Seppo[/eluser]
Do you have your URI protocol set as AUTO? Try switching it between the 4 options and see if in any of them works better


Running CI on MediaTemple (gs)... 404 nightmare - El Forum - 04-13-2008

[eluser]Daniel H[/eluser]
Good suggestion but alas the same situation happens with all options. Any other ideas?


Running CI on MediaTemple (gs)... 404 nightmare - El Forum - 04-13-2008

[eluser]Seppo[/eluser]
I think you haven't the default controller setted OK...
Going to this URL: http://s40073.gridserver.com/?/ I get this error message:
Quote:Unable to load your default controller. Please make sure the controller specified in your Routes.php file is valid.



Running CI on MediaTemple (gs)... 404 nightmare - El Forum - 04-13-2008

[eluser]Daniel H[/eluser]
Yep this is set to Welcome. Am obviously doing something wrong here. Will refer to MT.

Thanks guys.


Running CI on MediaTemple (gs)... 404 nightmare - El Forum - 04-13-2008

[eluser]Lone[/eluser]
Just to let you know it shouldnt be a MT error as we have 2 sites running on there based on CI with no problems like this.