Social forum

Problem with editing (empty page, no buttons)

 
Picture of Marcin Będkowski
Problem with editing (empty page, no buttons)
by Marcin Będkowski - Saturday, 27 November 2010, 10:32 PM
 
I installed AutoView on 1.9. Everything was fine, I was in /admin after copying the files into directory. But when I try to create a presentation (in editing mode screen) I see just a page with frames, without any buttons.

Could you help me?

(I've tried the 2010112201 and 2010100802 release.)

Test.php:
XSL Support
PHP5 libxslt XSLTProcessor Found
XSLTProcessor->importStyleSheet() OK
XSLTProcessor->setParameter() OK
XSLTProcessor->transformToXML() OK
DOMDocument OK
DOMDocument->load() OK
Check all module files :. OK
./mod.html OK
./restorelib.php OK
./gpl.txt OK
./lib.php OK
./db/access.php OK
./db/install.xml OK
./db/upgrade.php OK
./lang OK
./lang/fr_utf8 OK
./lang/fr_utf8/autoview.php OK
./lang/pt_utf8 OK
./lang/pt_utf8/autoview.php OK
./lang/en_utf8 OK
./lang/en_utf8/autoview.php OK
./lang/de_utf8 OK
./lang/de_utf8/autoview.php OK
./filelist.txt OK
./subtitles.php OK
./config.html OK
./icon.gif OK
./templates/autoview.xsl OK
./templates/search-subtitles.xsl OK
./templates/subtitles.xsl OK
./templates/pre-titles.xsl OK
./templates/search-titles.xsl OK
./readme.txt OK
./autoview.php OK
./avedit OK
./avedit/extension.js OK
./avedit/blank.avx OK
./avedit/convert.xml OK
./avedit/lang OK
./avedit/lang/pt_alt.js OK
./avedit/lang/fr.js OK
./avedit/lang/pt.js OK
./avedit/lang/newlang.html OK
./avedit/lang/en.js OK
./avedit/slidesrc.js OK
./avedit/editor.js OK
./avedit/avedit.xsl OK
./avedit/base64.js OK
./avedit/convert.xsl OK
./avedit/quicksrc.js OK
./avedit/avedit.xml OK
./avedit/subtitlesrc.js OK
./avedit/videosrc.js OK
./version.php OK
./avphplib/refmovie.inc.php OK
./avphplib/avlib.php OK
./avphplib/test.php OK
./test.php OK
./index.php OK
./view.php OK
./avedit.php OK
./qtref.php OK
./import-theme.js OK
./convert.php OK
./vresource/FlowPlayer.swf OK
./vresource/transcript.css OK
./vresource/lang/it.js OK
./vresource/lang/fr.js OK
./vresource/lang/es.js OK
./vresource/lang/sk.js OK
./vresource/lang/pt.js OK
./vresource/lang/de.js OK
./vresource/lang/ar.js OK
./vresource/lang/zh_cn.js OK
./vresource/lang/ur.js OK
./vresource/lang/en.js OK
./vresource/style.css OK
./vresource/jogg-0.0.7.jar OK
./vresource/real.html OK
./vresource/autoview.js OK
./vresource/test.swf OK
./vresource/help/help-styles.css OK
./vresource/help/en/video-options2.jpg OK
./vresource/help/en/slide-options1.jpg OK
./vresource/help/en/position.jpg OK
./vresource/help/en/lang-small.jpg OK
./vresource/help/en/lang-large.jpg OK
./vresource/help/en/realplayer.jpg OK
./vresource/help/en/slide-options2.jpg OK
./vresource/help/en/slide-controls.jpg OK
./vresource/help/en/windowsmedia.jpg OK
./vresource/help/en/subtitles.jpg OK
./vresource/help/en/index.html OK
./vresource/help/en/flashvideo.jpg OK
./vresource/help/en/videolan.jpg OK
./vresource/help/en/quicktime.jpg OK
./vresource/help/en/video-options1.jpg OK
./vresource/help/en/thumb-controls.jpg OK
./vresource/help/en/javaaudio.jpg OK
./vresource/help/en/thumb.jpg OK
./vresource/help/pt/video-options2.jpg OK
./vresource/help/pt/slide-options1.jpg OK
./vresource/help/pt/position.jpg OK
./vresource/help/pt/lang-small.jpg OK
./vresource/help/pt/lang-large.jpg OK
./vresource/help/pt/realplayer.jpg OK
./vresource/help/pt/slide-options2.jpg OK
./vresource/help/pt/slide-controls.jpg OK
./vresource/help/pt/windowsmedia.jpg OK
./vresource/help/pt/subtitles.jpg OK
./vresource/help/pt/index.html OK
./vresource/help/pt/flashvideo.jpg OK
./vresource/help/pt/videolan.jpg OK
./vresource/help/pt/quicktime.jpg OK
./vresource/help/pt/video-options1.jpg OK
./vresource/help/pt/thumb-controls.jpg OK
./vresource/help/pt/javaaudio.jpg OK
./vresource/help/pt/thumb.jpg OK
./vresource/divs-table.css OK
./vresource/style-thumbnails.css OK
./vresource/OVP.xap OK
./vresource/images OK
./vresource/images/transparent.gif OK
./vresource/allslides.html OK
./vresource/jorbis-0.0.15.jar OK
./vresource/plugin-detect.vbs OK
./vresource/utils OK
./vresource/utils/testlangs.html OK
./vresource/utils/newlang.html OK
./vresource/audio.jar OK
./vresource/divs-layout.css OK
./recieveXML.php OK
./callback.php OK
./search_document.php OK
./backuplib.php OK
Picture of Tim Williams
Re: Problem with editing (empty page, no buttons)
by Tim Williams - Monday, 29 November 2010, 1:44 PM
 
Which 1.9.x version of Moodle are you using?

What server OS/webserver are you running?

Are there any PHP errors in your server log?

If you can't see any errors in the log (or can't access it), try going to Server>Debugging in the Moodle site administration. Set the "debug messages" drop down to "ALL" and make sure "Display debug messages" is ticked. Then re-visit an AutoView presentation and check for any error messages in the frames (and/or paste them here).

Also, if you are using FireFox, please try opening and clearing the error console (Tools>Error Console) before clicking on an AutoView presentation link. Again, paste any errors here.
Picture of Marcin Będkowski
Re: Problem with editing (empty page, no buttons)
by Marcin Będkowski - Monday, 29 November 2010, 3:13 PM
 
Thank you for your help!

- Moodle 1.9.10
- Linux / Apache 2.0
- The are some errors in server log: File does not exist: .../theme/simplicity/images/body.png. But I think it's nothing important. Is it?

In Firefox error console there is warning (in my translation): declaration was expected, but found "*" (...) in: .../theme/standard/styles.php verse: 8688.


Error massages in the AutoView presentation frames are:

Warning: XSLTProcessor::transformToXml() [xsltprocessor.transformtoxml]: runtime error: file .../mod/autoview/templates/autoview.xsl line 52 element comment in .../mod/autoview/avphplib/avlib.php on line 38

Warning: XSLTProcessor::transformToXml() [xsltprocessor.transformtoxml]: xsl:comment : '--' or ending '-' not allowed in comment in .../mod/autoview/avphplib/avlib.php on line 38
Picture of Tim Williams
Re: Problem with editing (empty page, no buttons)
by Tim Williams - Monday, 29 November 2010, 4:27 PM
 
The XSLTProcessor warning isn't normal, if this is failing then that would explain the blank page.

It would seem that putting a -- (double hyphen/dash) into any of the parameters that get included when the XSL is processed can cause this error.

Do any of the following contain a -- on your server?

1) Your Name as it appears in your Moodle
2) The server URL

If this is the problem, i'll update the AutoView code to fix this in the next release version.
Picture of Marcin Będkowski
Re: Problem with editing (empty page, no buttons)
by Marcin Będkowski - Monday, 29 November 2010, 5:27 PM
 
Yes, my server URL contains --. The part of URL is expression "xn--bdkowski-neb" which stands for "będkowski". It's the way of coding diacritics as I think.

So, I'll wait for update. :)
Thanks for your response and help.


Picture of Tim Williams
Re: Problem with editing (empty page, no buttons)
by Tim Williams - Monday, 29 November 2010, 5:24 PM
 
I've added a fix which should cure the double hyphen problem in the XSL parameters, try replacing your avphplib/avlib.php with the version located here:

http://autoview.autotrain.org/file.php/1/moodle-download/bleeding-edge/avphplib/avlib.php