Hi Ashley,
Ashley Moran wrote:
Hi
I recently installed XWiki 1.9 for myself. I am freelance and offered
to let one of my clients have a space to save another installation.
But when she tries to edit a page, it takes ages to
load the WYSIWYG
What's the syntax of that page? Is it XWiki 2.0?
editor, then fails and falls back to the plain text
mode. She is
using Firefox 3.5 on Mac OS X 10.5, but we've also tried Camino, which
also uses the Gecko engine, so the issue is not specifically the
browser. I can use the editor while on her network
(in fact, while
connecting _through_ her iMac).
Is it the new WYSIWYG editor? Are you also using a Gecko based browser?
The output of Firefox's error console is below. Does anybody have any
idea what could be going wrong? Really grateful for any help - lack
of a wiki is becoming a serious impediment to work.
Thanks
Ashley
Error: showsubmenu is not defined
Source File:
https://wiki.patchspace.co.uk/xwiki/bin/view/Calooh/
Line: 1
Error: hidesubmenu is not defined
Source File:
https://wiki.patchspace.co.uk/xwiki/bin/view/Calooh/
Line: 1
Error: showsubmenu is not defined
Source File:
https://wiki.patchspace.co.uk/xwiki/bin/view/Calooh/
Line: 1
Error: hidesubmenu is not defined
Source File:
https://wiki.patchspace.co.uk/xwiki/bin/view/Calooh/
Line: 1
The previous errors doesn't seem to be related to the WYSIWYG code.
Error: The
stylesheethttps://wiki.patchspace.co.uk/xwiki/bin/skin/
resources/uicomponents/viewers/comments.css was not loaded because its
MIME type, "text/html", is not "text/css".
Source File:
https://wiki.patchspace.co.uk/xwiki/bin/view/Calooh/
Line: 0
I noticed you use the HTTPS protocol. The fact that the response has
text/html mime type instead of text/css could mean that the requested
style sheet was not found (lack of authorization maybe?).
Error: The stylesheethttps://wiki.patchspace.co.uk/xwiki/bin/skin/
resources/uicomponents/widgets/notification.css was not loaded because
its MIME type, "text/html", is not "text/css".
Source File:
https://wiki.patchspace.co.uk/xwiki/bin/view/Calooh/
Line: 0
Error: The stylesheethttps://wiki.patchspace.co.uk/xwiki/bin/skin/
resources/js/xwiki/widgets/jumpToPage.css was not loaded because its
MIME type, "text/html", is not "text/css".
Source File:
https://wiki.patchspace.co.uk/xwiki/bin/view/Calooh/
Line: 0
Error: The stylesheethttps://wiki.patchspace.co.uk/xwiki/bin/skin/
resources/uicomponents/widgets/confirmationBox.css was not loaded
because its MIME type, "text/html", is not "text/css".
Source File:
https://wiki.patchspace.co.uk/xwiki/bin/view/Calooh/
Line: 0
Error: The stylesheethttps://wiki.patchspace.co.uk/xwiki/bin/skin/
resources/js/xwiki/widgets/modalPopup.css was not loaded because its
MIME type, "text/html", is not "text/css".
Source File:
https://wiki.patchspace.co.uk/xwiki/bin/view/Calooh/
Line: 0
Error: The stylesheethttps://wiki.patchspace.co.uk/xwiki/bin/skin/
resources/js/xwiki/viewers/attachments.css was not loaded because its
MIME type, "text/html", is not "text/css".
Source File:
https://wiki.patchspace.co.uk/xwiki/bin/view/Calooh/
Line: 0
Error: The stylesheet
https://wiki.patchspace.co.uk/xwiki/bin/skin/resources/js/xwiki/lightbox/li…
not loaded because its MIME type, "text/html", is not "text/css".
Source File:
https://wiki.patchspace.co.uk/xwiki/bin/view/Calooh/
Line: 0
The previous errors are style sheet related and shouldn't stop the
editor from loading.
Error: missing ; before statement
Source File:
https://wiki.patchspace.co.uk/xwiki/bin/skin/resources/js/xwiki/xwiki.js
Line: 2, Column: 2
Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
The response looks like HTML instead of JavaScript. The reason could be
that the script file is not found (as it happens with the stylesheets).
Again, maybe the use of HTTPS and lack of authorization triggers this.
>
> Error: missing ; before statement
> Source File:
https://wiki.patchspace.co.uk/xwiki/bin/skin/resources/js/scriptaculous/eff…
> Line: 2, Column: 2
> Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
>
> Error: missing ; before statement
> Source File:
https://wiki.patchspace.co.uk/xwiki/bin/skin/resources/js/xwiki/widgets/mod…
> Line: 2, Column: 2
> Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
>
> Error: missing ; before statement
> Source File:
https://wiki.patchspace.co.uk/xwiki/bin/skin/resources/js/xwiki/widgets/jum…
> Line: 2, Column: 2
> Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
>
> Error: missing ; before statement
> Source File:
https://wiki.patchspace.co.uk/xwiki/bin/skin/resources/uicomponents/widgets…
> Line: 2, Column: 2
> Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
>
> Error: missing ; before statement
> Source
File:https://wiki.patchspace.co.uk/xwiki/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js
> Line: 2, Column: 2
> Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
>
> Error: missing ; before statement
> Source File:
https://wiki.patchspace.co.uk/xwiki/bin/skin/resources/uicomponents/widgets…
> Line: 2, Column: 2
> Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
>
> Error: missing ; before statement
> Source File:
https://wiki.patchspace.co.uk/xwiki/bin/skin/resources/uicomponents/viewers…
> Line: 2, Column: 2
> Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
>
> Error: missing ; before statement
> Source File:
https://wiki.patchspace.co.uk/xwiki/bin/skin/resources/js/xwiki/viewers/att…
> Line: 2, Column: 2
> Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
>
> Error: missing ; before statement
> Source File:
https://wiki.patchspace.co.uk/xwiki/bin/skin/resources/js/xwiki/compatibili…
> Line: 2, Column: 2
> Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
None of the previous JavaScript files are related to the WYSIWYG code so
they shouldn't stop the editor from loading.
Can you try using HTTP and see what happens? (I'd like to know if HTTPS
is really causing the troubles). Also, don't forget to clear the error
console before the page is loaded in edit mode.
If the page syntax is XWiki 2.0 (thus using the new WYSIWYG editor) then
you can try to comment these lines in templates/wysiwyginput.vm :
#template("stylesheets.vm")
#template("javascript.vm")
Finally check the server log/console after the page is loaded in edit
mode to see if there are any exceptions or useful messages.
Thanks,
Marius