1
Quote:
I have Apache 2.0.52 and PHP 5.0.2 running under Windows XP Professional.
This solution apparently works. I replaced 'clone' with 'clone_func' in the following files:
.\kernel\object.php
.\modules\system\admin\blocksadmin\blocksadmin.php
.\modules\system\admin\tplsets\main.php
You have to check each replacement manually, as there are cases where 'clone' is just a part of function name, or an argument passed to php script - those should not be replaced.
PsyLove wrote:
The keyword 'clone' is a reserved word :
1 - Rename de function "clone" in the file "objet.php".
2 - Rename all call to the function "clone" in the file "main.php".
I have Apache 2.0.52 and PHP 5.0.2 running under Windows XP Professional.
This solution apparently works. I replaced 'clone' with 'clone_func' in the following files:
.\kernel\object.php
.\modules\system\admin\blocksadmin\blocksadmin.php
.\modules\system\admin\tplsets\main.php
You have to check each replacement manually, as there are cases where 'clone' is just a part of function name, or an argument passed to php script - those should not be replaced.