View Single Post
Old 01-27-2013, 04:59 PM   #277
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 718
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@Vlad

To keep it simple. 2 virtually 100% the same setups. Only difference is:
1 - WAMP (X-Sendfile installed)
3 - Apache Linux Debian Wheezy (X-Sendfile installed)

Paths in config_local.php are both: "./Calibre/"

Shubook (Stanza clone IOS 6) error:
Encountered OPDS document syntax error. Tried to recover.

I only get this error with WAMP. Linux works aas expected.

Relevant eror lines from Apache log file could be:
Code:
[Sun Jan 27 22:30:11 2013] [error] [client 192.168.1.116] PHP Notice:  Undefined offset: 1 in C:\\wamp\\www\\cops31\\base.php on line 333
[Sun Jan 27 22:30:11 2013] [error] [client 192.168.1.116] PHP Stack trace:
[Sun Jan 27 22:30:11 2013] [error] [client 192.168.1.116] PHP   1. {main}() C:\\wamp\\www\\cops31\\feed.php:0
[Sun Jan 27 22:30:11 2013] [error] [client 192.168.1.116] PHP   2. OPDSRenderer->render() C:\\wamp\\www\\cops31\\feed.php:35
[Sun Jan 27 22:30:11 2013] [error] [client 192.168.1.116] PHP   3. OPDSRenderer->startXmlDocument() C:\\wamp\\www\\cops31\\OPDS_renderer.php:230
[Sun Jan 27 22:30:11 2013] [error] [client 192.168.1.116] PHP   4. Page->containsBook() C:\\wamp\\www\\cops31\\OPDS_renderer.php:133
[Sun Jan 27 22:32:30 2013] [error] [client 192.168.1.116] File does not exist: C:/wamp/www/favicon.ico
[Sun Jan 27 22:32:33 2013] [error] [client 192.168.1.116] File does not exist: C:/wamp/www/favicon.ico
If I use http://<IP-WAMPserver>/cops31/feed.php in a browser (Firefox) I get the following error after choosing the first letter of the author:

Code:
XML Parsing Error: junk after document element
Location: http://192.168.1.11/cops31/feed.php?page=2&id=S
Line Number 2, Column 1:<font size='1'><table class='xdebug-error xe-notice' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
^
I do not get this error when using either Linux Apache (COPS 0.3.1)or WAMP with COPS 0.3.0.

So the modifications might have introduced the error. But only in Windows?

for COPS!
mariosipad is offline   Reply With Quote