lupo49 / dokuwiki-plugin-dir

Dir plugin for DokuWiki
http://www.dokuwiki.org/plugin:dir
6 stars 10 forks source link

Installed fine, but not working #19

Open thorst opened 10 years ago

thorst commented 10 years ago

Whenever I add ~~DIR~~ to a page it wont render the page. Im running 2014-09-29 "Hrun"

gdighton commented 10 years ago

Seems to happen to me if I add DIR to a namespace's sidebar (arctic template) - the pages in that namespace don't render. Error in the sidebar area is "Fatal error: Cannot access protected property Doku_Renderer_xhtml::$_counter in /dokuwiki/lib/plugins/dir/syntax.php on line 1061"

The pages worked correctly before I updated to Hrun yesterday.

mjd-tech commented 10 years ago

See my post on dokuwiki forum, for a possible solution. https://forum.dokuwiki.org/post/45700

xrat commented 10 years ago

@thorst Let us know if @mjd-tech 's solution works for you. Otherwise we should open a new issue for the error Doku_Renderer_xhtml::$_counter in /dokuwiki/lib/plugins/dir/syntax.php on line 1061. @mjd-tech thanks! I edited syntax.php as you suggested. Works for me.

runout-at commented 10 years ago

definitely a problem after upgrading to Hrun. the solution from @mjd-tech will work, but i think there was a reason to change this declaration in Hrun. IMHO there should be a bugfix in the DIR plugin.

xrat commented 10 years ago

@runout-at That's exactly what @mjd-tech suggested. See the end of his post.

Strubbl commented 10 years ago

this issue is fixed with pull request #20 with commit 35896429497d7708824787b539862af0355aaaa9