turnermm
How are you doing this editing and linking. Over the web, on your LAN, ftp? I assume it can't be dokuwiki because you say you can get these pages to show up in DW.
eagleeyes
I added the missing files via lan directly into the data/pages path on the file system. The pages that do show up I added via dokuwiki app.
turnermm
What server is the wiki on? What are the file permissions and the names of the owners and groups of the files that you've uploaded on the lan?
eagleeyes
.txt extension check
readable check
I can direct link to the path where the file is at and it loads no problem. I can edit and update the file, and see the updates both in the wiki and in the file system.
turnermm
The pages must, of course, have the .txt extension and they must be readable by the web server, so that is something to check.
eagleeyes
I have been digging around but failed to find a suggestion that works. So I apologize if this is answered already and I missed it. I am setting up a DokuWiki for the first time. One of the key features I was looking for was the ability to add/remove/edit files outside of the wiki app. While this technically works, I am finding that the page lists do not include anything added outside the wiki app interface. I have tried:
- nspages plugin
- rebuilding the index with included php script
- rebuilding the index with the index manager plugin
- manually removing all index and cache files
Through it all pages created in the wiki app show up in page lists, but not ones added directly to the data/pages directory. The interesting bits is searches find the pages, and the tag plugin will list the pages if a tag is added. I hope I am missing something obvious, and any help will be much appreciated.
eagleeyes
I am running this on Mac OS 10.9 w/Server 3.2.2
PHP Version 5.4.30
Apache Version 2.2.26
I have set the owner to _www and permissions to 777 on all files in dokuwiki directory.
eagleeyes
Which reading requirements I am below the recommended 5.6. I guess I am lucky anything works. I will try a newer install tomorrow.
andi
DokuWiki pages are cached. Some auto-listing plugins will use mechanisms to automatically invalidate the cache, others don't. The mechanisms to invalidate caches may not work for externally created pages. You have three options:
* dig into the plugin code and adjust how the caches are invalidated
* invalidate all caches by touching conf/local.php after you create new pages externally
* add a ~~NOCACHE~~ pragma on pages with automatic listings
stararmy
You may want to rebuild the search index any time you add/remove a large number of pages without going through the wiki.
Also remember that Dokuwiki doesn't like files that don't have the proper naming ( lowercase_letters_and_underscores.txt ) so pages might not appear if they have names like Uppercase Letters And Spaces.txt
eagleeyes
That was it, it was file case names. I did not have any spaces, but I did have capital letters in the file names. Pulled those out and it all showed up. Thanks for the tip!
stararmy
You're welcome! Happy to help!