Welcome Guest, Not a member yet? Register   Sign In
First time install help
#1

[eluser]jmanpa[/eluser]
I've got CI installed on my server and am able to get the index.php to display the default screen. Now I've dropped a new controller and library in the appropriate directories (this one is the Twitter client) but I get a CI-generated 404 when accessing it via "http;//myurl/CI-Location/mynewcontroller/". I'm on Amazon EC2.

Only thing I've changed so far is the base_url in config.php.

Thanks,
John
#2

[eluser]Tripic[/eluser]
Try “http;//myurl/CI-Location/index.php/mynewcontroller”.
#3

[eluser]jmanpa[/eluser]
Sorry, meant to include the index.php in my first message. Yes, I have been doing so and it isn't working.
#4

[eluser]Tripic[/eluser]
sounds to me like your base url isn,t set properley if thatsa the only thing you changed its all you should need to change for it to work or at least find the controller
#5

[eluser]danmontgomery[/eluser]
[quote author="Tripic" date="1278989044"]sounds to me like your base url isn,t set properley if thatsa the only thing you changed its all you should need to change for it to work or at least find the controller[/quote]

base_url plays no part in loading a page accessed directly by url...

I haven't used EC2 with CI but you might need to change the value of $config['uri_protocol'] in config.php, I'd try each of the 4 options besides AUTO to see if any work.
#6

[eluser]jmanpa[/eluser]
Ok, tried all of them to no avail.
#7

[eluser]jmanpa[/eluser]
Fixed it. Being a newbie, I had mistakenly missed the naming conventions for within the controller




Theme © iAndrew 2016 - Forum software by © MyBB