This question about Issue in browser: Answered

EditChapterPlugin 404 not found error on Foswiki 1.1.9 IIS ActivePerl

Hi, I have recently done a fresh install of foswiki on a new windows server and upgraded to the latest version (1.1.9). Unfortunately I am having some problems getting the EditChapterPlugin to work.

I installed the plugin through the extensions page and enabled the plugin in configure.

In IE, clicking the pencil icon just results in a page refresh. In Chrome, a dialog box appears with the message 'error':

errorpopup.png

Unfortunately there don't appear to be any error messages in the foswiki error logs.However, the chrome developer console is displaying the following information:

consoleouput.png

The only issue I can see here is that the URL shows the following: "/bin/jsonrpc/EditChapterPlugin". With this being a windows install, the jsonrpc file on the server has the extension ".pl".

However, I was previously running foswiki on windows and the edit chapter plugin was working fine.

Please can anyone help me get this up and running because we have some quite large pages in our wiki and use the features provided by this plugin quite regularly.

Thanks

-- StevenHill - 09 Jan 2014

This is a bug in EditChapterPlugin, it needs a task filed. in file pub/System/EditChapterPlugin/ecpjavascript.uncompressed.js, there are a couple of places where it strings together the URL like $.jsonRpc(foswiki.getPreference("SCRIPTURL")+"/jsonrpc", {, Those need to b e changed to add the SCRIPTSUFFIX. I think it could be added unconditionally as the parameter is empty when not needed, Try something like:

$.jsonRpc(foswiki.getPreference("SCRIPTURL")+"/jsonrpc"+foswiki.getPreference("SCRIPTSUFFIX"), {

-- GeorgeClark - 10 Jan 2014

Thanks George, adding +foswiki.getPreference("SCRIPTSUFFIX") to the relevant parts of the ecpjavascript files has resolved the issue. The EditChapterPluginFix.zip attached to this topic contains the updated files.

-- StevenHill - 13 Jan 2014

Created task: http://foswiki.org/Tasks/Item12715

-- StevenHill - 13 Jan 2014

Fixed in latest release.

-- MichaelDaum - 08 Mar 2016
 

QuestionForm edit

Subject Issue in browser
Extension EditChapterPlugin
Version
Status Answered
Related Topics
Topic attachments
I Attachment Action Size Date Who Comment
EditChapterPluginFix.zipzip EditChapterPluginFix.zip manage 2 K 13 Jan 2014 - 11:38 StevenHill  
consoleouput.pngpng consoleouput.png manage 5 K 09 Jan 2014 - 09:58 StevenHill  
errorpopup.pngpng errorpopup.png manage 2 K 09 Jan 2014 - 09:58 StevenHill  
Topic revision: r4 - 08 Mar 2016, MichaelDaum - This page was cached on 30 Mar 2017 - 12:50.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License