Download
Blog
Wiki
Forum
Store
Contact
Home
Products
Web Server
Load Balancer
LiteSpeed SAPI
Solutions
Web Hosting
Online Gaming
PHP Application
Rails Hosting
Case Studies
Resources
Documentation
White Papers
Benchmarks
Testimonials
FAQ
HOW-TOs
Support
Services
Wiki
Forum
Company
About
News
Blog
Management
Partners
Careers
Support
Services
Wiki
Forum
User Name
Password
Remember Me?
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
LiteSpeed Support Forums
>
LiteSpeed Web Server
>
Bug Reports
>
autoindex: Use of undefined constant uri
Thread Tools
Display Modes
#
1
08-27-2006, 04:15 AM
philwo
Member
Join Date: Aug 2006
Posts: 14
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
philwo
View Public Profile
Send a private message to philwo
Find all posts by philwo
#
2
08-27-2006, 09:09 AM
xing
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
xing
View Public Profile
Send a private message to xing
Find all posts by xing
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
General
News
Use Cases
LiteSpeed Web Server
General
Install/Configuration
LiteSpeed Cache
Feedback/Feature Requests
Bug Reports
LSWS 4.1 Release
LiteSpeed Load Balancer
General
LiteSpeed Anti-DDoS
Proxy Service
Popular web applications
Word Press
vBulletin Forum
Joomla
Magento
External Applications
Apache Migration/Compatibility
Ruby/Rails
PHP
CGI/Perl/Python
Java JSP/Servlet
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
.