Thaks. Solved Em terça-feira, 3 de julho de 2012 18h32min58s UTC-3, cricket escreveu: > > On Tue, Jul 3, 2012 at 8:31 AM, Lucas Simon Rodrigues Magalhaes > <[email protected]> wrote: > > The error appear in this line: > > 'scope' => array('User.status' => Configure::read('User.ACTIVE')), > > And on that line you are declaring a class member. You cannot use > Configure::read() there. > > http://www.php.net/manual/en/language.oop5.properties.php > > "This declaration may include an initialization, but this > initialization must be a constant value--that is, it must be able to > be evaluated at compile time and must not depend on run-time > information in order to be evaluated." >
-- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
