[eluser]Kenneth Allen[/eluser]
Today I attempted to update my local test web site from CI 1.72 to 2.02 following the steps notes on the update page.
I moved my application folder to the root and replaced all of the system folder. I then made some small changes to the config.php file to add in a couple of new items from the 2.02, changed the model and controller base class names and set an encryption string. When I invoked my first page it looked OK, but… the URLs were different!
For example, the call
Code:
anchor('/season/'.$season->id, $season->Name)
should result in a URL like
Code:
<a href="http://d2testsite/SMaLL/season/5">Spring 2011</a>
, but instead generates the URL
Code:
<a href="http://d2testsite/SMaLL/?/season/5">Spring 2011</a>
.
When I click on one of these links then it simply redirects to the base page (up to the SMaLL folder).
I tried changing the code to use site_url() instead of anchor() call, but the results were the same.
I do have enable_query_strings enable since some URLs do pass parameters in this manner.
It is the insertion of the extra "?/" text that I do not understand, nor can I eliminate it. Is there some other change that I need to make as well?