Tags:
create new tag
view all tags

Question

Hi there. This issue has only been present since I have installed QuickMenuSkin.

When the Attach link is clicked within a topic the browser is redirected to http://twiki.url/twiki/bin/attach/WebName/TopicName but nothing is displayed in the browser itsself (blank page).

My access_log shows:

192.168.0.125 - - [30/Jun/2006:11:57:39 +1200] "GET /twiki/bin/attach/WebLogis/LogisTwww HTTP/1.1" 200 -
192.168.0.125 - - [30/Jun/2006:11:57:40 +1200] "GET /favicon.ico HTTP/1.1" 404 276

and my error_log shows:

[Fri Jun 30 11:57:40 2006] [error] [client 192.168.0.125] File does not exist: /var/www/localhost/htdocs/favicon.ico

which really strikes me as odd, since my TWikiPreferences set my favicon:

   * Set FAVICON = /twiki/pub/WebName/WebPreferences/favicon.ico 

The above errors are only logged when i try to attach via firefox.

IE access logs no errors but access =

192.168.0.125 - - [30/Jun/2006:12:40:47 +1200] "GET /twiki/bin/attach/WebLogis/LogisTwww HTTP/1.1" 200 -

This error occurs whether i use the quickmenu attach item or the bottombar attach item.

any insight here would be greatly appreciated.

Environment

TWiki version: TWikiRelease04x00x02
TWiki plugins: SpreadSheetPlugin, ActionTrackerPlugin, ChecklistPlugin, CommentPlugin, EditTablePlugin, InterwikiPlugin, JSPopupPlugin, PreferencesPlugin, RenderListPlugin, SectionalEditPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, ToolTipPlugin, TopicCreatePlugin, TreeBrowserPlugin, TwistyPlugin, UpdateInfoPlugin, WebPermissionsPlugin, WysiwygPlugin
Server OS: Gentoo Linux kernel 2.6.15
Web server: Apache v2.0.58
Perl version: 5.8.8-r2
Client OS: Windows XP Pro SP2
Web Browser: Firefox 1.0
Categories: Fatal error

-- TraceyMaule - 30 Jun 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Just some further info.. if i click on "manage" of an existing file i can go to an upload page (although "upload" is quite a generous term - see my other issue QuickMenuSkinUploads). The URL i am directed to is: http://WebURL/twiki/bin/attach/WebName/TopicName?filename=cheers.gif&revInfo=1

BUT if i take away the filename and leave the URL the same without the params: http://WebURL/twiki/bin/attach/WebName/TopicName I get the nothing-ness i describe.

-- TraceyMaule - 30 Jun 2006

You don't state which version of the plugin you are using, but I believe this issue was fixed with latest release? (21 Jun / 1.01).

-- SteffenPoulsen - 30 Jun 2006

We downloaded and installed an updated version on friday (30 Jun) in the hopes that this would fix the problem but it didnt.

-- TraceyMaule - 02 Jul 2006

Sorry, I'm out of ideas then, I have been trying to provoke this by setting skin paths in various ways (user topics / global preferences), but with no luck.

A test environment at http://merlin.lavrsen.dk/twiki/bin/attach/Sandbox/TestTopic1?skin=quickmenu shows a working page as well.

Perhaps you have some earlier files still laying around disrupting the picture?

-- SteffenPoulsen - 02 Jul 2006

Well this is all interesting, after playing around with your link, i added ?skin=quickmenu into the code of view.quickmenuskin.tmpl, so it now reads

pageMenu.Add("%MAKETEXT{"Attach"}%","%IF{"context inactive" then='","%ICONURLPATH{"attachfile"}%' else='%SCRIPTURLPATH{attach}%/%WEB%/%TOPIC%?skin=quickmenu","%ICONURLPATH{"attachfile"}%","%MAKETEXT{"Attach an image or document to this topic"}%'}%");

which makes the QuickMenuSkin attach link work correctly. this even fixes my other issue QuickMenuSkinUploads

Thanks for your time smile

-- TraceyMaule - 03 Jul 2006

Now the only problem is remembering this for next upgrade smile

- Glad it works now!

-- SteffenPoulsen - 03 Jul 2006

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2006-07-03 - SteffenPoulsen
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.