I've been working on a new Revo 2.1.3-pl installation with two contexts. In addtion to the default web context I've added a context called 'kiosk' following all of the steps on rtfm.modx.com. Everything seemed to be working perfectly, until.....
I tried to set up a form to receive some basic user data, using method="post" back to the same resource that the form was on. It looked like this:
<form method="post" action="[[~[[*id]]]]">
No matter what I did, I couldn't get the $_POST array to actually register anything. Every time it was just an empty array. I made sure that all of my elements were uncached, etc. method="get" worked just fine.
Out of curiosity, I tried everything back in my 'web' context and of course, it started working like it was supposed to. All of my $_POST variables showed up exactly like they have a hundred times before.
So, I tried one more time back in my 'kiosk' context but this time I left off the action attribute so I just had:
It worked normally? !?!
Is there any obvious reason why my $_POST variables aren't working in my 'kiosk' context? Is there a bug or something? Something I'm missing?
I'm running PHP 5.3.8, Apache 2.2, MySQL 5.1.52-log.
Any help GREATLY appreciated.
[ed. note: webandflow last edited this post 15 years, 1 month ago.]