Have another look at the link you posted - you might be missing these
lines:
$databaseManager = new sfDatabaseManager($configuration);
$databaseManager->loadConfiguration();
On Mar 11, 3:40 am, xhe wrote:
> Hi All,
>
> But can you inform me how I can access other propel class?
>
> I used
>
> c
Hi All,
But can you inform me how I can access other propel class?
I used
class sendEmailAlertTask extends sfPropelBaseTask
based on the
http://www.symfony-project.org/book/1_2/16-Application-Management-Tools
but when I used
$user=UserPeer::retrieveByPK(1);
I got this error:
Fatal E
Thanks James, here's my working code from the task's execute() method
in case it helps anyone else:
$configuration = ProjectConfiguration::getApplicationConfiguration
('climategp', 'dev', false);
sfContext::createInstance($configuration);
$configuration->loadHelpers('Partial');
tr
Here 's some code of mine, although I use it on sf1.1. It should work
on 1.2 as far as I know
namespace= 'send';
$this->name = 'resetPassword';
$this->briefDescription = 'Send reset password emails';
$this->detailedDescription = <