[xwiki-users] After upgrading from 1.4, strange errors everywhere
After upgrading from XWiki 1.4(ish) to 2.0.1 I see stuff like the following appearing on all pages in the wiki: $xwiki.jsfx.use('js/scriptaculous/effects.js', true) $xwiki.jsfx.use('js/xwiki/widgets/modalPopup.js', true) $xwiki.ssfx.use('js/xwiki/widgets/modalPopup.css', true) $xwiki.jsfx.use('js/xwiki/widgets/jumpToPage.js', true) $xwiki.ssfx.use('js/xwiki/widgets/jumpToPage.css', true) $xwiki.jsfx.use('uicomponents/widgets/confirmationBox.js', true) $xwiki.ssfx.use('uicomponents/widgets/confirmationBox.css', true) $xwiki.jsfx.use('uicomponents/widgets/confirmedAjaxRequest.js', true) $xwiki.jsfx.use('uicomponents/widgets/notification.js', true) $xwiki.ssfx.use('uicomponents/widgets/notification.css', true) $xwiki.ssfx.use('resources/uicomponents/viewers/tags.css', true) $xwiki.jsfx.use('resources/uicomponents/viewers/tags.js', true) $xwiki.jsfx.use('uicomponents/viewers/comments.js', {'forceSkinAction': true, 'language': ${context.language}}) $xwiki.ssfx.use('uicomponents/viewers/comments.css', true) $xwiki.jsfx.use('js/xwiki/viewers/attachments.js', {'forceSkinAction': true, 'language': ${context.language}}) $xwiki.ssfx.use('js/xwiki/viewers/attachments.css', true) Some of it is at the tops of pages and some at the bottoms. I'm assuming I did something terribly wrong during installation of 2 and subsequent import of the new stuff from the xwiki-enterprise-wiki-2.0.1.xar. Having done it several times, however, I'm a bit stuck pinpointing what precisely it was that I did incorrectly. If I import any of the pages I excluded initially, like the XWiki.XWikiPreferences, it more-or-less destroys my wiki. Additionally, the users and groups in the Administration pages don't show up correctly; a barbershop "loading" pole spins forever. If there are other problems I've been too preoccupied with the former issues to notice them yet. I suspect they're all related to the same thing, whatever it was, that I messed up. Any suggestions would be much appreciated! Thanks, - AW
On 10/17/2009 12:21 PM, AW wrote:
After upgrading from XWiki 1.4(ish) to 2.0.1 I see stuff like the following appearing on all pages in the wiki:
$xwiki.jsfx.use('js/scriptaculous/effects.js', true) $xwiki.jsfx.use('js/xwiki/widgets/modalPopup.js', true) $xwiki.ssfx.use('js/xwiki/widgets/modalPopup.css', true) $xwiki.jsfx.use('js/xwiki/widgets/jumpToPage.js', true) $xwiki.ssfx.use('js/xwiki/widgets/jumpToPage.css', true) $xwiki.jsfx.use('uicomponents/widgets/confirmationBox.js', true) $xwiki.ssfx.use('uicomponents/widgets/confirmationBox.css', true) $xwiki.jsfx.use('uicomponents/widgets/confirmedAjaxRequest.js', true) $xwiki.jsfx.use('uicomponents/widgets/notification.js', true) $xwiki.ssfx.use('uicomponents/widgets/notification.css', true)
$xwiki.ssfx.use('resources/uicomponents/viewers/tags.css', true) $xwiki.jsfx.use('resources/uicomponents/viewers/tags.js', true)
$xwiki.jsfx.use('uicomponents/viewers/comments.js', {'forceSkinAction': true, 'language': ${context.language}}) $xwiki.ssfx.use('uicomponents/viewers/comments.css', true) $xwiki.jsfx.use('js/xwiki/viewers/attachments.js', {'forceSkinAction': true, 'language': ${context.language}}) $xwiki.ssfx.use('js/xwiki/viewers/attachments.css', true)
Some of it is at the tops of pages and some at the bottoms.
It means you did not correctly upgrade the xwiki.cfg file, to enable some new plugins. Please compare the old and the new files, and integrate your custom settings in the new default file.
I'm assuming I did something terribly wrong during installation of 2 and subsequent import of the new stuff from the xwiki-enterprise-wiki-2.0.1.xar. Having done it several times, however, I'm a bit stuck pinpointing what precisely it was that I did incorrectly. If I import any of the pages I excluded initially, like the XWiki.XWikiPreferences, it more-or-less destroys my wiki.
Additionally, the users and groups in the Administration pages don't show up correctly; a barbershop "loading" pole spins forever.
This will be fixed once the ssfx and jsfx plugins are enabled.
If there are other problems I've been too preoccupied with the former issues to notice them yet. I suspect they're all related to the same thing, whatever it was, that I messed up.
-- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (2)
-
AW -
Sergiu Dumitriu