Welcome Guest, Not a member yet? Register   Sign In
URI problem with CI 1.6.0
#1

[eluser]ppiirto[/eluser]
I downloaded the brand new CI 1.6.0, read the updating instructions, and updated my unfinished CI 1.5.4 project to new CI 1.6.0.

For some reason I’m getting this error after update:

Code:
A PHP Error was encountered

Severity: Notice

Message: Undefined property: CI_URI::$rsegments

Filename: codeigniter/CodeIgniter.php

Line Number: 224


I’m still so n00b with CI, that I don’t know how to fix this. Could somebody help, please?
#2

[eluser]Pascal Kriete[/eluser]
Triple check that you copied all the files over- libraries especially as the URI class changed a lot in this update.
#3

[eluser]ppiirto[/eluser]
I checked it with Winmerge and there's nothing different between downloaded 1.6.0 and my project that has anything to do with URIs.

I suspect that this might have something to do with Apache's mod_rewrite settings. With old version everything works fine with same settings.
#4

[eluser]edesign[/eluser]
Same problem here, I been triple checking my files but not sure what the problem is:


The error message appears twice:
************************************************
A PHP Error was encountered
Severity: Warning
Message: array_slice() [function.array-slice]: The first argument should be an array
Filename: codeigniter/CodeIgniter.php
Line Number: 224
************************************************

If someone has some answers, would be nice to know, thanks!
#5

[eluser]edesign[/eluser]
I am using CodeIgniter 1.6.1 here.
#6

[eluser]ImageSmith[/eluser]
yep. same issue here. using ci 1.6.0
I have only noticed this today on a site under development. it was not an issue when i lasted worked on the site about 5 - 6 days ago...




Theme © iAndrew 2016 - Forum software by © MyBB