blob: bd0d78b9b370cb89678de604ed9a8bbae8a2f8cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Logged in and edited in textbox. Clicked preview and then clicked Save Page and it errored with:
Error: Your login session has expired.
I also did same without preview and got same error.
I added debugging to print the sid and session->id on the error. The sid was empty. The session->id was a long value (maybe base64).
View source of editing page or preview+edit page shows no "sid" input value. (I do see it when editing here in your ikiwiki site, but not on mine.)
> Further info. In the "prefs" dialog, it does have hidden "sid" defined. Viewing HTML source also shows this is in the fb_hidden class and Generated by CGI::FormBuilder v3.0501. I tried multiple times and never see "sid" in the HTML source of editing a page. --[[JeremyReed]]
>> Found problem: Needed to update my editpage.tmpl to add TMPL_VAR FIELD-SID. This bug can be closed once that is documented -- and that documentation is obvious to find.
>>> Whenever you choose to locally copy an ikiwiki template and modify it,
>>> it's really up to you to keep it up-to-date. I did consider adding a
>>> new item about this rather than just mentioning it in the changelog,
>>> since I knew it would break locally modified templates -- but I've
>>> never documented template changes in the new file before, and most of
>>> them do lead to breakage of one kind or another if a locally modified
>>> template is not kept up-to-date. I don't think that bloating the news
>>> file with mentions of every single change to every template file would
>>> be a win. --[[Joey]]
|