After installe Jake component and configured jake.ini.
Clicking (from backend) on menu components/jake this happens.
Warning: __clone method called on non-object in
(....)\components\com_jake\lib\jake_component.class.php on line 294
Jake Error :: No default application is set on the configuration file
this is the content of elements array:
Array
(
[settings] => Array
(
[default] => express
)
[express] => Array
(
[name] => Express Delivery System
[path] => ../cake/express/webroot
[url] => /express
)
[example] => Array
(
[name] => Example CakePHP application
[path] => ../cake/express/webroot
[url] => /express
[send] => param1=dummy1¶m2=dummy2
)
)
HTH
> -----Messaggio originale-----
> Da: [email protected]
> [mailto:[EMAIL PROTECTED] Per conto di Mariano Iglesias
> Inviato: domenica 18 febbraio 2007 15.24
> A: [email protected]
> Oggetto: RE: Jake 1.0.3b Released (Joomla-CakePHP bridge)
>
>
> That's strange, I've tested Joomla 1.0 with PHP 5 and no problem.
>
> What did it throw you?
>
> -MI
>
> --------------------------------------------------------------
> -------------
>
> Remember, smart coders answer ten questions for every
> question they ask.
> So be smart, be cool, and share your knowledge.
>
> BAKE ON!
>
> blog: http://www.MarianoIglesias.com.ar
>
> -----Mensaje original-----
> De: [email protected]
> [mailto:[EMAIL PROTECTED] En nombre de GMail Enviado
> el: Domingo, 18 de Febrero de 2007 10:53 a.m.
> Para: [email protected]
> Asunto: R: Jake 1.0.3b Released (Joomla-CakePHP bridge)
>
> There is other problemd related to clone method with php5.
> I've resolved applying this patch around line 294 of
> jake_component.class.php
>
> if (version_compare(phpversion(), '5.0') < 0) {
> $settings = clone($elements['settings']); } else {
> $settings = $elements['settings'];
> }
> Don't know if is the right way for every situation. This work
> with my setup:
>
> Joomla! 1.0.12 Stable [ Sunfire ] 25 December 2006 01:00 UTC
>
> cake 1.1.13.4450
>
> Php 5.1.1
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---