-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export not working, not paths for,,, #64
Comments
Are there any JS errors in the Browser console? |
The message is "Finished but download failed." |
have you had a look at the console? This message should be visible in the browser when you tried a download ... |
I am using Firefox, when I go to Tools > Web Developer > Web Console the console appears. When I then get onto the dokuwiki page and hit start...Ok I got some results in the Console. I will try to attach it. Thank you for helping! |
That looks good so far ... could you send me an email with a Login that has admin power to our support email address? I'd like to check directly if possible? (please create an extra account that you can delete afterwards. and please do not post the data here ;)) |
Yes gamma, where do I find the support email? Is it github? |
please use tools@inetsoftware.de |
Ok, just found it on the Dokuwiki Site Manager page. |
Done |
You DW looks good and the request are going through, but there is never a response. It looks like something is either catching the AJAX_CALL_UNKNOWN event and not forwarding it (could be a plugin) or something else on the server is preventing the output to be send back to the client (ajax.php) You should try to disable either plugin by plugin or as many plugins as possible to check if that will change something. If you have command line access to the server you could also try to |
Thank you Gerry. I'll try those things. |
I understand very little, but am trying. Did a search on "grep -R AJAX CALL UNKNOWN" https://vanillaforums.org/discussion/27720/event-hooks-documentation https://www.dokuwiki.org/devel:event:ajax_call_unknown#plugins_handling_this_event |
I read that the plugin indexmenu uses this Ajax call too. I need indexmenu for the Navigable Book index/menu. |
There is an export script What do you think? |
I guess this is probably working too. I'm sorry, I'm lost - the next step would be trying to add debug code to the plugin registration ... but that is up to you I'm afraid. |
Thanks. I am going to think about this a little. |
Gerry What is this for? and where is it put? Is it necessary or is it useful? |
I'm not sure where you are heading. The init function is necessary to connect the ajax.php with basically everything in the inc folder. |
I had an error quite similar to yours perhaps.
Due to my prior deletion of that namespace -> storing the intermediate file fails. My solution: create a page link like this:
Clilck that link and create the page with content:
Save the page and try to run the export again. |
I'm sorry you had to go through this pain. But thanks for sharing!!! You could check the settings of SiteExport in the Admin-Configuration. There should be an entry for the path to put the siteexport.zip files for download. It should work to move this path to a different namespace if you do not have/want the original paths to exists. |
Thank you for your support and thanks developing this plugin. One problem to detect the error was that someone used the '@' symbol in
to supress error message of
So, no log entry was generated in the php_errors.log file. IMHO: it would be better not to use the @ symbol, so debugging is more easy. |
Under config > siteexport plugin Viewed a page I had created ":opencpn:fullindex" where I had entered this index request Then selected the Export from the side menu, and changed the settings to export the entire linked document.
The result was each page was saved to a zip file, which took a little while (with progressmessages) |
This is working! Its not perfect for our purposes, but it gets us within reach. In the page "fullindex" we have the following:
The bottom one works, showing the pages, but the top one does not (no links). Is this because it uses javascript? How would you suggest that we export sorted single page html (easily)? Also since this is a help file, it would be nice to be able to search it. Thank you Alexander and Gerry! |
Great that it works now! I do not know how the index menu works with javascript, but it is likely not to work in your case. It will probably try to load the pages and index via ajax which is not available offline. I'd suggest a multipage export with an index without JavaScript. But then it is not searchable. |
Gerry, what is a multipage export? Sorry, language/understanding. Also I'd like to simplify the export so that it is just the pages and not the wiki too. Please see the attached, for your understanding. (eliminate the outer index and the wiki headers/footers, etc) The bottom links are the ones that work. The goal is to create a single file html "Book" indexed in approximately the order that this indexmenu gives us: OpenCPN User Manual is one of 4 books we'd like to export. The navigation might get better when we get previous and next working in the footer, but right now its a little awkward. Do you have any suggestions for how we might accomplish this? |
Would we do something like this? And put it in the exact order that we want? |
You could use a "toc" - page in the namespace. see https://github.com/i-net-software/dokuwiki-plugin-siteexport#table-of-contents-definition - With |
Ok, how do I eliminate the wiki shell and extra navigation menu?
and just turn it into a line by line TOC? |
The look of your exported pages depends on your template. You will have to modify it or use a template that suits your needs. As for the TOC File: yeah, that would be nice. Not sure if "siteexportAGGREGATOR" (see documenation) could help here ... |
Thanks, Ok,
PS: I tried checking "Body only" in the Export Page configuration. I think that did the reverse of what I wanted, it kept the wiki shell. I want the Wiki Dokumentation only with navigation, I think. |
I'm back working on this again, and have had some success exporting both pdf and html (cgkedit). I am learning a bit about selecting the three controls (page, specified depth and namespace and below) Also it would be nice if we could specify. I've been having trouble completing a full siteexport and the most I've achieved is 104/408 I've got debug on and a file under :opencp:debug.txt and nothing seems to be written in it. I tried firebug on the site export page to find AJAX errors but have not found any yet. Right now I am trying an export with all checkboxes to turn off java on plugins. It seems faster. What I've found is that the pdf export works well, putting individual pages for each namespace under various directories. The pdf is searchable. Regarding the html appears to work with a browser loading each page, and each page appears to be located in its associated directory. The images all show fine. My problem is determining if these individual htmls are all linked together and also we really need a linked TOC at the top of a single html document (or muitiple html documents under various directories as long as it is easy for users). Can you give me any guidance on the best way to approach this? Ps We are using IndexMenu Plugin and it seems to be working with SiteExport (except it hasnt completed) and we don't end up with a Linked TOC at the top for navigation. This is just an idea, but I could put a "IndexMenu Plugin" TOC line at the top of the first page so we get that linked TOC we want. Would that work? Sorry about all the questions, but when I get it working I will write up details for how it works with IndexMenu for others. Thanks. |
By the way I sent login info for the site opencpn.org click on "Books"
I wonder what is causing the glitch at 54-108 pages. |
PS: I forgot that I have "FllIndex" page here Wouldn't that provide a linked TOC in the final document? |
Users can look at an example that should be working Closing this |
Start Process
Direct Download Link:
wget Download URL:
curl Download URL:
It used to have those paths. What should I do? Have uninstalled and reinstalled.
It completed before with paths in the fields above, but did not give me the full namespace and down...
I would appreciate a more complete description of how to set this up so that it works.
Thanks
The text was updated successfully, but these errors were encountered: