From: Nathaniel I. <ndi...@bu...> - 2003-04-24 22:42:36
|
I'm setting up Slash 2.2.6 on Mac OS X Server, and converting data from a 1.0 site. It's gone fine, and I've been attending to template problems for the last few days. Yesterday, I started seeing "invalid form key" errors, all the time, from every form that uses form keys. The only definition of an "invalid" form key I can find is from docs/formkeys.txt: * invalid - the formkey is invalid because they are trying to submit with a key that hasn't even been issued This does not appear to be true in my case. As soon as I generate the page containing a formkey in its hidden field, I can retrieve the corresponding record from the database. All the formkeys currently in my database follow this format: mysql> select * from formkeys where formkey = 'MHSiEb5i4H'\G *************************** 1. row *************************** formkey: MHSiEb5i4H formname: users id: idcount: 0 uid: 9855 ipid: 5d0739dc4467d34c1241e1b4d3483892 subnetid: 0eb1ccf00e8105eee74c91b80be44ad0 value: 0 last_ts: 0 ts: 1051135294 submit_ts: 0 content_length: 0 1 row in set (0.00 sec) I don't know if any of the above is unusual. I can trigger this problem from multiple form names, multiple uids, and multiple ipid/subnetid combinations. Of course, I've tried stop/starting apache and slashd. I have a disposable Mac OS X 10.2.5 machine on which I set up Slash 2.2.6 as a dry run -- I returned to it when the formkey problem appeared, and it was exhibiting the same symptoms. I was unable to recreate the formkey errors after re-running install-slashsite, after importing a database dump from before the problems appeared, or after importing a database dump from after the problems appeared. I expect this means I can reinstall slash and re-import my data on the main server to get back to work. I'd much prefer to understand the glitch and make sure it doesn't come back. Thanks for any assistance. -nat |