Undefined property: ProcesosController::$NivelTipo and Fatal error: Call to a member function find() on a non-object in /app/app_controller.php on line 195

2013-06-12 Thread esandog
hola, tengo un error en una aplicacion con cake esta funcion recibe unos parametros y con ellos tengo que buscar un precio private function cambio_precio($producto_id=null,$producto_especial=null){ $listado = $this->ListadoPrecio->find('first',array( 'contain'=>false,

Re: The classic "Fatal error: Call to a member function find() on a non-object" for newbie

2012-02-23 Thread jeremyharris
No problem. Sometimes it helps to have another person look at it :) -- 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 th

Re: The classic "Fatal error: Call to a member function find() on a non-object" for newbie

2012-02-23 Thread reynie...@gmail.com
Ohhh thanks I miss this part now it works. Ing. Reynier Pérez Mira http://reynierpm.site90.com/ On Thu, Feb 23, 2012 at 5:48 PM, jeremyharris wrote: > It's because the item Country does not exist on Information. Models are > always singular, so where you have Countries defined in your Informa

Re: The classic "Fatal error: Call to a member function find() on a non-object" for newbie

2012-02-23 Thread jeremyharris
It's because the item Country does not exist on Information. Models are always singular, so where you have Countries defined in your Information belongsTo you should have Country instead. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new Cak

Re: After upgrade from 1.2.0 to 1.2.8: $this->Medium->Author->find(...) results in "Fatal error: Call to a member function find() on a non-object"

2010-09-22 Thread Jeremy Burns | Class Outfit
a User model. ;-) >>>>> >>>>> But I didn't change anything in the source code except replacing the >>>>> cake folder with the newest version. >>>>> >>>>> On Wed, Sep 22, 2010 at 1:56 PM, Jeremy Burns | Class Outfit >

Re: After upgrade from 1.2.0 to 1.2.8: $this->Medium->Author->find(...) results in "Fatal error: Call to a member function find() on a non-object"

2010-09-22 Thread Joshua Muheim
;>> wrote: >>>>> Do you have a User model? >>>>> >>>>> Jeremy Burns >>>>> Class Outfit >>>>> >>>>> jeremybu...@classoutfit.com >>>>> http://www.classoutfit.com >>>>> >>&

Re: After upgrade from 1.2.0 to 1.2.8: $this->Medium->Author->find(...) results in "Fatal error: Call to a member function find() on a non-object"

2010-09-22 Thread Jeremy Burns | Class Outfit
assoutfit.com >>>> http://www.classoutfit.com >>>> >>>> On 22 Sep 2010, at 12:53, psybear83 wrote: >>>> >>>>> Hi everybody >>>>> >>>>> I have overtaken a CakePHP application which used an out-dated ve

Re: After upgrade from 1.2.0 to 1.2.8: $this->Medium->Author->find(...) results in "Fatal error: Call to a member function find() on a non-object"

2010-09-22 Thread Joshua Muheim
t;> >>> On 22 Sep 2010, at 12:53, psybear83 wrote: >>> >>>> Hi everybody >>>> >>>> I have overtaken a CakePHP application which used an out-dated version >>>> of CakePHP (1.2.0.x), so I upgraded it to 1.2.8. Everything

Re: After upgrade from 1.2.0 to 1.2.8: $this->Medium->Author->find(...) results in "Fatal error: Call to a member function find() on a non-object"

2010-09-22 Thread Jeremy Burns | Class Outfit
rtaken a CakePHP application which used an out-dated version >>> of CakePHP (1.2.0.x), so I upgraded it to 1.2.8. Everything worked >>> fine before, but now I have problems with HABTM relations: >>> >>> $authors = $this->Medium->Author->find('

Re: After upgrade from 1.2.0 to 1.2.8: $this->Medium->Author->find(...) results in "Fatal error: Call to a member function find() on a non-object"

2010-09-22 Thread Joshua Muheim
.0.x), so I upgraded it to 1.2.8. Everything worked >> fine before, but now I have problems with HABTM relations: >> >> $authors = $this->Medium->Author->find('list', array('order' => >> 'Author.name')); >> >> results in >

Re: After upgrade from 1.2.0 to 1.2.8: $this->Medium->Author->find(...) results in "Fatal error: Call to a member function find() on a non-object"

2010-09-22 Thread Jeremy Burns | Class Outfit
it to 1.2.8. Everything worked > fine before, but now I have problems with HABTM relations: > > $authors = $this->Medium->Author->find('list', array('order' => > 'Author.name')); > > results in > > Fatal error: Call to a member fu

After upgrade from 1.2.0 to 1.2.8: $this->Medium->Author->find(...) results in "Fatal error: Call to a member function find() on a non-object"

2010-09-22 Thread psybear83
7;order' => 'Author.name')); results in Fatal error: Call to a member function find() on a non-object in / Users/josh/Sites/ziviapps/app/controllers/media_controller.php on line 57 My models: class Author extends AppModel { var $name = 'Author'; var $hasAndBelo

Re: Fatal error: Call to a member function find()

2009-05-03 Thread kani
es > > On Apr 30, 8:13 am, Stu wrote: > > > Well the key lines here are: > > > Notice (8): Undefined property: Enmn::$Wordtype [APP\controllers > > \enmns_controller.php, line 27] > > > and > > > Fatal error: Call to a member function find() on a non-o

Re: Fatal error: Call to a member function find()

2009-05-01 Thread kani
(8): Undefined property: Enmn::$Wordtype [APP\controllers > \enmns_controller.php, line 27] > > and > > Fatal error: Call to a member function find() on a non-object in F: > \wamp\www\dict\app\controllers\enmns_controller.php on line 27 > > My diagnostic shows that you a

Re: Fatal error: Call to a member function find()

2009-04-30 Thread Stu
Well the key lines here are: Notice (8): Undefined property: Enmn::$Wordtype [APP\controllers \enmns_controller.php, line 27] and Fatal error: Call to a member function find() on a non-object in F: \wamp\www\dict\app\controllers\enmns_controller.php on line 27 My diagnostic shows that you are

Fatal error: Call to a member function find()

2009-04-30 Thread kani
ethod() - CORE\cake\libs\object.php, line 115 Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 227 Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 194 [main] - APP\webroot\index.php, line 88 Fatal error: Call to a member function find() on a non-object in F: \wamp\www\d