| Author |
Message |
sup

Joined: Apr 01, 2008
Posts: 1
|
Posted:
Tue Apr 01, 2008 5:36 am |
|
Hi all,
Upload the contents of the html folder to my nuke root
Imported live_chat.sql
Every thing went fine,Activate the module.
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/sites/modern-warfare.co.uk/public_html/modules/Live_Chat/lib/class.chat.php on line 23
Any help on this matter would be great |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 335
|
Posted:
Tue Apr 01, 2008 10:55 am |
|
Upload the file again, in binary mode. Unless you have edited that file, it should be working fine - just installed it myself. |
_________________ Code Authors Nuke Reviews |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Tue Apr 01, 2008 11:19 am |
|
This exact question has been answered a few times already, but I'll answer it once again...
Live Chat requires php5 and will not work with php4. php4 will not be supported much longer so if your host won't upgrade you or doesn't give you an option to use php5 you should find a new host asap. |
| |
|
|
 |
makheda

Joined: Apr 03, 2008
Posts: 2
|
Posted:
Wed Apr 02, 2008 11:53 pm |
|
Hello,
Try to run it under PHP Version 5.2.5, and have the same error!
Any idea?
TKS |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 335
|
Posted:
Thu Apr 03, 2008 1:52 am |
|
I have not loked at this script in detail but it seems to make use of PHP's xml prc library.
There is a known issue with the xml prc library shipped with PHP 5.2.5 in that, it does not work.
You will need to ask your web host to install the fixed xml prc libraries. |
_________________ Code Authors Nuke Reviews |
|
|
 |
makheda

Joined: Apr 03, 2008
Posts: 2
|
Posted:
Thu Apr 03, 2008 8:44 am |
|
THKS 4 fast answer.
Solved.
htaccess: SetEnv PHP_VER 5
Don't know..... but it works. |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 335
|
Posted:
Thu Apr 03, 2008 9:30 am |
|
Cool, thanks for letting us know.
Looks like that is switching the PHP version to 5.0.0 instead of your 5.x.x - nice! |
_________________ Code Authors Nuke Reviews |
|
|
 |
|
|