Welcome Guest, Not a member yet? Register   Sign In
Why will my controller not load?
#11

[eluser]koala kid[/eluser]
My .htaccess is blank, I did have the script to remove index.php but i have commented it out for now.

The index.php file has error_reporting(E_ALL); set in it. That should show me the errors right or is there another switch?

I've attached my site zipped, maybe someone can see if it will run on their system?
#12

[eluser]Jaketoolson[/eluser]
In the most current CI 2.0, the index.php file has a developer/production switch which sets error_reporting... so setting it in index.php is fine.
#13

[eluser]InsiteFX[/eluser]
Are you running this on a live http:// site or on your local system?

Because if your running on your local system that url will not work!

InsiteFX
#14

[eluser]koala kid[/eluser]
I am running it on a local dev environment with virtual hosts set up??
#15

[eluser]ramm[/eluser]
Here it works just fine changing the uri_protocol to AUTO or REQUEST_URI

You have it like this and it doesn't work.
$config['uri_protocol'] = '[‘uri_protocol’]';

With this: http://localhost/koala/
I get the page:

the hammock
latin american homes and unique lodging....


With this: http://localhost/koala/index.php/site/shout
I get "shout"

With this: http://localhost/koala/index.php/dashboard
I get "fdsadfsd"
//from de index function in your dashboard.php (i commented the load views)

One thing, that file has an Unterminated comment starting in line 22:
Code:
/* Location: ./application/controllers/dashboard

After i fixed that it worked fine.
#16

[eluser]koala kid[/eluser]
YES!!!!!!! Thank you. Actually the URI_PROTOCOL item error must have sneaked in when I was tinkering with it, switching it back did not fix the issue but the unterminated comment DID, fantastic, why is it always the little things that give the biggest headaches. Thanks for spotting it!




Theme © iAndrew 2016 - Forum software by © MyBB