| Author |
Message |
sun999

Joined: Apr 10, 2009
Posts: 4
|
Posted:
Fri Apr 10, 2009 3:11 am |
|
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? |
| |
|
|
 |
sun999

Joined: Apr 10, 2009
Posts: 4
|
Posted:
Fri Apr 10, 2009 3:37 am |
|
OK, i needed PHP5. Now it is working. |
| |
|
|
 |
mrparanormal

Joined: Apr 14, 2009
Posts: 9
|
Posted:
Tue Apr 14, 2009 11:27 am |
|
I have php5 and I'm still gettting that error what should I do? |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 335
|
Posted:
Wed Apr 15, 2009 1:02 pm |
|
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 |
|
|
 |
mrparanormal

Joined: Apr 14, 2009
Posts: 9
|
Posted:
Wed Apr 15, 2009 1:27 pm |
|
Ok I just tried that I still have the same error |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Fri Apr 17, 2009 10:01 am |
|
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...
Note, add a < in front of the ?php |
| |
|
|
 |
mrparanormal

Joined: Apr 14, 2009
Posts: 9
|
Posted:
Fri Apr 17, 2009 11:19 am |
|
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? |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Fri Apr 17, 2009 11:59 am |
|
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. |
| |
|
|
 |
mrparanormal

Joined: Apr 14, 2009
Posts: 9
|
Posted:
Fri Apr 17, 2009 12:43 pm |
|
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. |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Fri Apr 17, 2009 1:00 pm |
|
|
|
 |
mrparanormal

Joined: Apr 14, 2009
Posts: 9
|
Posted:
Fri Apr 17, 2009 1:10 pm |
|
Oh so the chat don't go in modules? |
| |
|
|
 |
mrparanormal

Joined: Apr 14, 2009
Posts: 9
|
Posted:
Fri Apr 17, 2009 1:19 pm |
|
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. |
| |
|
|
 |
|
|