Welcome Guest, Not a member yet? Register   Sign In
Error with libraries/Router.php
#1

[eluser]eckelarsson[/eluser]
Hi!
Just need to say great forum, been working with CI for 2 month now and this is my first post.
Did't find a answer to this.

Get error
Code:
A PHP Error was encountered
Severity: Notice

Message: Undefined offset: 0

Filename: libraries/Router.php

Line Number: 201

A PHP Error was encountered
Severity: Notice

Message: Undefined offset: 0

Filename: libraries/Router.php

Line Number: 207

A PHP Error was encountered
Severity: Notice

Message: Undefined offset: 0

Filename: libraries/Router.php

Line Number: 210

Get it only when i go eg, http://localhost/betaproject/index.php , when it supose to autoload my default controller.

If i go http://localhost/betaproject/index.php/welcome , i don't get the error msg above.

Been checking for hours and i dont get the hang of what causes this error.
#2

[eluser]Dam1an[/eluser]
Try the differant URI protocols in the config file
#3

[eluser]eckelarsson[/eluser]
Thank you, that sloved it !
I used the PATH_INFO URI protocols, had it on auto before.

ps.
Thank you for the fast reply
ds

Best
Ecke




Theme © iAndrew 2016 - Forum software by © MyBB