Loading...
 
Skip to main content

Architecture / Installation


Styles not rendering (UPDATE: Zone Alarm/Apache/XP problem)

I've been beating my head into the desk over the past few days trying to get styles working with my new install of TikiWiki, but no matter what I try it just seems to fail and pages look crazy. My guess is that there is some setting somewhere that I didn't set correctly, since the install instructions for PHP on Windows with Apache2 are sketchy at best. Anyway, here is what my current setup looks like:

http://cs105.hopto.org/tiki/Question

In case other people see differently, I'm essentially seeing the rendering on all of the columns to be goofy, with the left column/menu large, and the other two smashed to the side, and then I'm not getting any background or layout that goes with the theme, it just looks like it's totally ignoring the style altogether.

Any ideas? This is the "moreneat" style, btw. I've tried multiple styles, none of them seem to be rendering properly, on any browser (I've tried IE and Firefox). Any help is much appreciated!!! Thanks. 😉


I checked just now, the file is definitely there, in the path you specified. Any other ideas?
What sylvie meant is that your moreneat.css file is truncated. Open it and you will see. Try transferring or unpacking the file again.

I took a closer look, and now I understand what you mean. Unfortunately, when I opened the file on my hard drive, the entire file was in place. For some reason, when you go to view the file on the webserver, it is truncating it. Any reason why apache and/or PHP would do this? I'm still kinda stumped, although at least we have a better idea of what's going wrong 😊

Turns out the culprit was ZoneAlarm. For some reason, the latest version of ZoneAlarm in combination with Apache 2.0.50 is causing the first 4k of every file served by apache to get cut off. There have been several instances of problems with Apache 2 and ZoneAlarm in the past, but this seems to be a newer variant that I've only seen mentioned in a few different places across the web. I checked my configruation of ZA, everything seems to check out ok, but I was able to confirm that with Zone Alarm shut down, TikiWiki (and everything else) worked just fine. If anyone else has experienced this problem, and happens to have a better solution then either ditching Zone Alarm or going to Linux, I'm all ears 😉