LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > autoindex: Use of undefined constant uri

Reply
 
Thread Tools Display Modes
  #1  
Old 08-27-2006, 04:15 AM
philwo philwo is offline
Member
 
Join Date: Aug 2006
Posts: 14
Default autoindex: Use of undefined constant uri

Hello,

I get the following PHP notice when I view a directory listing:

Quote:
Notice: Use of undefined constant uri - assumed 'uri' in /opt/lsws/share/autoindex/default.php on line 366
Line 366 says:
Quote:
$base = substr( $uri, 0, strlen( uri ) - 1 );
Shouldn't this be strlen($uri)?

I installed 2.1.19 Standard first, updated to 2.1.20 and then to 2.2 (all via your great version-management WebGUI), if that matters somehow

Regards,
Philipp
Reply With Quote
  #2  
Old 08-27-2006, 09:09 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Philipp,

You're correct. The php code fix for the directory listing generator will in the next release. Thanks for the bug report. =)

Xing
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php make errors UbiquityClint Install/Configuration 9 07-12-2007 10:53 AM
open_base and autoindex felosi Install/Configuration 2 06-21-2007 07:52 AM
Rewrite Question [/root.] Install/Configuration 16 04-09-2007 08:51 AM
Markaby + Litespeed LSAPI: "warning already initialized constant ENV" roarindustries Ruby/Rails 6 09-26-2006 07:40 AM
default autoindex script djkoopman Bug Reports 2 05-09-2005 11:12 AM


All times are GMT -7. The time now is 02:06 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.