Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
sup




Joined: Apr 01, 2008
Posts: 1

PostPosted: Tue Apr 01, 2008 5:36 am
Reply with quote

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
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Tue Apr 01, 2008 10:55 am
Reply with quote

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 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue Apr 01, 2008 11:19 am
Reply with quote

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.
 
View user's profile Send private message Visit poster's website
makheda




Joined: Apr 03, 2008
Posts: 2

PostPosted: Wed Apr 02, 2008 11:53 pm
Reply with quote

Hello,
Try to run it under PHP Version 5.2.5, and have the same error!

Any idea?
TKS
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Thu Apr 03, 2008 1:52 am
Reply with quote

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 
View user's profile Send private message
makheda




Joined: Apr 03, 2008
Posts: 2

PostPosted: Thu Apr 03, 2008 8:44 am
Reply with quote

THKS 4 fast answer.
Solved.
htaccess: SetEnv PHP_VER 5

Don't know..... but it works.
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Thu Apr 03, 2008 9:30 am
Reply with quote

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 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©