Ho trovato usandola ricerca sul forum internazionale il motivo del bug, che in realtà era un eccesso di istruzioni.
c'era un controllo per PHP5 nel componente events e poco tempo dopo è stao inserito anche nel core del CMS.
Quindi c'era una doppia chiamata che generava l'errore.
La soluzione proposta è di commentare la chiamata nel componente:
"You can just delete that specific line I believe in the code. It was put there as a compatibility kludge to php5. But a month or two later the mambo developers put the same thing into their code which is causing the conflict now."
So I went into components/com_events/events.php and removed the following (lines # 1073-1091):
/* MLr: ugly hack to cope with PHP4/PHP5 differences
* concerning use of references (thanks to http://www.acko.net/node/54)
*/ <- togliere da quì
if (version_compare(phpversion(), '5.0') < 0) {
eval('
function clone($object) {
return $object;
}
');
} <- inserire quì
The Events Component is now working for me in Joomla.
**********************************************
So I went into components/com_events/events.php and removed the following (lines # 1073-1091):
For me it was commenting out line # 540-546
**********************************************
Personalmente ho trovato le linee di codice per la versione "com_events_12_ITA.zip" dal 537 al 547; eventualmente cerca con l'editor la stringa "PHP5", dovresti saltare subito al punto.
Buon lavoro e cieli sereni a tutti!
