Google

NukeCoder


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




Joined: Apr 10, 2009
Posts: 4

PostPosted: Fri Apr 10, 2009 3:11 am
Reply with quote

i only get an empty window, if i go to the Live_Chat module in PHP NUKE.

On www.mydomain.com/liveChat.php i am getting this error:

Quote:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/web1004/html/modules/Live_Chat/lib/class.chat.php on line 23


Any help?
 
View user's profile Send private message
sun999




Joined: Apr 10, 2009
Posts: 4

PostPosted: Fri Apr 10, 2009 3:37 am
Reply with quote

OK, i needed PHP5. Now it is working.
 
View user's profile Send private message
mrparanormal




Joined: Apr 14, 2009
Posts: 9

PostPosted: Tue Apr 14, 2009 11:27 am
Reply with quote

I have php5 and I'm still gettting that error what should I do?
 
View user's profile Send private message Visit poster's website
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Wed Apr 15, 2009 1:02 pm
Reply with quote

Upload the file again but make sure your ftp client is transferring the file in BINARY mode not ASCI or AUTO

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
mrparanormal




Joined: Apr 14, 2009
Posts: 9

PostPosted: Wed Apr 15, 2009 1:27 pm
Reply with quote

Ok I just tried that I still have the same error
 
View user's profile Send private message Visit poster's website
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Fri Apr 17, 2009 10:01 am
Reply with quote

If you are still getting that same error, then your site isn't running php5. Verify the php version by uploading a file named info.php with the following contents...

Code:
?php phpinfo(); ?>

Note, add a < in front of the ?php
 
View user's profile Send private message Visit poster's website
mrparanormal




Joined: Apr 14, 2009
Posts: 9

PostPosted: Fri Apr 17, 2009 11:19 am
Reply with quote

Thanks for the input gotcha but I am most definately running php 5 I know this because when I read the first guys post on this the first thing I did before posting was go check the php 5 in my host control panal and confirm it was on. also I'm running the latest version of Nuke Evolution which also requires php5 to function and the site works perfectly. do you think maybe there can be a compatibility issue between the lastest version of Nuke Evolution and Live Chat?
 
View user's profile Send private message Visit poster's website
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Fri Apr 17, 2009 11:59 am
Reply with quote

Well, if this is the error you are getting:
Code:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in


then you can't be running php5. Did you even do the phpinfo thing I asked? I mean, just because you checked the option on your hosts CP doesn't mean anything really. Some hosts have it set up to require using .php5 as the extension. I went to your site, and it seems that you have uninstalled live chat, based on the fact that the file liveChat.php doesn't exist. I'm afraid I can't help you if it isn't there and won't follow my simple suggestion to check phpinfo.
 
View user's profile Send private message Visit poster's website
mrparanormal




Joined: Apr 14, 2009
Posts: 9

PostPosted: Fri Apr 17, 2009 12:43 pm
Reply with quote

I have 5 sites I'm not sure which one you went to but I have the live chat here http://www.paranormalpalaceradio.com/modules.php?name=Live_Chat
here is the error Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/godsh1/public_html/paranormalpalaceradio/modules/Live_Chat/lib/class.chat.php on line 23

ok I was just getting a copy of the phpinfo for you when I noticed I was unable to find it. So I called my host and he said if I found none by default I would have to make one but while helping me he noticed that while the control panel showed php5 to be on in actuality it was not so he turned it off and back on and that fixed it. Now The room loads but doesn't work
http://www.paranormalpalaceradio.com/modules.php?name=Live_Chat

upper left corner says updating then under it says error acessing server
I typed hi clicked send but nothing displayed.
 
View user's profile Send private message Visit poster's website
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Fri Apr 17, 2009 1:00 pm
Reply with quote

You may have forgot to upload the liveChat.php file...

I get a 404 error on this page...
http://www.paranormalpalaceradio.com/liveChat.php

That file should be in the same place that your mainfile.php,config.php,etc are located.
 
View user's profile Send private message Visit poster's website
mrparanormal




Joined: Apr 14, 2009
Posts: 9

PostPosted: Fri Apr 17, 2009 1:10 pm
Reply with quote

Oh so the chat don't go in modules?
 
View user's profile Send private message Visit poster's website
mrparanormal




Joined: Apr 14, 2009
Posts: 9

PostPosted: Fri Apr 17, 2009 1:19 pm
Reply with quote

Opps I was being a detadee for a minute I misread last post and as such responded like a blonde my apologies. turns out you were correct and for the most part the room works great now with one tiny exception. when you click a smilie the whole list of them stays open and in the way.
 
View user's profile Send private message Visit poster's website
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 ©