Tags:
create new tag
view all tags

Question

Trying to use INCLUDE to pull information from external site

I was getting this error:

Warning This site does not allow INCLUDE of URLs

I went into the configuration menu and checked the check box :

{INCLUDE}{AllowURLs}

Now, I getting the following error:

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, (email) and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.

Apache/2.0.52 (Red Hat) Server

Environment

TWiki version: unspecified
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser: IE and Firefox
Categories: Permissions, Missing functionality, Contributing code, Internationalisation, Browser Issue

-- DonStenson - 29 May 2008

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.

What does your server error log say?

-- MartinKaufmann - 29 May 2008

From the /var/log/http/error.log i get the following:

[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1] Useless use of a variable in void context at, referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1] \t/var/www/html/twiki/lib/TWiki/Plugins/ObjectPlugin.pm line 133 (#1), referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]     (W void) You did something without a side effect in a context that does, referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]     nothing with the return value, such as a statement that doesn't return a, referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]     value from a block, or the left side of a scalar comma operator.  Very, referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]     often this points not to stupidity on your part, but a failure of Perl, referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]     to parse your program the way you thought it would.  For example, you'd, referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]     get this if you mixed up your C precedence with Python precedence and, referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]     said, referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]     , referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]         $one, $two = 1, 2;, referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]     , referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]     when you meant to say, referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]     , referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]         ($one, $two) = (1, 2);, referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]     , referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]     Another common error is to use ordinary parentheses to construct a list, referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList
[Wed Jun 04 11:39:46 2008] [error] [client 127.0.0.1]     reference when you should be using square or curly brackets, for, referer: http://f179lx01.atl.frb.org/twiki/bin/view/AtlantaFedWiki/SystemsDept/WebTopicList

-- DonStenson - 04 Jun 2008

Is this a bug? Has anyone else had this problem?

-- DonStenson - 08 Jul 2008

The entries in your error log indicate that the error is caused by Plugins.ObjectPlugin, so as a first shot you can try to disable that plugin in /bin/configure. If the error disappears, you should drop a note on Plugins.ObjectPluginDev.

-- HaraldJoerg - 08 Jul 2008

Don,

If you look at the documentation for INCLUDE you can see that TWiki does a fair amount of processing of the included external page.

You may wish to try some of the "disable...." parameters to see if any of those make a difference. I would start with disablecompresstags="on"

-- DuncanKinnear - 01 Sep 2008

Oops, just followed the link I put in for the INCLUDE documentation and the new version of INCLUDE does not appear to have the "disable...." parameters. We are running version 4.1.1.

See the old version of INCLUDE here

-- DuncanKinnear - 01 Sep 2008

Sorry, closing after more than 30 days. Please reopen with more details if needed...

-- PeterThoeny - 06 Nov 2008

Change status to:
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2008-11-06 - PeterThoeny
 
  • 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.