dwp-forge / refnotes

4 stars 6 forks source link

Links to notes in reference database broken #6

Closed dwp-forge closed 9 years ago

dwp-forge commented 9 years ago
What steps will reproduce the problem?
1. configuring the reference database
2. adding a note name and corresponding note text to a page in the
reference database namespace using the namespace template
3. linking to the note name

What is the expected output? a link to the note text in the appropriate format

What do you see instead? a broken link in the appropriate format

DokuWiki 2009-02-14, RefNotes 2009-09-12, PHP 5.1.6

Please provide any additional information below.

See http://dillingham.me.uk/wiki/ref:longley2005 for the note in the
reference database
See http://dillingham.me.uk/wiki/gis:lecture_1#definition_three for the
broken link

My original post (http://www.dokuwiki.org/plugin:refnotes#discussion) was
in error: the link exists, but it is broken. In my post I stated nothing
was displayed.

Many thanks.

Original issue reported on code.google.com by iain.dillingham on 2009-10-10 21:47:12

dwp-forge commented 9 years ago
(No text was entered with this change)

Original issue reported on code.google.com by dwp-forge on 2009-10-10 22:04:33

dwp-forge commented 9 years ago
Could you try to replace $settingName by $name in lines 33 and 34 of config.php?

Original issue reported on code.google.com by dwp-forge on 2009-10-10 22:37:41

dwp-forge commented 9 years ago
This doens't appear to work. See
http://dillingham.me.uk/wiki/gis:lecture_1#definition_three for the broken link,
which uses the modified config.php.

Original issue reported on code.google.com by iain.dillingham on 2009-10-11 09:38:46

dwp-forge commented 9 years ago
That's odd. Did you purge the cache?

Original issue reported on code.google.com by dwp-forge on 2009-10-11 09:46:23

dwp-forge commented 9 years ago
Browser cache, yes. Is there a cache store on the server also?

Original issue reported on code.google.com by iain.dillingham on 2009-10-11 10:01:07

dwp-forge commented 9 years ago
Yes. http://www.dokuwiki.org/caching

The easies way to test is to see if it works in Preview during editing.

BTW, do predefined notes work, for example, [(todo)]?

Original issue reported on code.google.com by dwp-forge on 2009-10-11 10:07:02

dwp-forge commented 9 years ago
Perfect! My mistake, sorry about that. I tried the preview during editing and the
reference appeared as required. Predefined notes also work. Problem solved.

Thank you for the link to the documentation, and for your quick replies.

Original issue reported on code.google.com by iain.dillingham on 2009-10-11 10:14:08

dwp-forge commented 9 years ago
Thank you for reporting! :)

Fixed in revision 304.

Original issue reported on code.google.com by dwp-forge on 2009-10-11 10:21:46