Google

NukeCoder


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




Joined: Feb 10, 2008
Posts: 2

PostPosted: Tue Feb 12, 2008 4:51 am
Reply with quote

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



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue Feb 12, 2008 10:41 am
Reply with quote

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




Joined: Feb 10, 2008
Posts: 2

PostPosted: Tue Feb 12, 2008 1:43 pm
Reply with quote

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



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue Feb 12, 2008 1:59 pm
Reply with quote

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!
 
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 ©