Hi,
Love this script and would love to use it but I'm having
problems getting it to go. (I've installed this with uniform
server on a win2k box)
Parse error: parse error, unexpected T_CLONE,
expecting T_STRING in
W:\www\myhotel\lib\PEAR\XML\Tree\Node.php on line
112
Any idea's?
Logged In: YES
user_id=1416330
Hy,
maybe you have installed php5!
Phm didn't support php5.
Change to php4 an every things works well.
Logged In: NO
Around that area you'll have a function called $clone....
rename that to something else... ie. $clonefav also make
changes to everyline $clone is called.
You'll have to edit two files and everything should work
fine,
Logged In: YES
user_id=2159387
Originator: NO
For those of you that have experienced the error:
Parse error: syntax error, unexpected T_CLONE, expecting T_STRING
It is caused by conflicts with new functions and keywords in PHP5, since these didn't exist in PHP4, it was perfectly legal to use them in code!!
To resolve this issue try renaming the function/variable/constant to something that won't conflict with PHP built-in functions. e.g. add username or application's name to the beginning of the function or variable (this must be done to every occurrence of the function or constant, not just the place where the error message occurs)!!
Lee
Logged In: YES
user_id=2159387
Originator: NO
A quick fix for those of you that have no relative programing experience would be to revery back to php4 if you have this facility.
Lee
hi
have installed php 4.1 but in the tables script it uses php 4.3 will it still work and whic files do i need to change the word $clone to $clonefav
any help much apreciated!!!