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,
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
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
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
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
>
;>> wrote:
>>>>> Do you have a User model?
>>>>>
>>>>> Jeremy Burns
>>>>> Class Outfit
>>>>>
>>>>> jeremybu...@classoutfit.com
>>>>> http://www.classoutfit.com
>>>>>
>>&
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
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
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('
.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
>
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
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
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
(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
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
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
16 matches
Mail list logo