1
tvbkhanh
Re: parse error, expecting `T_STRING'
  • 2004/10/13 4:37

  • tvbkhanh

  • Just popping in

  • Posts: 1

  • Since: 2004/10/13


Quote:

Dave_L wrote:
Search for "PHP5". There have already been several recent posts on this issue.


This not only the T_CLONE issues, you must do these steps.
However, this is easy to fix.
The main problem is get_class() function in PHP5 has difference form PHP4.
PHP4 return lowercase, and PHP5 return original notation.

Find in source code
if (get_class(...) == '...')
or
if (get_class(...) != '...')

and replace with

if (strtolower(get_class(...)) == '...')
or
if (strtolower(get_class(...)) != '...')

Now your XOOPS work with PHP5

Good luck




TopTop



Login

Who's Online

192 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 192


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