jfmarrero
Karma: 0
|
Re:Problem with version PHP 5.3.2 - 2010/11/18 14:16
admin wrote: You can fix that one by changing cmsapi.interface.php so that the first two methods in class cmsapiInterface (look around line 305) become:
| Code: | function __construct () {
$this->absolute_path = dirname(dirname(dirname(__FILE__)));
$this->getMainFrame();
if ('Joomla' == _CMSAPI_CMS_BASE) $this->live_site = substr(JURI::root(), 0, -1);
[...]
|
Or you can reduce the error reporting - you could set error reporting to a value that would show errors, you only need to suppress warnings of deprecated items.
Hello Martin, I've the same problem: "Assigning the return value of new by reference is deprecated" It appears in several function calls (object constructors) in differents files of your component, f.e:
"remository.interface.php", "remositoryAdmin.php", "remositoryFile.php"...
I'm working with Jooma! 1.5.22, runnig over PHP 5.3.3 / MySQL 5.1.52
It's possible to change a superclass constructor code to fix this bug? (as solution you reported before, but i can't find "cmsapi.interface.php" in Joomla! 1.5.22 code )
Thanks for helping us!
PD: I think i had to reduce the error reporting as esay solution 
Post edited by: jfmarrero, at: 2010/11/18 14:18
Post edited by: jfmarrero, at: 2010/11/19 09:45
|