Tags:
create new tag
, view all tags

Question

I can't use the include vairable to include any attached html documents of topics that are in a web that has more than one capital letter in it, or that are in a sub web.

So a web named TestTest would render all topics in it unable to include thier atached html documents.

The same goes for any and ALL sub webs

So Program/Firefox would produce the same error.

The error itself says

Failed to include URL

Is this normal? Is there somthing I can do to fix this?

Thanks

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2003 Server (Indigo Perl)
Web server: Apache
Perl version:  
Client OS:  
Web Browser:  
Categories: Hosting

-- GregGardinier - 12 Sep 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

I don't understand the sentence: "So a web named TestTest would render all topics in it unable to include thier atached html documents."

Can you please provide example %INCLUDE statements, highlighting those that work and those that don't? (You can use a fake URL host name if yiou don;t want to share internal URLs)

-- CrawfordCurrie - 22 Sep 2007

To clarify, I was unable to include an HTML file attached to a topic that was in a Web. The webs name was CompanyDev. I later found out that if I renamed the entire web to just "Dev" I was able to include html files from that web. After doing several other tests it was consistent that any web with more than 1 capital letter in the name would result in an error if I tried to include any html files attached to a topic in that web. So another example of a web name that would NOT work would be MYtests, and an example of a web that WOULD work is Tests

Also, any web that is inside another web (is a child of a web) suffers from the same problem.

I have no clue why this is happening. It has greatly confused me. I will try to find the include code that I used and post it here. Thanks for your response.

Okay, here is an example of the include command I am using:

%INCLUDE{%ATTACHURL%/ScenarioObjectReference.htm}%

The problem here is that the name of the web that this html document is in is the child of another web (Webz>>Webx).

-- GregGardinier - 23 Sep 2007

Huh? %ATTACHURL%/ScenarioObjectReference.htm refers to an attachment attached to the topic currently being rendered. There is no subweb reference involved. Can you please create an example in LitterTray web on develop.twiki.net?

-- CrawfordCurrie - 23 Sep 2007

yes but the variable

%ATTACHURL%
returns a path that uses two webs a parent web and child web...

something like this

/TheWeb/AnotherWeb/TheTopic

I created a test in the LitterTray Web and it worked. So this is probably something to do with my setup.

-- GregGardinier - 28 Sep 2007

Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 01 Nov 2007

 
Change status to:
Topic revision: r7 - 2007-11-01 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.