Welcome Guest, Not a member yet? Register   Sign In
Undefined offset error
#1

[eluser]richzilla[/eluser]
Hi all, ive just uploaded my new project to our testing server, and im getting some new errors that i havent come across on my local server.

im getting an undefined offset error in the libraries/router.php file. the exact wording is included below
.

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

any help would be appreciated,

thanks
#2

[eluser]Dam1an[/eluser]
Have you tried the differant URI protocols in the config file?
#3

[eluser]richzilla[/eluser]
Thanks for that, worked a treat. Im not entirely sure how but changing it to PATH_INFO seemed to do the trick.
#4

[eluser]Dam1an[/eluser]
Glad it worked
The world of URI Protocols is a weird and wonderful one, and changing it seems to fix a lot of problems, although I've never had to stray away from AUTO Smile




Theme © iAndrew 2016 - Forum software by © MyBB