Welcome Guest, Not a member yet? Register   Sign In
163 uri.php
#1

[eluser]maicobreako[/eluser]
After a fresh install of ci163 I was getting an error. I found that instead of being named /system/library/URI.php, it's /system/library/uri.php. I changed it to uppercase and all is well...so far.
#2

[eluser]Derek Allard[/eluser]
When was the error appearing? Where you loading the library? What version of PHP and was it Apache or IIS do you know?

Can you give me code to recreate the error, or was this a virgin copy?
#3

[eluser]maicobreako[/eluser]
My local test server Kubuntu Hardy
PHP 5.2.4
Apache 2.2.8

This was a virgin install of ci. I don't recall the exact message, so I'll try to recreate it.
#4

[eluser]maicobreako[/eluser]
That was easy enough. I just renamed the file to lower case and got this error message:

A PHP Error was encountered
Severity: Warning
Message: require(/srv/cigniter/system/libraries/URI.php) [function.require]: failed to open stream: No such file or directory
Filename: codeigniter/Common.php
Line Number: 109

It would appear that Common.php is calling for URI.php not uri.php. As I said, simply renaming the file does the trick.

I just downloaded 163 again, and the file is named correctly. Did you just fix this?
#5

[eluser]Derek Allard[/eluser]
No, its been URI for as long as I have records for. I wonder if its just one of "those things" that happen sometimes. Glad its fixed up for you, and thanks for reporting.




Theme © iAndrew 2016 - Forum software by © MyBB