I spent hours trying to figure this one out!
wp2epub uses a temporary mysql table to store things as it goes along. Unfortunately it is defined as a TEXT field, which contains only so many characters – not enough, it seems, for some of my posts which exceeded the allowable length and got truncated (but wihout any warnings or errors)
So, please would you change the line that reads
$q="CREATE TEMPORARY TABLE
$this->base(
idINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
valTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL) ENGINE = MYISAM";
to
$q="CREATE TEMPORARY TABLE
$this->base(
idINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
valLONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL) ENGINE = MYISAM";
in file wp2epub.class.php
And then everything works fine!
Thanks
Noel
]]>Nice plugin, but it doesn’t seem to support HTML5 tags such as figure and figcaption (both of which are valid for epub 3), nor does it support colspans for tables (it seems to strip out all attributes in a td or th tag, including styles and classes)
Any easy fix on these?
Thanks
Noel
]]>Good morning !
I’ve got the latest version of WordPress and of your wonderfull plugin, but i’m in front of an error i don’t understand …
When i try to export my blog I see this :
Warning: Creating default object from empty value in /myblog/wp-content/plugins/wp2epub/wp2epub.class.php on line 62
ERROR1:'PCLZIP_ERR_READ_OPEN_FAIL (-2) : Unable to open temporary file 'pclzip-520caaf26a221.tmp' in binary write mode'
Could you help me ? It worked fine in the past so I want to perseverate …
Thank you very much !
https://www.nuagedefarine.com
Installed the plugin, went to the plugin page under Tools, got the following error:
Fatal error: Call to a member function query() on a non-object in <site directory>/wp-content/plugins/wp2epub/wp2epub.class.php on line 225
]]>