when you have a book and click the download epub the page timesout. I suspect that this is due to the book outline information not saving correctly ( though will have to check this).

on an aside:
I have been working on my own epub module , which I had intended to use as a basis for some other format types ( see: http://drupal.org/node/887828 ) and I'd be happy to see what I can to to implement the plans for DTBooks that I'd be working on if you're wiling.

Comments

omissis’s picture

Status: Active » Closed (cannot reproduce)
TheWizz’s picture

I just tried the epub module, and ran into the same problem. In the PHP log, it indicated PHP ran out of memory. I increased the PHP memory to 256 MB in php.ini, but still ran out of memory. Here's the info in the server's error log:

[Wed Jan 18 13:14:25 2012] [error] [client 192.168.0.13] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in /Volumes/HD2/TestSite1/webserver/includes/database.mysql.inc on line 41, referer: http://xxxserver.yyy.com/admin/content/epub
[Wed Jan 18 13:19:21 2012] [notice] caught SIGTERM, shutting down
[Wed Jan 18 13:19:24 2012] [notice] Apache/2.2.20 (Unix) DAV/2 PHP/5.3.6 configured -- resuming normal operations
[Wed Jan 18 13:19:59 2012] [error] [client 192.168.0.13] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 523800 bytes) in /Volumes/HD2/TestSite1/webserver/includes/database.mysql.inc on line 41, referer: http://xxxserver.yyy.com/admin/content/epub

As you can see, I tried twice, increasing the max memory in between. It takes a few seconds for the white screen to occur. Possibly the module works as expected, but just requires a lot of RAM. Anyway, I gave up after increasing to 256MB. The "book" I'm trying to export has only a few "pages", with text and 1-2 small images each, so it shouldn't really be that heavy.

-JM

omissis’s picture

I couldn't tell whether it's a module problem or a drupal-instance or epub problem with just this info.
How many modules have you installed and how big is your book?

TheWizz’s picture

Mostly basic D6 modules. The "Book" is about 10 pages. But some pages have file download links. Perhaps the module tries to pull those in too? They're not bvery large, but perhaps this is a clue.