chimeric / dokuwiki-plugin-snippets

http://dokuwiki.org/plugin:snippets
GNU General Public License v2.0
6 stars 1 forks source link

Snippet not inserted (even in a clean installation of dokuwiki) #2

Open geckon opened 15 years ago

geckon commented 15 years ago

Hi, I've got two instances of dokuwiki - one has modified settings and the second one has default settings. In any of them this plugin doesn't work.

In the first one: If I use version without "DOKU_BASE" in URL in action.php it doesn't work (page not found problem). So I added “DOKU_BASE” to the url in the file action.php. Now when I want to use snippets plugin the pop-up window (with list of my snippets) opens but it's impossible to insert snippet to the page. When I try this the pop-up window closes and nothing else happens.

In the second one (clean installation): In this instance of wiki "works" both version (with and without "DOKU_BASE"), but there is the same problem - the pop-up window just opens but it is impossible to insert snippet to the page.

/conf/local.php of the first one: <?php /*

$conf['title'] = 'testovacĂ­'; $conf['lang'] = 'cs'; $conf['useacl'] = 1; $conf['superuser'] = '@admin';

// end auto-generated content

/conf/local.php of the second one:

<?php /*

$conf['title'] = 'FIT Wiki'; $conf['start'] = 'obsah'; $conf['lang'] = 'cs'; $conf['recent'] = 30; $conf['youarehere'] = 1; $conf['fullpath'] = 1; $conf['tocminheads'] = '1'; $conf['maxtoclevel'] = '4'; $conf['maxseclevel'] = '2'; $conf['deaccent'] = '0'; $conf['useheading'] = '1'; $conf['useacl'] = 1; $conf['defaultgroup'] = 'neautorizovan'; $conf['superuser'] = '@admin'; $conf['subscribers'] = 1; $conf['userewrite'] = '2'; $conf['plugin']['include']['showfooter'] = 0; $conf['plugin']['include']['showdate'] = 0; $conf['plugin']['include']['showuser'] = 0; $conf['plugin']['include']['showcomments'] = 0; $conf['plugin']['include']['showlinkbacks'] = 0; $conf['plugin']['include']['showeditbtn'] = 0; $conf['plugin']['include']['doredirect'] = 0; $conf['plugin']['alphaindex']['title_tpl'] = '===== Obsah ====='; $conf['plugin']['alphaindex']['begin_letter_tpl'] = '=== {{letter}} ==='; $conf['plugin']['tag']['pagelist_flags'] = 'list,nodate,nouser'; $conf['plugin']['pagelist']['style'] = 'list'; $conf['plugin']['discussion']['automatic'] = 1; $conf['plugin']['discussion']['allowguests'] = 0; $conf['plugin']['discussion']['linkemail'] = 1;

// end auto-generated content

Is there any solution for this problem? I can offer more information if required.

geckon commented 14 years ago

I can confirm this issue in the newest dokuwiki and newest plugin version.