Thursday, July 19, 2012

Re: WHMCS Api - Component

You need to change "extends Object" to "extends Component".

http://book.cakephp.org/2.0/en/appendices/2-0-migration-guide.html#components

On Wed, Jul 18, 2012 at 10:47 PM, elogic <asymonds@elogicmedia.com.au> wrote:
> I have then updated the first line to: App::uses('HttpSocket',
> 'Network/Http'); and that error is by passed, now I get this:
>
> Warning (2): call_user_func_array() expects parameter 1 to be a valid
> callback, class 'WhmcsComponent' does not have a method 'initialize'
> [CORE\Cake\Utility\ObjectCollection.php, line 130]
>
>
> --
> 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
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at
> http://groups.google.com/group/cake-php

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate