I have carefully installed Xampp, installed Dokuwiki carefully following instructions, Logged in and started Dokuwiki, Did prelim OpenCPN setup, Downloaded all necessary Plugins, Compared website and Local Config files and made them matching, FTP Downloaded the OpenCPN website, copied the data files
- data/pages: Contains your current wiki pages.
- data/attic: Stores all the old versions of your pages.
- data/meta: Holds meta information about your pages (such as the original creator and subscribers).
- data/media: Contains your current media files (images, PDFs, etc.).
- data/media_attic: Archives the old versions of your media files.
- data/media_meta: Stores metadata related to media files.
Then started xampp server and MySQL and went to http://localhost/dokuwiki/ and logged in.
The local configuration worked well, allowing editing and saving of files, navigation via indexmenu, use of media manager, admin functions, etc.
I then tried to use sitexport in the same manner as I do on the website and I get this
result "Finished but download failed." And this was after Disabling Norton AV and FW for 1 hour.
I have checked the Windows properties and security settings for dokuwiki/data and dokuwiki/data/tmp and
- Authenticated Users have write,read, list folder contents, read and execute, modify
- Admin have Full control
- User have Read & execute, List folder contents, Read.
Same for tmp directory same set of users same settings.
I include the error logs below:
Xampp Apache Access Logs
127.0.0.1 - - [09/Jun/2024:17:40:59 -0400] "GET /dokuwiki/doku.php?id=opencpn:manual_basic:toc HTTP/1.1" 200 109459
127.0.0.1 - - [09/Jun/2024:17:40:59 -0400] "GET /dokuwiki/lib/exe/taskrunner.php?id=opencpn%3Amanual_basic%3Atoc&1717969259 HTTP/1.1" 200 42
127.0.0.1 - - [09/Jun/2024:17:40:59 -0400] "GET /dokuwiki/lib/exe/fetch.php?media=favicon.ico HTTP/1.1" 304 -
127.0.0.1 - - [09/Jun/2024:17:41:01 -0400] "GET /dokuwiki/doku.php?id=opencpn:manual_basic:toc&do=admin HTTP/1.1" 200 30342
127.0.0.1 - - [09/Jun/2024:17:41:02 -0400] "GET /dokuwiki/lib/exe/taskrunner.php?id=opencpn%3Amanual_basic%3Atoc&1717969262 HTTP/1.1" 200 42
127.0.0.1 - - [09/Jun/2024:17:41:06 -0400] "GET /dokuwiki/doku.php?id=opencpn:manual_basic:toc&do=admin&page=siteexport HTTP/1.1" 200 28093
127.0.0.1 - - [09/Jun/2024:17:41:06 -0400] "GET /dokuwiki/lib/exe/taskrunner.php?id=opencpn%3Amanual_basic%3Atoc&1717969266 HTTP/1.1" 200 42
127.0.0.1 - - [09/Jun/2024:17:41:06 -0400] "POST /dokuwiki/lib/exe/ajax.php HTTP/1.1" 200 -
127.0.0.1 - - [09/Jun/2024:17:41:13 -0400] "POST /dokuwiki/lib/exe/ajax.php HTTP/1.1" 200 -
127.0.0.1 - - [09/Jun/2024:17:41:13 -0400] "POST /dokuwiki/lib/exe/ajax.php HTTP/1.1" 200 -
127.0.0.1 - - [09/Jun/2024:17:41:17 -0400] "POST /dokuwiki/lib/exe/ajax.php HTTP/1.1" 200 -
127.0.0.1 - - [09/Jun/2024:17:41:31 -0400] "POST /dokuwiki/lib/exe/ajax.php HTTP/1.1" 200 -
127.0.0.1 - - [09/Jun/2024:17:41:33 -0400] "POST /dokuwiki/lib/exe/ajax.php HTTP/1.1" 200 -
Xampp Apache Error Log
[Sun Jun 09 17:14:20.489648 2024] [ssl:warn] [pid 20052:tid 356] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jun 09 17:14:20.537413 2024] [mpm_winnt:notice] [pid 20052:tid 356] AH00455: Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.1.25 configured -- resuming normal operations
[Sun Jun 09 17:14:20.537413 2024] [mpm_winnt:notice] [pid 20052:tid 356] AH00456: Apache Lounge VS17 Server built: Oct 18 2023 13:03:18
[Sun Jun 09 17:14:20.537413 2024] [core:notice] [pid 20052:tid 356] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Jun 09 17:14:20.553222 2024] [mpm_winnt:notice] [pid 20052:tid 356] AH00418: Parent: Created child process 24840
[Sun Jun 09 17:14:20.992857 2024] [ssl:warn] [pid 24840:tid 352] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jun 09 17:14:21.024100 2024] [ssl:warn] [pid 24840:tid 352] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jun 09 17:14:21.071481 2024] [mpm_winnt:notice] [pid 24840:tid 352] AH00354: Child: Starting 150 worker threads.
[Sun Jun 09 17:28:16.797612 2024] [authz_core:error] [pid 24840:tid 1868] [client 127.0.0.1:60538] AH01630: client denied by server configuration: C:/xampp/htdocs/dokuwiki/data/dont-panic-if-you-see-this-in-your-logs-it-means-your-directory-permissions-are-correct.png, referer: https://localhost/dokuwiki/doku.php?id=opencpn:manual_basic&do=admin
Xampp Xamp Control MySql Error Log.
2024-06-09 17:14:21 0 [Note] Starting MariaDB 10.4.32-MariaDB source revision c4143f909528e3fab0677a28631d10389354c491 as process 13372
2024-06-09 17:14:21 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2024-06-09 17:14:21 0 [Note] InnoDB: Uses event mutexes
2024-06-09 17:14:21 0 [Note] InnoDB: Compressed tables use zlib 1.3
2024-06-09 17:14:21 0 [Note] InnoDB: Number of pools: 1
2024-06-09 17:14:21 0 [Note] InnoDB: Using SSE2 crc32 instructions
2024-06-09 17:14:21 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2024-06-09 17:14:21 0 [Note] InnoDB: Completed initialization of buffer pool
2024-06-09 17:14:21 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=300396
2024-06-09 17:14:22 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2024-06-09 17:14:22 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2024-06-09 17:14:22 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2024-06-09 17:14:22 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2024-06-09 17:14:22 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2024-06-09 17:14:22 0 [Note] InnoDB: Waiting for purge to start
2024-06-09 17:14:22 0 [Note] InnoDB: 10.4.32 started; log sequence number 300405; transaction id 170
2024-06-09 17:14:22 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2024-06-09 17:14:22 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-06-09 17:14:22 0 [Note] Server socket created on IP: '::'.
Dokuwiki Error Log C:\xampp\htdocs\dokuwiki\data\log\error
2024-06-09 21:40:59 C:\xampp\htdocs\dokuwiki\lib\plugins\epub\action.php(104) E_WARNING: Trying to access array offset on value of type null
#0 C:\xampp\htdocs\dokuwiki\lib\plugins\epub\action.php(104): dokuwiki\ErrorHandler::errorHandler(2, 'Trying to acces...', 'C:\\xampp\\htdocs...', 104)
#1 C:\xampp\htdocs\dokuwiki\inc\Extension\EventHandler.php(80): action_plugin_epub->prevent_cache(Object(dokuwiki\Extension\Event), NULL)
#2 C:\xampp\htdocs\dokuwiki\inc\Extension\Event.php(75): dokuwiki\Extension\EventHandler->process_event(Object(dokuwiki\Extension\Event), 'BEFORE')
#3 C:\xampp\htdocs\dokuwiki\inc\Extension\Event.php(133): dokuwiki\Extension\Event->advise_before(true)
#4 C:\xampp\htdocs\dokuwiki\inc\Extension\Event.php(200): dokuwiki\Extension\Event->trigger(Array, true)
#5 C:\xampp\htdocs\dokuwiki\inc\Cache\Cache.php(86): dokuwiki\Extension\Event::createAndTrigger('PARSER_CACHE_US...', Object(dokuwiki\Cache\CacheRenderer), Array)
#6 C:\xampp\htdocs\dokuwiki\inc\parserutils.php(289): dokuwiki\Cache\Cache->useCache()
#7 C:\xampp\htdocs\dokuwiki\inc\indexer.php(183): p_get_metadata('opencpn:manual_...', 'relation media', 4)
#8 C:\xampp\htdocs\dokuwiki\inc\TaskRunner.php(206): idx_addPage('opencpn:manual_...', true)
#9 C:\xampp\htdocs\dokuwiki\inc\TaskRunner.php(52): dokuwiki\TaskRunner->runIndexer()
#10 C:\xampp\htdocs\dokuwiki\lib\exe\taskrunner.php(20): dokuwiki\TaskRunner->run()
#11 {main}
2024-06-09 21:41:02 C:\xampp\htdocs\dokuwiki\lib\plugins\epub\action.php(104) E_WARNING: Trying to access array offset on value of type null
#0 C:\xampp\htdocs\dokuwiki\lib\plugins\epub\action.php(104): dokuwiki\ErrorHandler::errorHandler(2, 'Trying to acces...', 'C:\\xampp\\htdocs...', 104)
#1 C:\xampp\htdocs\dokuwiki\inc\Extension\EventHandler.php(80): action_plugin_epub->prevent_cache(Object(dokuwiki\Extension\Event), NULL)
#2 C:\xampp\htdocs\dokuwiki\inc\Extension\Event.php(75): dokuwiki\Extension\EventHandler->process_event(Object(dokuwiki\Extension\Event), 'BEFORE')
#3 C:\xampp\htdocs\dokuwiki\inc\Extension\Event.php(133): dokuwiki\Extension\Event->advise_before(true)
#4 C:\xampp\htdocs\dokuwiki\inc\Extension\Event.php(200): dokuwiki\Extension\Event->trigger(Array, true)
#5 C:\xampp\htdocs\dokuwiki\inc\Cache\Cache.php(86): dokuwiki\Extension\Event::createAndTrigger('PARSER_CACHE_US...', Object(dokuwiki\Cache\CacheRenderer), Array)
#6 C:\xampp\htdocs\dokuwiki\inc\parserutils.php(289): dokuwiki\Cache\Cache->useCache()
#7 C:\xampp\htdocs\dokuwiki\inc\common.php(262): p_get_metadata('opencpn:manual_...')
#8 C:\xampp\htdocs\dokuwiki\doku.php(101): pageinfo()
#9 {main}
2024-06-09 21:41:06 C:\xampp\htdocs\dokuwiki\lib\plugins\epub\action.php(104) E_WARNING: Trying to access array offset on value of type null
#0 C:\xampp\htdocs\dokuwiki\lib\plugins\epub\action.php(104): dokuwiki\ErrorHandler::errorHandler(2, 'Trying to acces...', 'C:\\xampp\\htdocs...', 104)
#1 C:\xampp\htdocs\dokuwiki\inc\Extension\EventHandler.php(80): action_plugin_epub->prevent_cache(Object(dokuwiki\Extension\Event), NULL)
#2 C:\xampp\htdocs\dokuwiki\inc\Extension\Event.php(75): dokuwiki\Extension\EventHandler->process_event(Object(dokuwiki\Extension\Event), 'BEFORE')
#3 C:\xampp\htdocs\dokuwiki\inc\Extension\Event.php(133): dokuwiki\Extension\Event->advise_before(true)
#4 C:\xampp\htdocs\dokuwiki\inc\Extension\Event.php(200): dokuwiki\Extension\Event->trigger(Array, true)
#5 C:\xampp\htdocs\dokuwiki\inc\Cache\Cache.php(86): dokuwiki\Extension\Event::createAndTrigger('PARSER_CACHE_US...', Object(dokuwiki\Cache\CacheRenderer), Array)
#6 C:\xampp\htdocs\dokuwiki\inc\parserutils.php(289): dokuwiki\Cache\Cache->useCache()
#7 C:\xampp\htdocs\dokuwiki\inc\common.php(262): p_get_metadata('opencpn:manual_...')
#8 C:\xampp\htdocs\dokuwiki\doku.php(101): pageinfo()
#9 {main}
2024-06-09 21:41:06 C:\xampp\htdocs\dokuwiki\lib\plugins\siteexport\helper.php(183) E_WARNING: Undefined array key "depthType"
#0 C:\xampp\htdocs\dokuwiki\lib\plugins\siteexport\helper.php(183): dokuwiki\ErrorHandler::errorHandler(2, 'Undefined array...', 'C:\\xampp\\htdocs...', 183)
#1 C:\xampp\htdocs\dokuwiki\lib\plugins\siteexport\admin.php(50): helper_plugin_siteexport->__siteexport_addpage()
#2 C:\xampp\htdocs\dokuwiki\inc\template.php(205): admin_plugin_siteexport->html()
#3 C:\xampp\htdocs\dokuwiki\inc\Action\Admin.php(43): tpl_admin()
#4 C:\xampp\htdocs\dokuwiki\inc\template.php(120): dokuwiki\Action\Admin->tplContent()
#5 [internal function]: tpl_content_core('admin')
#6 C:\xampp\htdocs\dokuwiki\inc\Extension\Event.php(134): call_user_func_array('tpl_content_cor...', Array)
#7 C:\xampp\htdocs\dokuwiki\inc\Extension\Event.php(200): dokuwiki\Extension\Event->trigger('tpl_content_cor...', true)
#8 C:\xampp\htdocs\dokuwiki\inc\template.php(102): dokuwiki\Extension\Event::createAndTrigger('TPL_ACT_RENDER', 'admin', 'tpl_content_cor...')
#9 C:\xampp\htdocs\dokuwiki\lib\tpl\dokuwiki\main.php(60): tpl_content()
#10 C:\xampp\htdocs\dokuwiki\inc\actions.php(30): include('C:\\xampp\\htdocs...')
#11 C:\xampp\htdocs\dokuwiki\doku.php(131): act_dispatch()
#12 {main}
This is the exact same identical issue that I am getting for the dokuwikistick installation on C:
I appear to be getting nowhere fast.
I believe that once I can run siteexport locally, so that we don't get timeouts which occur on the online webserver, I will be able to build the portable Manual, but this appears to be a big hurdle.
Edit by saggi: Logs included in the code tag