Nucleus cms and PHP 5.3 compatibilty issue

Since bplaced change their PHP version to 5.3, if you are running nucleus 3.41 then you’ll get some error hence it is design for working on PHP 5.2.5, but here is the solution running nucleus in PHP 5.3
edit the globalfunctions.php in nucleus/libs/globalfunctions.php line 28

$CONF['debug'] = 0; if ($CONF['debug']) { error_reporting(E_ALL); // report all errors! } else { error_reporting(E_ERROR | E_WARNING | E_PARSE); }
change with this one

ini_set('display_errors','0'); $CONF['debug'] = 0; if ($CONF['debug']) { error_reporting(E_ALL); // report all errors! } else { error_reporting(E_ERROR | E_WARNING | E_PARSE); }
if its dont work try

ini_set('display_errors','0'); $CONF['debug'] = 0; if ($CONF['debug']) { error_reporting(E_ALL); // report all errors! } else { error_reporting(E_ERROR); }
then edit the MANAGER.php in nucleus/libs/MANAGER.php line 413
change $data with this one &$data

that’s it
now you’ll get your nucleus running again on PHP 5.3

nice, i think i will add it to the wiki =)