NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item714: Add a Legacy engine, so Contribs that add scripts to bin dir can work
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Normal |
Closed |
Engine |
|
|
I was trying to make
SearchEngineKinoSearchAddOn to work with trunk, but the
kinosearch script always lead to "Internal Server Error", cause it prints nothing.
The problem is that
Foswiki::Engine::CGI or
Foswiki::Engine::CLI, loaded automatically since
kinosearch doesn't set
$Foswiki::cfg{Engine}, are not finalized, so there is no output.
I'm working on a
Foswki::Engine::Legacy to be loaded automatically and make legacy scripts work.
--
GilmarSantosJr - 09 Jan 2009
I'm reopening this cause Legacy engine made
configure script display an error at bottom of the page:
Software error:
Can't call method "cookies" on an undefined value at /home/junior/projeto_final/svn/src/foswiki/core/lib/Foswiki/Engine.pm line 343.
END failed--call queue aborted.
The problem is that it loads
Foswiki.pm, what leads to initialization of
Foswiki::Engine::Legacy, but doesn't call
Foswiki->new, so there is no
Foswiki::Response object.
--
GilmarSantosJr - 11 Jan 2009