Not logged in. · Lost password · Register

All posts by JWC (6)

topic: Bureaucracy - "Could not read template..."  in the forum: General Help and Support Plugins
Avatar
JWC #1
Member since Jun 2019 · 6 posts · Location: London, UK
Group memberships: Members
Show profile · Link to this post
Hi Pop,

thanks for taking a look.

I have done the exact same as you describe, cutting and pasting the page names, no free typing. Still the same error message.

I can see and edit both pages, and search finds them, and I can  create pages in the namespace, so I think that rules out 'no read permissions', and the template page definitely exists in the location described with that page name. So that means that the error must be something other than what the error message is flagging, surely?

What else might be wrong? It's pretty frustrating as I'm sure you can imagine and having spent the amount of time that I have on it, I am going to say please don't waste any more time on it yourself on my account, as I won't be. It was so I could use Calendoku that I wanted to get Bureaucracy working, but I have just gone for a Google calendar now. Its not ideal, but it will do.

I hope this thread just serves as a warning to others that there is a setting in the wider wiki or a requirement or something in Bureaucracy that isn't documented and the template function might not work for them too, for no apparent reason.

Other than this I think DokuWiki is brilliant. Having also created sites with TikiWiki (ghastly), MediaWiki and WordPress, it is by far my favourite.


Best wishes,

Jonathan
topic: Bureaucracy - "Could not read template..."  in the forum: General Help and Support Plugins
Avatar
JWC #2
Member since Jun 2019 · 6 posts · Location: London, UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66784
Subject: {closed unresolved}
Hi Andi,

thanks for confirming.

Incredibly frustrating as you can imagine and a bit weird. I have spent hours and hours on this now. Should a note be put on the documentation warning that this might happen and to test first before committing to it as a plugin?

I guess this thread in the forum will be warning enough.

Cheers,

:Jonathan
topic: Bureaucracy - "Could not read template..."  in the forum: General Help and Support Plugins
Avatar
JWC #3
Member since Jun 2019 · 6 posts · Location: London, UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66753
Hi Andi,

thanks for taking a look.

Are you sure you have a page called testtemplate in the root namespace

Yes, as sure as anyone can be. I have checked and checked.

I wonder if I am mis-understanding where the template should be or how I should be referencing it in the action line.

I have tried having the template in the playground namespace and then what I understand to be the root namespace (i.e. no namespace = the pages folder on the server), and I have tried the following in the action line as the template address: playground:testtemplate , :playground:testtemplate, testtemplate and :testtemplate.

The first three bring error
Could not read template "playground:testtemplate".
and the fourth brings error
Could not read template "testtemplate".
which appears to me as though it is looking in the right place.

The template is definitely called testtemplate. I have checked and checked and cut and pasted to ensure no typos.  It is a .txt file on the server in the  namespace folder corresponding to the namespace address in the wiki. Should it have an underscore like other templates? I thought from the documentation not? Should it be some other file type?

I really have tried every configuration of template position and action line address that I can think of, many more than I have described above.

I have also tried all this in different parts of the wiki. It is not a public wiki, we are using it as an internal knowledge base for three different projects. The permissions across the wiki are really simple. Admin (me), user (about 30 people all with the same edit rights) and read (everyone else). I have tried the form logged in as a user and as admin, but nothing changes that relentless error message.

Is there anything else I can check?


Best wishes,

Jonathan
topic: Bureaucracy - "Could not read template..."  in the forum: General Help and Support Plugins
Avatar
JWC #4
Member since Jun 2019 · 6 posts · Location: London, UK
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66667
Hi Pop,

the form from the Bureaucracy documentation I am using is :

<form>
action   template testtemplate playground: _

fieldset "Create Your User Page"
select   "What's your Continent?" "Europe|N. America|S. America|Asia|Australia|Africa" @
textbox  "What's your Name?" @
textarea "Enter a short bio" !
submit
</form>

which I am testing with for instance JWC in "What's your Name?" and Europe in "What's your Continent?" which are the two elements selected by @ to construct the page name, if I've got that right? I would expect page playground:Europe_JWC or playground:europe_jwc  to be created?

The template is:

====== @@What's your Name?@@ ======

I'm living in @@What's your Continent?@@. I'm a user since %Y-%m-%d.

@@Enter a short bio|FIXME please fill in your biography@@

Many thanks,

Jonathan
This post was edited on 2019-07-04, 11:02 by andi.
topic: Bureaucracy - "Could not read template..."  in the forum: General Help and Support Plugins
Avatar
JWC #5
Member since Jun 2019 · 6 posts · Location: London, UK
Group memberships: Members
Show profile · Link to this post
Subject: Bureaucracy - "Could not read template..."
Hi Forum,

Having got nothing but the error message in my initial namespace and form and template I reverted to the documentation examples in playground to try and identify my error. Despite copying exactly the examples in the documentation I still get the "Could not read template..." error message whenever I submit a Bureaucracy form to a template.

My action line is: action   template testtemplate playground: _

My form is: playground:entryform

My template is: playground:testtemplate

I am logged in as an adminstrartor so have read/write permissions for all namespaces.

I have seen other posts on this topic but no solution that doesn't involve steps that do not seem they should be necessary from the plugin documentation.

What might I be doing wrong?

Many thanks for any suggestions,
Best wishes,
Jonathan
topic: Calendoku - working example?  in the forum: General Help and Support Plugins
Avatar
JWC #6
Member since Jun 2019 · 6 posts · Location: London, UK
Group memberships: Members
Show profile · Link to this post
Subject: Calendoku - working example?
Hi there Forum,

can anyone point me to a working example of a calendar created by the calendoku plugin? The one in the documentation is a dead link.  https://www.tolledomain.ch/dokuwiki/doku.…?id=calendar:o…

I am struggling to set one up being new to plugin:Bureaucracy (surely the hardest word to spell in the "English" language!) and also not even getting calendoku to see any hand minted ics documents. It would be great to see an example so that I know that calendoku IS going to create the kind of calendar I need, and know that it is worth troubling the forum with further questions about why I am not getting it to work.

The alternative is a google calendar, which I don't really want to do. Unless there is anything else that can allow users to enter events that span more than one day and present them in a familiar month box calendar form (which is what I am hoping to do with calendoku) ?

Many thanks,

Jonathan
Close Smaller – Larger + Reply to this post:
Special characters:
Special queries
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-12-14, 09:47:57 (UTC +01:00)