1
dabystru
Re: parse error, expecting `T_STRING'
  • 2004/10/20 20:43

  • dabystru

  • Just popping in

  • Posts: 1

  • Since: 2004/10/20


Quote:

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.




TopTop



Login

Who's Online

266 user(s) are online (193 user(s) are browsing Support Forums)


Members: 0


Guests: 266


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits