Feb 11, 2009 - 'You cannot serialize or unserialize PDO instances'. But it is weird because the sfForm class does not depend on PDO. The trace contains the file name, the line in the file, the function name, and an array of all arguments.
Greeny wrote: I did not mean the exception file, but the error page one. You can find it in log/., probably the latest one. You can open it in browser (its HTML), but also copy-paste to some service like jsfiddle. Please do so, we can then more deeply investigate the problem:) Ok, ok Hum. Under /log/.
I have 2 files:.htaccess and web.config. No HTML file in that folder. A good start, is it so? Here is the code beyond the error page: It seems that Esorimer is right about sessions, but I don't know where I use sessions I have only 2 controllers at this stage of the project, and I haven't used that in my controllers or views. Furthermore, the only model I have is UserManager (see above).
Is it possible that the sessions come from a vendor I have loaded? Thanks again for your perseverance in helping me. Last edited by Reka (2015-12-09 20:40). That paste helped, thanks.
Error is in your Authenticator on last lane of authenticate method ( return new Nette Security Identity($rowself::COLUMNID, $rowself::COLUMNROLE, $arr);) First and last arguments are ok, but the middle one is not just value. You are using table roles, so in $rowself::COLUMNROLE is ActiveRow. Possible fix is, that you replace $rowself::COLUMNROLE with $rowself::COLUMNROLE-name (instead of name use the name of column in table roles where is name for that role).
@esorimer it was exactly what I thought.
When answering a question please:. Read the question carefully. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem.
Insults are not welcome. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.