Fork me on GitHub

dokuwiki install problems  Bottom

Go to page 1 - 2 [+1]:

  • Hello-

    I am attempoting to install dokuwiki for testing purposes and am running into some trouble.

    I'm running xampp on a windows XP box with the Zikula 1.0 full package installed.

    I follow the instructions for the install which state to create a dokuwiki directory in /modules and install using dokuwiki installation steps then continue on. I can not seem to access the install.php script while it resides inside of the /modules root. I am getting a Error 403, not allowed read access.

    Though I am using windows to dev on, I have given full control of the file and the directory to everyone on the system and still am having no luck.

    I can access the install script install dokuwiki in other /htdocs directories, just not /modules.

    It's cleary not a dokuwiki issue but a file permission or access issue. Is it something in Zikula that prevents access to .php files directly within the /module tree? I can't seem to find anything in the .htaccess files anywhere in the root or modules or dokuwiki.

    Any help or advice appreciated.
  • Don't copy and paste the folder directly into the modules folder. Copy and paste on top of the modules folder.
  • inside the root and not the modules folder?

    The install says something else but I'll try it.
  • Create a folder /modules/dokuwiki
    * Install Dokuwiki as described at http://wiki.splitbrain.org/wiki%3AInstall
    in modules/dokuwiki/ .
    Take care about file permissions!
    * Copy the content of the HTML folder of this package to your Postnuke root
    folder. This places the dokuwiki module in the modules folder and the search
    include to includes/search. Ignore the folder dokuwiki_fixed_files for now!
    No Dokuwiki files will be overwritten! The new files will be placed
    next to existing files!
    Optionally create a file modules/dokuwiki/conf/local2.php and store your
    personal settings there.
    Do not change the values in /conf/local.php unless you know what you are
    doing!
    * Go to Administration -> Modules, regenerate the modules list and install and
    activate the dokuwiki module. This module is used for block control in
    Xanthia only!
    * Create link in your menu to Dokuwiki using "modules/dokuwiki/doku.php"
    (without the quotes)
  • I guess I don't understand your suggestion. I can install dokuwiki anywhere else in my webroot, but not when it is in the /modules folder. When I put it inside of /modules, I get the following error:

    Code

    Access forbidden!

    You don't have permission to access the requested object. It is either read-protected or not readable by the server.

    If you think this is a server error, please contact the webmaster.
    Error 403


    Even if I copy an "installed" dokuwiki into the /modules folder, I can't access the /modules/dokuwiki/doku.php directly either.

    I am very experienced with dokuwiki, I have been using it for 2 years, but this has nothing to do with dokuwiki. I just need access to the file. Is it a windows thing? can it be fixed? Is it an .htaccess issue? where can modify it at?
  • I found a "workaround" but it doesn't really work so that isn't exactly true. I looked inside of the .htaccess inside of the /modules folder and must have missed it before but allowed .php files to be accessed directly. Obviously this isn't the answer because this is not secure, but at least it is displaying inside of the zikula framework; albeit improperly.

    Any other ideas?
  • Is anyone on the dokuwiki project team able to assist?

    I have a dokuwiki install that has over 400 documents in it and would love to be able to get this module working for 1.0.

    I would be gald to answer any questions that you have but currently, the install procedures in the documentation don't seem to work for me.

    Any help?
  • .htaccess persmissions cascade, of course. so you can add an htaccess file to override in your modules/wikithing/



    --
    David Pahl
    Zikula Support Team
  • I don't understand. Could you elaborate?
  • jaenosjelantru

    I found a "workaround" but it doesn't really work so that isn't exactly true. I looked inside of the .htaccess inside of the /modules folder and must have missed it before but allowed .php files to be accessed directly. Obviously this isn't the answer because this is not secure, but at least it is displaying inside of the zikula framework; albeit improperly.

    Any other ideas?


    /modules/yourwikiemod/.htacces

    If you need something that is being forbidden, you can allow it, by creating a new .htaccess and giving .ext permission



    --
    David Pahl
    Zikula Support Team
  • Allowing .php files in the dokuwiki directory doesn't seem very secure to me. Especially since there are several exploits allowing SQL injections with PHP specifiaclly targeting dokuwiki.

    Is there no other way to do it?
  • While working on a test migration of support.pn-cms.de I installed a local copy of our complete Wiki in my modules/dokuwiki folder. Given the correct file permissions (related to what dokuwiki needs), it was working outofthebox using a plain Zikula 1.0.0.



    --
    "He is not dangerous, he just wants to play...."
  • I will retry it using my completed dokuwiki rather than a fresh install.

    The user authenitcation integrated within the Zikula environment is the coolest thing in the world if it works. documentation is a huge deal to me on the project I'm working on. I have about 400 documents to work with so I am very glad this project is known to be working. Now I just have to get it working.

    Thanks!
  • By the way, I have this working, sort of.

    BUT! The install.txt makes reference to some files in a dokuwiki_fixed_files dir, but they are not included in the current zip:

    Quote

    Ignore the folder dokuwiki_fixed_files for now! No Dokuwiki files will be overwritten! The new files will be placed next to existing files!


    Also, I seem to be getting a session failed to start error when trying to access the configuration from the dokuwiki adminstrative area. The solutions I've seemed to find for this error don't seem to work. Can someone with a working copy of dokuwiki please verify they can access the configuration from within Zikula?
  • I think the main problem is with the upgrade of Dokuwiki but I'm not sure. Here is the error when accessing the Configuration Setting from admin of Zikula:

    Quote

    Fatal error: session_start() [function.session-start]: Failed to initialize storage module: user (path: C:\xampp\tmp) in C:\xampp\htdocs\modules\dokuwiki\lib\plugins\config\admin.php on line 218


    I have searched and found This fix but it doesn't seem to work for me.

    Yes, I'm using xampp in "Production".

    PLEASE HELP!!! :)

Go to page 1 - 2 [+1]:

This list is based on users active over the last 60 minutes.