• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

I keep on having the same type of error in the Apache error log.

Each time a topic is viewed I get this

[Sun Feb 19 01:55:46 2006] [error] [client 192.168.1.9] ********************************, referer: http://www.lavrsen.dk/twiki/bin/view/Motion/DownloadFiles
[Sun Feb 19 01:55:46 2006] [error] [client 192.168.1.9] OopsException(accessdenied/no_such_web web=>Motion/url(/twiki/pub/TWiki/PatternSkin/print topic=>css)print params=>view), referer: http://www.lavrsen.dk/twiki/bin/view/Motion/DownloadFiles
[Sun Feb 19 01:55:46 2006] [error] [client 192.168.1.9] ********************************, referer: http://www.lavrsen.dk/twiki/bin/view/Motion/DownloadFiles

I traced the problem down to css.pattern.tmpl.

There is a statement that says @import url("/pub/TWiki/PatternSkin/print.css") print;

Changing it to

@import url("/pub/TWiki/PatternSkin/print.css");

makes the error go away.

It looks like the extra print is a copy paste error.

KJL


I had to use "print" to make Win IE 5.5 happy. Or at least Win IE 5.5 users, because the browser was using the print stylesheet even on view pages.

But it this does not work for later versions of IE, I could write:

<!--[if IE 5.5000]>
<style type="text/css" media="print">
   @import url("%PUBURLPATH%/%TWIKIWEB%/PatternSkin/print.css") print;
</style>
<![endif]-->

Needs to be tested, because IE 5.5 might still want to read the print css.

AC

I have been doing some testing.

  • Before - With the trailing "print" i had errors in the error_log.
  • Without the trailing print I get no errors in the log. IE6 works fine. So does FF. But IE 5.5 does not show the left bar any longer.
  • With your proposed fix I have no errors, IE6 works, FF 1.5 works and IE 5.5. works.

So it seems your fix is fine Arthur.

KJL


SVN 8838. -- AC

ItemTemplate
Summary css.pattern.tmpl - loading print css statement makes errors in error_log
ReportedBy TWiki:Main.KennethLavrsen
Codebase

SVN Range Tue, 14 Feb 2006 build 8800
AppliesTo Extension
Component PatternSkin
Priority Normal
CurrentState Closed
WaitingFor

TargetRelease major
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2006-02-20 - ArthurClemens
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback