Giter Site home page Giter Site logo

Comments (22)

turnermm avatar turnermm commented on June 27, 2024

It could be a permissions problem or a caching problem or a conflict with another plugin. The first thing to try is to enter some text anywhere on the page. This will help if it is a caching problem. If it is a plugin conflict, the only way to determine this is to disable all the other plugins and create a test ebook. If it works, then enable each of your other plugins one at a time, until you come to the plugin which conflicts with it.

from epub.

sophiaphillyqueen avatar sophiaphillyqueen commented on June 27, 2024

The only other plugins on the entire wiki are the ones that come with DokuWiki ---- none others besides it.

from epub.

turnermm avatar turnermm commented on June 27, 2024

What about: ``The first thing to try is to enter some text anywhere on the page.`?

from epub.

turnermm avatar turnermm commented on June 27, 2024

Also, what browser are you using? And does it happen if you try another browser? What Operating system do you use for your desktop and which for your web server? And which web server? Have you tried clearing your browser's cache and the dokuwiki cache?

from epub.

sophiaphillyqueen avatar sophiaphillyqueen commented on June 27, 2024

Oh --- about the entering text anywhere on the page ---- I tried that --- more than once ---- to no effect.

What browser am I using? So far I have been using Safari. I will try Firefox --- and get back with you on the results. Oh ---- should I also try Chrome if Firefox doesn't work? (Those are the three browsers I have installed.)

So if you think that Safari might be at fault ---- I will try the other two browsers and see if it makes a difference.

from epub.

turnermm avatar turnermm commented on June 27, 2024

I just tried Safari on a macbookPro with Snow Leopard. I was able to create an ebook both from a site on a Centos server and from the macbook's own web server. That doesn't mean you shouldn't try other browsers. Snow Leopard is 6 years old and Safari may have changes that affect creating an ebook.

from epub.

turnermm avatar turnermm commented on June 27, 2024

You can also check the error logs if possible to see if any errors are showing up. If your server uses apache, and if you have access to httpd.conf, that will tell you where the apache log is. This log file will probably also show any PHP errors and warnings, which will be marked as PHP.

from epub.

sophiaphillyqueen avatar sophiaphillyqueen commented on June 27, 2024

Well ---- there definitely is no error log.

Honestly ---- it really really seems as though the problem is with how the browser is processing the HTML sent by the server ---- as though the button is effectively inactive. No error messages detected on the server end at all.

The thing is ----- the button is showing up ----- so why is it inactive?

from epub.

turnermm avatar turnermm commented on June 27, 2024

Does your web site have an external url or is it local and housed on your mac? If it's locally on your mac you should find the error log in /private/var/log/apache2. If it's being hosted, you can ask your hosting service if you can access your error logs. If it's external, perhaps you could give me the url.
Also, is it inactive or disabled? Inactive: you click, the button responds like a normal button, it depresses, but nothing happens. Disabled: you click but the button doesn't depress.

from epub.

sophiaphillyqueen avatar sophiaphillyqueen commented on June 27, 2024

I have elsewhere on the same account on the same server (for this purpose) created a temporary PHP file designed specifically to guarantee an error --- so that I would know where an error log would be if it exists. When I tried it, the file "error_log" was created in the same directory as the PHP script in question.

from epub.

sophiaphillyqueen avatar sophiaphillyqueen commented on June 27, 2024

Continued from my previous post (which was submitted prematurely to the thread --- before I finished what I was saying) ---- When I created a script elsewhere on the same server in the same account that was guaranteed to produce an error, the file "error_log" was created in the same directory as that PHP script. ---- Based on this information, I looked for a file called "error_log" in the directory of the script that would have produced an error if there was one --- but there was no such file there.

from epub.

turnermm avatar turnermm commented on June 27, 2024

It would help to have more information. Some of the things that might be helpful are:

  • the system on which dokuwiki is running
    • the system on which your brower is running (I assume OS X)
    • the version of dokuwiki
    • version of php
    • hosting service (important because some hosts implement restrictions)
    • url of your dokuwiki

From what you say about the error log, I assume it's a shared hosting service. But if error logs are being written to the directory where the script originates, then you most likely wouldn't find it in the plugin directory, if that's where you looked (but you don't say).

And you don't say if you've tried firefox and chrome, although you indicated that you would.

Put this at the top of doku.php, under the license statement.

ini_set("log_errors", 1);
ini_set("error_log", "/path-to/php-error.log");
error_reporting(E_ALL);
error_log( "Hello, errors!" );

If there are php errors they should be written to the specified log. The log must be writable by the web server. You should find the log with "Hello, errors" written to it. If you don't find it, you've misconfigured the log path or the permissions. To test whether the error is with Javascript, open safari's developer->console. Better yet, use FireFox's Firebug.

from epub.

sophiaphillyqueen avatar sophiaphillyqueen commented on June 27, 2024

The machine that the browser is usually running on is indeed OSX -- Mavericks to be specific. Key word "usually" though. I believe I have also tried it on my Android tablet, and gotten the same unfavorable result.

The main page of the wiki is here:
http://cthiabook.com/wiki/doku.php?id=start

If you want to look at the page in question, the link is here: http://cthiabook.com/wiki/doku.php?id=epub:main_offline_edition

The version of DokuWiki is: 2014-09-29b "Hrun"

I am not sure how to find the version of PHP --- but maybe you can find it on this page: http://cthiabook.com/info.php

The hosting service is http://hostmonster.com

And I will add the code you said to doku.php and see if it makes a difference.

from epub.

sophiaphillyqueen avatar sophiaphillyqueen commented on June 27, 2024

After adding the error-logging code --- here is what the error log looks like:

[11-Feb-2015 15:13:40 America/Denver] Hello, errors!
[11-Feb-2015 15:14:06 America/Denver] Hello, errors!
[11-Feb-2015 15:14:39 America/Denver] Hello, errors!
[11-Feb-2015 15:14:39 America/Denver] Hello, errors!

from epub.

turnermm avatar turnermm commented on June 27, 2024

On checking your page, I found an error in the HTML being output by the plugin. It doesn't seem to be of any importance but you can never tell. So re-install using the latest version, which is now here on github.

from epub.

turnermm avatar turnermm commented on June 27, 2024

I don't see anything in the hosting company's policies that should make a difference. Have you tried Chrome and FireFox?

from epub.

sophiaphillyqueen avatar sophiaphillyqueen commented on June 27, 2024

Can I update it through DokuWiki's extention manager? (That's how I installed it the first time.)

from epub.

turnermm avatar turnermm commented on June 27, 2024

On 2/11/2015 6:53 PM, Sophia Elizabeth Shapira wrote:

Can I update it through DokuWiki's extention manager? (That's how I
installed it the first time.)


Reply to this email directly or view it on GitHub
#20 (comment).

Yes. It should say that it is updatable but if not just click on
re-install.

Myron Turner
http://mturner.org/
https://github.com/turnermm

from epub.

turnermm avatar turnermm commented on June 27, 2024

I've written a script which can create ebooks from outside of the wiki. You place the script in the epub directory and link to it from the browser's location bar. Let me know if you are interested.

from epub.

sophiaphillyqueen avatar sophiaphillyqueen commented on June 27, 2024

Yes --- I am interested in the script.

As for updating --- attempting to update was un-successful. The browser said it was a success -- but the version remained the old one. Even installing and uninstalling did not work.

Apparently the following file needs to be updated too: https://github.com/turnermm/epub/archive/master.zip

But yes ---- if you know another way to create the ebook, I am interested.

from epub.

sophiaphillyqueen avatar sophiaphillyqueen commented on June 27, 2024

I uninstalled and re-installed ----- and the system still told me that the version I had installed wasn't the latest version.

from epub.

turnermm avatar turnermm commented on June 27, 2024

There was a typo in the info file, but you still do have the current version. For the script, go to:
http://mturner.org/devel/doku.php?id=devel:epub
I wrote this script with you in mind. But in fact no one has ever reported the kind of error you encountered, which is why it would still be helpful if you tried the plugin using Chrome and FireFox. It sounds to me like a javascript error.

from epub.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.