The ipaper-module works fine with "normal" DOC-Files and PDF-Files. But by uploading ODT-Files (OpenOffice) oder DOCX-Files, I get the following error-message:

warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '<' not found in /home/xn--pd-via-com/htdocs/modules/ipaper/scribd.php on line 249.
warning: simplexml_load_string() [function.simplexml-load-string]: Status: 500 Internal Server Error in /home/xn--pd-via-com/htdocs/modules/ipaper/scribd.php on line 249.
warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/xn--pd-via-com/htdocs/modules/ipaper/scribd.php on line 249.
Scribd error #:

Servers Configuration:

MySQL-Datenbank 5.0.32
PHP 5.2.3

Log-Messages:

Typ PHP
Datum Montag, 19. January 2009 - 13:43
Benutzer Daniel
Ort http://www.xXXXXXXXXx.com/?q=ipaper_upload/273
Referrer http://www.xXXXXXXXXx.com/?q=ipaper_transfer/273
Nachricht simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '<' not found in /home/xn--pd-via-com/htdocs/modules/ipaper/scribd.php in Zeile 249.
Schweregrad Fehler

Typ PHP
Datum Montag, 19. January 2009 - 13:43
Benutzer Daniel
Ort http://www.xXXXXXXXXx.com/?q=ipaper_upload/273
Referrer http://www.xXXXXXXXXx.com/?q=ipaper_transfer/273
Nachricht simplexml_load_string() [function.simplexml-load-string]: Status: 500 Internal Server Error in /home/xn--pd-via-com/htdocs/modules/ipaper/scribd.php in Zeile 249.
Schweregrad Fehler

Typ PHP
Datum Montag, 19. January 2009 - 13:43
Benutzer Daniel
Ort http://www.xXXXXXXXXx.com/?q=ipaper_upload/273
Referrer http://www.xXXXXXXXXx.com/?q=ipaper_transfer/273
Nachricht simplexml_load_string() [function.simplexml-load-string]: ^ in /home/xn--pd-via-com/htdocs/modules/ipaper/scribd.php in Zeile 249.
Schweregrad Fehler

Whats wrong with my installation?
Please help!

Greetings from Germany,

Tebser

Comments

rares’s picture

The errors mean that Scribd returned something that was not XML (which it should have, according to the API). In your case, it returned "500 Internal Server Error".

I will add a check in a future version to display these errors properly, but anyway what this means for you is that Scribd is not able to handle the document. Have you tried uploading it directly to see if it works? Maybe if you try again later it will work, as Scribd does display a proper "Failed conversion" error normally.

tebser’s picture

Thanks for your answer. I tried uploading it directly and on scribd.com it works.
So I will wait! Perhaps in future scribd.com will fix this "Internal Server Error" Problem.

rares’s picture

Ok, in the meantime you can give yourself the 'edit ipaper parameters' permission and enter the doc ID and access code by yourself there to make your document show. If it still does not work in two days email me a document that does not convert and I will see if it works on my setup.

rares’s picture

Does anyone know if there are still errors with ODT and DOCX?

rares’s picture

Status: Active » Needs review
rares’s picture

There have also been improvements in error reporting since rc6, so if Scribd returns Error 500, maybe now it will at least not give PHP warnings.