Page 1 of 1

CSS not parsing?

PostPosted: 02 Aug 2009 06:08
by muggins
Oliver,

It is Saturday afternoon, after a beer or two. Therefore I own all my problems, but I did manage to get the program to find my awstats data.

I cannot for the life of me find the problems with the CSS however. I am able to go to my localhost and I see this:

Screenshot-localhost Better AWstats v. 1.0 - Mozilla Firefox.png
Screenshot-localhost Better AWstats v. 1.0 - Mozilla Firefox.png (156.58 KiB) Viewed 328 times


Running Ubuntu 8.10 and Firefox 3.0.12, php 5.2.4.

Interestingly enough, I edited the config.php, then deleted the distribution and restored it from the original zip, and it now shows up much better than it did before.

Clue me in? :oops:


Muggins

Re: CSS not parsing?

PostPosted: 02 Aug 2009 07:26
by muggins
OK, something is wrong.

I reloaded my stats page, and I get this:

Screenshot.png
Screenshot.png (130.31 KiB) Viewed 325 times


Now it is the same as it was without CSS. :x

Re: CSS not parsing?

PostPosted: 02 Aug 2009 15:43
by Oliver
strange.

But I can assure you that this has nothing to do with betterawstats.

I would recommend you to clear your browser cache or try an alternative browser to compare the results. I had this issue before with some websites and reloading the page after clearing my cache usually works.

you can also try to open the css file directly in your browser and see what you get.

http://localhost/joint/style.css should be displaying the CSS file contents. if it complaints that the file does not exist, you should check if it is actually still there. maybe you deleted it by accident.

Oliver

Re: CSS not parsing?

PostPosted: 02 Aug 2009 20:30
by muggins
It is indeed there, as you can see from the first screenshot. I host my forum on the same system too, with no issues.

I suppose I don't need to use this after all.

Re: CSS not parsing?

PostPosted: 17 Oct 2009 13:37
by jmm
Hello,

Funny enough it is Saturday again and my installation looks exactly the same as the one posted here. And it looks the same in Firefox, Opera and Chrome.

Location for testing is: http://localhost/betterawstats, /var/www/betterawstats/style.css
When debugging I get the following notices:

Undefined index: drupal_base in /var/www/betterawstats/core/display_helpers.php on line 425
Undefined index: path in /var/www/betterawstats/core/display.inc.php on lines 837 to 840

I would really like to get it to work. Thanks for your app and help,

jmm

Re: CSS not parsing?

PostPosted: 17 Oct 2009 14:10
by jmm
Solved. I think changing $BAW_CONF['xhtml'] to true is what made it. Nevertheless, I still get the same debugging notices.