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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > If you have Problems with Admin Interface and Firefox Stylesheets

Reply
 
Thread Tools Display Modes
  #1  
Old 12-18-2007, 12:00 PM
ripkens ripkens is offline
Member
 
Join Date: Dec 2005
Location: Bavaria
Posts: 20
Default If you have Problems with Admin Interface and Firefox Stylesheets

Go to $SERVER_ROOT/admin/html/classes/ws and edit GUI.php

Change around line ~10 HTML 4.01 in HTML 4.0

Styles will be loaded again...



Marcus
Reply With Quote
  #2  
Old 12-18-2007, 12:10 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Are you sure it should be "4.0" instead of "4.01"?
I think it should not affect the stylesheets, if you upgrade from earlier version, you may have to reload the stylesheet as previous version is cached by the browser.
Reply With Quote
  #3  
Old 12-18-2007, 01:12 PM
ripkens ripkens is offline
Member
 
Join Date: Dec 2005
Location: Bavaria
Posts: 20
Yes iam sure,

i have 6 Litespeedservers running and all of them had the same effect.

And for Gecko Quirks mode, 4.0 will use the mime type on the css link, 4.01 will overide the mime type by the server mime type wich is obviously set to text/html.

If you would add mime.properties to admin area, it could be handled, if you would allow .htacces in admin area, it could be handled.

You do not support both, so the only way is to enable Gecko quirks mode by setting the DTD to 4.0.
Reply With Quote
  #4  
Old 12-19-2007, 11:06 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Marcus,

Not sure why you have problems with our css style sheets in Firefox.

Here is the css response header output form the webui admin:

Code:
Date	Wed, 19 Dec 2007 19:04:26 GMT
Server	LiteSpeed
Accept-Ranges	bytes
Connection	Keep-Alive
Keep-Alive	timeout=5, max=100
Etag	"1d53-475e47f7-259006e"
Last-Modified	Tue, 11 Dec 2007 08:19:03 GMT
Content-Type	text/css
Content-Length	2222
Content-Encoding	gzip
Vary	Accept-Encoding
Cache-Control	max-age=86400
Expires	Thu, 20 Dec 2007 19:04:26 GMT
Content type is correctly sent as text/css.
Reply With Quote
  #5  
Old 02-05-2008, 02:56 AM
ripkens ripkens is offline
Member
 
Join Date: Dec 2005
Location: Bavaria
Posts: 20
Iam upgrading one of our 6 servers to 3.3.4.

It doesnt load the StyleSheets in FF, IE and Opera.

Even Changing the DTD to 4.0 to enable Quirks mode doesnt help.

What could i do to get the Stylesheets working?
Reply With Quote
  #6  
Old 02-05-2008, 03:44 AM
ripkens ripkens is offline
Member
 
Join Date: Dec 2005
Location: Bavaria
Posts: 20
OMG, it is a total mess. I probably have to reinstall the whole server.
Upgrading from 3.2.4 to any newer version leads into non working stylesheets and JS.

Therefore, i can not downgrade anymore.
Tried to compile new php 5.2.5 with lsws web interface.

It worked almost. New php version became active. eAccelerator failed because of missing directories (/usr/local/lsws/bin/lsphp5/phpize does not exist)

php5 cli reports broken modules.
Cronjobs not running anymore because of this.

PHP Warning: PHP Startup: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP 5.2.5 (cli) (built: Feb 5 2008 12:38:47)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies

Reinstalled php 5.2.5, doesnt change anything.

I have no clue what is causing this mess.
I gonna reinstall the complete thing now and see what happens...
Reply With Quote
  #7  
Old 02-05-2008, 11:47 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
some PHP modules does not match the current PHP verison, so, you need to rebuild your extra PHP modules as well, like memcache, etc.
Reply With Quote
  #8  
Old 02-06-2008, 04:06 AM
ripkens ripkens is offline
Member
 
Join Date: Dec 2005
Location: Bavaria
Posts: 20
Default Same Problem

I have reinstalled the whole server

3.3.4 is now running without problems
PHP4 and PHP5 also

And now FF wont show stylesheets.

Changed admin/html/classes/ws/GUI.php line 10 "HTML 4.01" into "HTML 4.0"

Now it worls in IE and FF

So you definetly get FF problems when its set to 4.01

I guess it wont hurt if you change that in the next update to make sure FF uses quirks mode wich is only when it is NOT set to 4.01
Reply With Quote
  #9  
Old 02-06-2008, 08:12 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
OK, will do.
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


All times are GMT -7. The time now is 01:36 PM.



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