Wikka pages are not styled


Symptoms

Wikka works fine, but all pages appear completely "unstyled".

Cause

There are two possible causes:
  1. Your browser does not support stylesheets or you have disabled stylesheet support.
  1. The rewrite mode configuration is incorrect.

In first case, if your browser does support stylesheets, check that it is enabled; if not, try testing with one that does or ask someone else to do that for you.

In the latter case (when you have made sure stylesheets are supported in the test browser): If the rewrite mode configuration is incorrect the URLs that are used to reference the stylesheets will be incorrect; when requesting a stylesheet the browser will then receive a 404 error to indicate the file is not found and be unable to apply the styling.

Applies to

All versions.

Solution

There is no workaround for a browser that does not have stylesheet support - all styling in Wikka is completely done with stylesheets. Everything will work - it just doesn't look very pretty in some browsers.

If missing or disabled stylesheet support has been eliminated as a cause, use the following cheklist(s):

Wikka 1.1.6.0 and earlier
Use the following checklist for the mod_rewrite configuration
  1. If you use URL rewriting, check your configuration as outlined on ModRewrite (note that there are two parameters and that they must match)
  1. Check that you have the .htaccess file as distributed with Wikka in your base installation directory
  1. Check that the [wikka]/css/ subdirectory contains the .htaccess file as distributed with Wikka (in that subdirectory); it should have the following content:
    <IfModule mod_rewrite.c>
    RewriteEngine off
    </IfModule>


Newer Wikka versions
later

Refinement

maybe


CategoryWorkaround
Comments
Comment by GmBowen
2005-04-28 10:50:43
I haven't done a new install of wikka recently, but I seem to recall that on my server config there's some sort of weirdness with .htaccess files that result in wikka css not working....and the solution is to remove the .htaccess file from the CSS directory. I'll confirm this next time I do an install okay?
Comment by JavaWoman
2005-04-28 13:51:46
OK, Mike!
The reason this is here is that I've seen several newly-installed sites with obviously not working styles.
I'm trying to write up all problems occuring with URL rewriting - as well as looking at ways to make it easier and more robust because misconfigurations seem to happen a lot.

So if you run into anything related, let us know!
Comment by 4.152.81.25
2006-03-16 17:00:12
I have a syle that suddenly goes away midway down the page. Is that this same problem? It's a brand new server and I've been ironing out quirks with mod_rewrite but though I had them all.
Comment by JavaWoman
2006-03-17 04:06:45
A style that "goes away" mid-page doesn't sound like the same problem.

- Does this happen in a single page or a few pages or all pages? If not all: does page length make a difference?
- Does it always happen, even after a reload of the page? Always at the same point?
- Which browser? Did you test with other browsers?
- If it's a public Wiki could you give us URL to look at?
Comment by 4.153.47.130
2006-03-24 12:02:58
Just this page that I've noticed.

http://207.210.241.174/crazywiki/wikka.php?wakka=BoardLayout

Yes it always happens after a reload.

It happens with FF 1.5.1 (mozilla.org build) and Mozilla 1.7.12 (ubuntu build).

It doesn't happen with a konqueror, however, so I guess it's a geko thing.

Thanks for the great product btw. In this instance it looks like we're abandoning it for moinmoin as some of our users really need a WYSIWYG interface. I'm keeping wikka as my personal wiki and won't hesitate to use it again in the future.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki