1
OOooo
What wrong with object.php line 528?
  • 2004/5/17 17:06

  • OOooo

  • Just popping in

  • Posts: 1

  • Since: 2004/5/17


Installation is Okay,
but after installation, this will show:
Quote:
Parse error: parse error, expecting `T_STRING' in /....../kernel/object.php on line 528

What can I do?

2
tl
Re: What wrong with object.php line 528?
  • 2004/5/17 17:20

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


I would re-upload object.php file again. The file or other files might be corrupted while you uploading them.

3
Bunzi
Re: What wrong with object.php line 528?
  • 2004/6/5 3:25

  • Bunzi

  • Just popping in

  • Posts: 1

  • Since: 2004/6/5 3


Are you using PHP 5 perchance? I am, and I'm experiencing the same issue, though the message is slightly different...

Quote:
Parse error: parse error, unexpected T_CLONE, expecting T_STRING in /var/www/htdocs/xoops/html/kernel/object.php on line 528


I just upgraded from v2.06 to 2.0.7rc2, which replaces object.php, and that made no difference. But given the only change in that file isn't really related to this, I'm not surprised.

4
mchugoagogo
Re: What wrong with object.php line 528?
  • 2004/6/11 15:24

  • mchugoagogo

  • Just popping in

  • Posts: 1

  • Since: 2004/6/11


Using PHP 5 too, and I get the same error message.

The OO stuff in PHP 5 is heavily revised...

5
Mithrandir
Re: What wrong with object.php line 528?

Probably a conflict between PHP5's clone and the clone method on the XoopsObject.

In time we will support PHP5, but until we fully know how to use it, XOOPS does not officially support PHP5 (some have working XOOPS installations with PHP5 - but others as you have not)

6
kinomuto
Re: What wrong with object.php line 528?
  • 2005/1/7 13:08

  • kinomuto

  • Just popping in

  • Posts: 2

  • Since: 2005/1/7 1


Hi we're getting the same error here with PHP5 - is there a patch/new version out yet for XOOPS?

PHP5 will be standard issue soon on new server CP releases (Ensim etc.)

Thanks

Kino

7
Mithrandir
Re: What wrong with object.php line 528?

Xoops 2.0.9x series has not this conflict with the native clone() method due to a renaming of XoopsObject::clone() to xoopsClone()

8
kinomuto
Re: What wrong with object.php line 528?
  • 2005/1/7 15:29

  • kinomuto

  • Just popping in

  • Posts: 2

  • Since: 2005/1/7 1


Hi Mithrandir

Thank you for your very fast reply - that is most appreciated.

Best regards

Kino

Login

Who's Online

352 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 352


more...

Donat-O-Meter

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

Latest GitHub Commits