Part of the EllisLab Network
   
 
163 uri.php
Posted: 04 July 2008 11:19 AM   [ Ignore ]  
Summer Student
Total Posts:  8
Joined  01-20-2008

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.

Profile
 
 
Posted: 04 July 2008 12:18 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  6486
Joined  03-23-2006

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?

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

Profile
 
 
Posted: 04 July 2008 01:18 PM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  8
Joined  01-20-2008

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.

Profile
 
 
Posted: 04 July 2008 01:31 PM   [ Ignore ]   [ # 3 ]  
Summer Student
Total Posts:  8
Joined  01-20-2008

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?

Profile
 
 
Posted: 04 July 2008 01:37 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  6486
Joined  03-23-2006

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.

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 719, on June 06, 2008 10:16 AM
Total Registered Members: 60676 Total Logged-in Users: 28
Total Topics: 73092 Total Anonymous Users: 0
Total Replies: 394172 Total Guests: 384
Total Posts: 467264    
Members ( View Memberlist )