Re: sfDoctrineApplyPlugin - Undocumented steps to make it work, and without Zend_Mail [message #98809 is a reply to message #98808 ] |
Mon, 10 May 2010 20:32   |
zuby Messages: 9 Registered: May 2010 Location: Lagos, Nigeria |
Junior Member |
|
|
i have reloaded Apache and cleared cache but i still get the same thing. Please find attached the snapshot
Thanks
Attachment: snapshot.jpg
(Size: 114.16KB, Downloaded 71 time(s))
|
|
|
|
|
|
Re: sfDoctrineApplyPlugin - Undocumented steps to make it work, and without Zend_Mail [message #98846 is a reply to message #98821 ] |
Tue, 11 May 2010 10:58   |
zuby Messages: 9 Registered: May 2010 Location: Lagos, Nigeria |
Junior Member |
|
|
Hello fykz,
MySQL version is 5.1.41 and all my tables are InnoDB.
Looking at the Code from sfApplyActionsLibrary.class.php below, it seems the query generates nothing (which is wrong) making the condition true and thus returning invalid
$sfGuardUser = Doctrine_Query::create()
->from("sfGuardUser u")
->innerJoin("u.Profile p )->where(p.validate = ?", $validate)
->fetchOne();
if (!$sfGuardUser)
{
return 'Invalid';
}
Also when i try reseting password with email i get the "unknown email column" error and reseting with username gives me Unknown record property / related component "validate" on "Auto". please see the attached screenshots
i think the bug is somehow related. thanks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|