turnermm / epub

Dokuwiki plugin for creating ebooks
http://www.dokuwiki.org/plugin:epub
15 stars 9 forks source link

Error Call to undefined function epub_clean_name() #42

Open rgleason opened 1 month ago

rgleason commented 1 month ago

We are getting this error on all exported pages. Myron, How can we fix this?

Error: Call to undefined function epub_clean_name() An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the epub plugin. More info has been written to the DokuWiki error log.

Under Admin View Logs "Error"

2024-07-11 06:02:39Warning: current file modification time is older than last revision date/home/szlhykiz/public_html/wiki/dokuwiki/data/media/opencpn/manual_basic/quick_start_guide/connect_to/navionicsconnection.png File revision: 1716594259 2024-05-24 23:44:19 Last revision: 1716594260 2024-05-24 23:44:20 2024-07-11 10:05:49Error: Call to a member function getConf() on null/home/szlhykiz/public_html/wiki/dokuwiki/lib/plugins/captcha/wav.php(24)

0 {main}

2024-07-11 11:43:04Error: Call to undefined function epub_clean_name()/home/szlhykiz/public_html/wiki/dokuwiki/lib/plugins/epub/renderer.php(352)

0 /home/szlhykiz/public_html/wiki/dokuwiki/lib/plugins/epub/renderer.php(118): renderer_plugin_epub->copy_media('opencpn:logo.pn...', false)

#1 /home/szlhykiz/public_html/wiki/dokuwiki/inc/parser/xhtml.php(1859): renderer_plugin_epub->_media('opencpn:logo.pn...', 'OpenCPN.org', NULL, '80', NULL, 'cache')
#2 /home/szlhykiz/public_html/wiki/dokuwiki/inc/parser/xhtml.php(1821): Doku_Renderer_xhtml->_imageTitle(Array)
#3 /home/szlhykiz/public_html/wiki/dokuwiki/inc/parser/xhtml.php(971): Doku_Renderer_xhtml->_getLinkTitle(Array, 'https://opencpn...', true)
#4 /home/szlhykiz/public_html/wiki/dokuwiki/inc/parserutils.php(691): Doku_Renderer_xhtml->externallink('https://opencpn...', Array)
#5 /home/szlhykiz/public_html/wiki/dokuwiki/inc/parserutils.php(158): p_render('epub', Array, NULL)
#6 /home/szlhykiz/public_html/wiki/dokuwiki/inc/Action/Export.php(90): p_cached_output('/home/szlhykiz/...', 'epub', 'opencpn:manual_...')
#7 /home/szlhykiz/public_html/wiki/dokuwiki/inc/ActionRouter.php(86): dokuwiki\Action\Export->preProcess()
#8 /home/szlhykiz/public_html/wiki/dokuwiki/inc/ActionRouter.php(49): dokuwiki\ActionRouter->setupAction('export_epub')
#9 /home/szlhykiz/public_html/wiki/dokuwiki/inc/ActionRouter.php(62): dokuwiki\ActionRouter->__construct()
#10 /home/szlhykiz/public_html/wiki/dokuwiki/inc/actions.php(19): dokuwiki\ActionRouter::getInstance(true)
#11 /home/szlhykiz/public_html/wiki/dokuwiki/doku.php(131): act_dispatch()
#12 {main}

Under deprecated

2024-07-11 11:48:27require_once() is deprecated. It was called from require() in /home/szlhykiz/public_html/wiki/dokuwiki/lib/plugins/ckgedit/action/delete.php:4 Autoloading should be used instead! 2024-07-11 11:48:51require_once() is deprecated. It was called from require() in /home/szlhykiz/public_html/wiki/dokuwiki/lib/plugins/ckgedit/action/delete.php:4 Autoloading should be used instead! 2024-07-11 11:48:51require_once() is deprecated. It was called from require() in /home/szlhykiz/public_html/wiki/dokuwiki/lib/plugins/ckgedit/action/delete.php:4 Autoloading should be used instead! 2024-07-11 11:48:53require_once() is deprecated. It was called from require() in /home/szlhykiz/public_html/wiki/dokuwiki/lib/plugins/ckgedit/action/delete.php:4 Autoloading should be used instead!

SiteExport

2024-07-11 11:43:04The file was not a PDF (manual_basic.html). manual_basic.html 2024-07-11 11:43:04Event Data After: { "media": "wiki:siteexport:siteexport.zip", "file": "\/home\/szlhykiz\/public_html\/wiki\/dokuwiki\/data\/cache\/2\/2c357e6e4aefb1d58c1586d059212edf.siteexport.zip", "orig": "\/home\/szlhykiz\/public_html\/wiki\/dokuwiki\/data\/media\/wiki\/siteexport\/siteexport.zip", "mime": "application\/zip", "download": true, "cache": 0, "ext": "zip", "width": 0, "height": 0, "status": 200, "statusmessage": "Not Found", "ispublic": true, "csp": { "default-src": "'none'", "style-src": "'unsafe-inline'", "media-src": "'self'", "object-src": "'self'", "font-src": "'self' data:", "form-action": "'none'", "frame-ancestors": "'self'" } }