21
skylined
Re: parse error, expecting `T_STRING'
  • 2004/10/16 17:22

  • skylined

  • Just popping in

  • Posts: 5

  • Since: 2004/10/16


I get the same error on my system. according to to provider it is running PHP 4.3.8....?

Should I try same fix?

Skylined

22
Dave_L
Re:parse error, expecting `T_STRING'
  • 2004/10/16 17:47

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Create a file (name it phpinfo.php) containing:

<?php phpinfo() ?>


Then browse to the file. It will show you the PHP version, so you can verify that.

Delete, hide or protect the file when you're finished, since the info it displays could be useful to hackers.

23
skylined
Re:parse error, expecting `T_STRING'
  • 2004/10/18 23:43

  • skylined

  • Just popping in

  • Posts: 5

  • Since: 2004/10/16


Jepp... ver 5.0.1....

( not what it says on their support forum.... )

Thanx!

Skylined

24
skylined
Re:parse error, expecting `T_STRING'
  • 2004/10/19 0:55

  • skylined

  • Just popping in

  • Posts: 5

  • Since: 2004/10/16


Installed the 2.0.8 version, and it corrected that problem...

But I can not install News and BB mods, they are already installed, it says...

25
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.

26
Mithrandir
Re:parse error, expecting `T_STRING'

Quote:

skylined wrote:
Installed the 2.0.8 version, and it corrected that problem...

But I can not install News and BB mods, they are already installed, it says...
I have experienced this on my local test install with some modules. It gets half-way through the module installation, then chokes and finally it says that the module is already installed.

My specs are
OS : Windows XP
Webserver : Apache
PHP : 5.02 (I think - it's the latest XAMPP package)

How are yours?

Also, dabystru, what is your OS and webserver?

27
skylined
Re:parse error, expecting `T_STRING'
  • 2004/10/21 4:19

  • skylined

  • Just popping in

  • Posts: 5

  • Since: 2004/10/16


specs:

FreeBSD 4.10
Apache 2.0.50
PHP 5.0.1

BTW: are there others with similar config, but without these problems? (could it be server setup problems?)

skylined

28
Mithrandir
Re:parse error, expecting `T_STRING'

I'll just add that whenever I install certain modules, namely MyDownloads and Team (can't remember if I have tried newbb), the previously mentioned message appears. However, I ALSO get the message that XAMPP has encountered an error and needs to close - it doesn't, though, but it is the same on two of my machines.

Login

Who's Online

185 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 185


more...

Donat-O-Meter

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

Latest GitHub Commits