| Author |
Message |
bishop

Joined: Feb 10, 2008
Posts: 2
|
Posted:
Tue Feb 12, 2008 4:51 am |
|
Hello, I'm getting this error in my error logs And my block does not show up and nothing happens when i click on the module link except blank space.
I installed the tables through phpMyadmin and have confirmed that they exist.
| Code: |
[12-Feb-2008 01:58:05] PHP Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/XXXXXX/public_html/modules/Live_Chat/lib/class.chat.php on line 23 |
This is whats on line 23, "private $db;"
On another note, Do i need to be running php5 for this to work.
My site specs are Nuke 7.6-3.3 php4+
Thanks, you do nice work. |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Tue Feb 12, 2008 10:41 am |
|
Yes, Live Chat does require php 5 or higher. php4.x is a thing of the past and won't be supported or updated much longer. |
| |
|
|
 |
bishop

Joined: Feb 10, 2008
Posts: 2
|
Posted:
Tue Feb 12, 2008 1:43 pm |
|
| gotcha wrote: |
| Yes, Live Chat does require php 5 or higher. php4.x is a thing of the past and won't be supported or updated much longer. |
I do have the option to use php5 in my Cpanel and i would like to use it but i'm afraid if i activate it, It will mess up my web site.
I'm running nuke 7.6-3.3 and i have modified it a lot. Do you happen to know if php5 is backwards compatible with my version Nuke.
Live_chat is a really sweet script BTW.  |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Tue Feb 12, 2008 1:59 pm |
|
You should be able to switch to php5 without any major problems but there is also a chance that you will run into problems. The best thing to do would be to go into Cpanel and make a backup of both your files and your database (just in case) then just go ahead and switch it. If you have problems that a quick google search can't solve you can always switch back to php4. Good Luck! |
| |
|
|
 |
|
|