You are here: Foswiki>Tasks Web>Item885 (23 Feb 2009, KennethLavrsen)Edit Attach

Item885: bin/manage/Web goes BOOM

pencil
Priority: Normal
Current State: Closed
Released In: 1.0.1
Target Release: patch
Applies To: Engine
Component:
Branches:
Reported By: WillNorris
Waiting For:
Last Change By: KennethLavrsen
try

http://foswiki.org/bin/manage/Sandbox

or

http://foswiki.org/bin/manage/NonExistentWebName

Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.

Undefined subroutine &Foswiki::UI::Manage::_action_ called

-- WillNorris - 28 Jan 2009

The change at distro:c0d94baf592c fixes this problem, but some warnings about use of initialized variables are present and should be fixed as well. I don't have the time now to check/fix this frown, sad smile

-- GilmarSantosJr - 28 Jan 2009

I still get a failure. The only way I could debug it was to run the manage script from the command line; it was falling over in a really obscure way.

Turns out that rendering an Oops page requires web and topic to be specified. By defaulting them in the oops function, the problem goes away.

Gilmar, I couldn't find any warnings about uninitialised vars, so dropping this to Normal and marking for your attention.

-- CrawfordCurrie - 30 Jan 2009

Hi Crawford,

Probably you're using {WarningsAreErrors} setting, so the "Use of uninitialized variable" causes an error in Foswiki.pm. The variables were $web and $topic, so your change finished the fix wink

-- GilmarSantosJr - 30 Jan 2009

ItemTemplate edit

Summary bin/manage/Web goes BOOM
ReportedBy WillNorris
Codebase 1.0.0
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:c0d94baf592c distro:8bc8d2599e0c
TargetRelease patch
ReleasedIn 1.0.1
Topic revision: r9 - 23 Feb 2009, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy