Re: QuickForm_Controller and Smarty, session error
| From: | Trevan Devaun Richins | Date: | Fri, 25 Jun 2004 22:42:21 +0000 |
| Subject: | Re: QuickForm_Controller and Smarty, session error | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13347@lists.php.net to get a copy of this message | ||
Bertrand Mansion wrote:
Trevan Devaun Richins wrote:If I comment the session_start() at the top of the page, the radio button works as expected and no switching occurs. But when it is on, the switching will occur. Same if I disable cookies and the reenable them. I guess your problem is related to sessions then. In your form, it looks like there is a PHPSESSID hidden var, maybe it is conflicting with a value somewhere else ? Your problem does not seem to be related to QuickForm or its controller, you are talking about cookies and sessions. All the controller does is use an existing session and store some values in a private container. Try to debug what's wrong with your session handlers. Bertrand Mansion Mamasam I fixed this. It turns out that once I turned off session_trans_id and turned on use_only_cookies in my php.ini file, it stopped the behavior. I have even been able to mimic the behavior without QuickForm, so it is something to do with php's basic session handler (which I use). Thanks, TrevanTrevan Devaun Richins wrote:Actually, I was wrong. It didn't fix it. It just fooled me for a while, but the error popped up again. Also, I just tried FireFox .9. TrevanTrevan Devaun Richins wrote:Also, do you get the same error, if you go to the page? TrevanTrevan Devaun Richins wrote:Bertrand Mansion wrote: Ok, I tried that and it looks like it solved the problem for my dummy page, but it didn't solve the problem for the actual page. Plus, I don't want those labels. I want my own that I place using Smarty. Trevan