• 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 get an "Internal Server Error" with PublishContrib v10006. Here is the error in our web server's logfile:

[Wed May  3 11:21:42 2006] Publish.pm: Variable "%ob" is not imported at /mnt/wiki/web/lib/TWiki/Contrib/Publish.pm line 171.
[Wed May  3 11:21:42 2006] Publish.pm: Variable "%ob" is not imported at /mnt/wiki/web/lib/TWiki/Contrib/Publish.pm line 172.
Global symbol "%ob" requires explicit package name at /mnt/wiki/web/lib/TWiki/Contrib/Publish.pm line 171.
Global symbol "%ob" requires explicit package name at /mnt/wiki/web/lib/TWiki/Contrib/Publish.pm line 172.
Compilation failed in require at /mnt/wiki/web/bin/publish line 40.
BEGIN failed--compilation aborted at /mnt/wiki/web/bin/publish line 40.

Any suggestions would be greatly appreciated.

Many thanks, Devin [Wed May 3 11:21:42 2006] Publish.pm: Variable "%ob" is not imported at /mnt/wiki/web/lib/TWiki/Contrib/Publish.pm line 172. Global symbol "%ob" requires explicit package name at /mnt/wiki/web/lib/TWiki/Contrib/Publish.pm line 171. Global symbol "%ob" requires explicit package name at /mnt/wiki/web/lib/TWiki/Contrib/Publish.pm line 172. Compilation failed in require at /mnt/wiki/web/bin/publish line 40. BEGIN failed--compilation aborted at /mnt/wiki/web/bin/publish line 40.

Any suggestions would be greatly appreciated.

Many thanks, Devin


Patch:
--- lib/TWiki/Contrib/Publish.pm        (revision 10061)
+++ lib/TWiki/Contrib/Publish.pm        (working copy)
@@ -168,8 +168,8 @@
         $cs = '</span>';
         print "${ob}URL: ${cb} $url$br";
     }
-    print "${ob}{PublishContrib}{Dir}: ${cb}$TWiki::cfg{PublishContrib}{Dir}$br";
-    print "${ob}{PublishContrib}{URL}: ${cb}$TWiki::cfg{PublishContrib}{URL}$br";
+    print "${ob}\{PublishContrib}{Dir}: ${cb}$TWiki::cfg{PublishContrib}{Dir}$br";
+    print "${ob}\{PublishContrib}{URL}: ${cb}$TWiki::cfg{PublishContrib}{URL}$br";
     print "${ob}Web: $web${cb}$br";
     print "${ob}Config: $configtopic$br" if $configtopic;
     print "${ob}Skin: ${cb}$skin$br";

Fixed and uploaded, version 10063

CC

ItemTemplate
Summary PublishContrib v10006 Internal Server Error
ReportedBy TWiki:Main.DevinBougie
Codebase

SVN Range Tue, 02 May 2006 build 10050
AppliesTo Extension
Component PublishContrib
Priority Normal
CurrentState Closed
WaitingFor

Checkins 10062 10063
TargetRelease n/a
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2006-05-04 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback