View next topic
View previous topic
Post new topic   Reply to topic
Author Message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 756

PostPosted: Mon Mar 31, 2008 4:00 pm
Reply with quote

look up at my last post... you never did what I asked and reported the error, so until you do that I'm afraid I can't help.
 
View user's profile Send private message Visit poster's website
amerikaanse-bulldog




Joined: Apr 11, 2008
Posts: 2

PostPosted: Fri Apr 11, 2008 8:08 am
Reply with quote

I have the same problem.
phpnuke 7.8
running on php 5.2.5

and no installation problems only if I click the pop-up icon on the block i can chat but not on the block itself.

If i put my text in the line and i click on send it doesn't show up again only in the pop up window.

any idea's please!!!
 
View user's profile Send private message
amerikaanse-bulldog




Joined: Apr 11, 2008
Posts: 2

PostPosted: Fri Apr 11, 2008 8:12 am
Reply with quote

little add-on I do not see my phpnuke username only in the pop up
 
View user's profile Send private message
hicux




Joined: Jun 15, 2008
Posts: 1

PostPosted: Sat Jul 05, 2008 4:39 pm
Reply with quote

Hi guys I got this error today when I installed live chat on phpnuke 8.1 php 4 Any suggestion??


Code:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /web/htdocs/www.bestbuildpc.net/home/modules/Live_Chat/lib/class.chat.php on line 23
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 756

PostPosted: Sat Jul 05, 2008 7:01 pm
Reply with quote

It won't run on php4, as I've said in many posts. Using php4 is a bad move now days as upgrades have stopped and security fixes will stop soon also. Most hosts offer a way to switch between php4 and php5. If you host does not offer this option you should switch to a new host ASAP.
 
View user's profile Send private message Visit poster's website
krustymk




Joined: Oct 07, 2008
Posts: 8

PostPosted: Tue Oct 07, 2008 5:05 pm
Reply with quote

Was this ever resolved? I am having this problem.
When i select Live-chat i get the box and everything show up but no username or text when i enter it. If i click the live chat so it comes up in a seperate window i get a username but no text is visible when entered.
I have added the text to show an error ( $response .= mysql_error(); ) but none is being displayed at any point.
The text that has been entered into live_chat is displayed in the admin area
I have checked and i have PHP Version 5.2.6
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 756

PostPosted: Wed Oct 08, 2008 2:34 pm
Reply with quote

It could be one of many things including but not limited to:

Browser settings
HTML errors
Server settings

The most common problem is browser compatibility which is something I need to work on. It doesn't work on Safari(or any other WebKit based browser) or Google Chrome(so I hear).
 
View user's profile Send private message Visit poster's website
krustymk




Joined: Oct 07, 2008
Posts: 8

PostPosted: Wed Oct 08, 2008 5:08 pm
Reply with quote

Well im using IE 7 with default settings, i popped round my girlfriends whom uses XP again default install and its exactly the same on both.
Something new, i had the window open in the background and an error has just popped up! Error accessing the server! i havnt seen this before so i havnt looked it up.. will do now

Thanks for getting back to me so quick
 
View user's profile Send private message
krustymk




Joined: Oct 07, 2008
Posts: 8

PostPosted: Wed Oct 08, 2008 5:47 pm
Reply with quote

OK, ive only had chance to try a couple of suggestions

Done this

var debugMode = true;

and this

ob_start();

its still the same and this is the error i get

Error accessing the server!
Unknown

IF it makes any difference, the window flash between 'Idle' and 'Updating ' 10-15 or 20 times before showing an error

Admin section shows recorded input
Its late so im off to bed, thanks for any help you can offer
 
View user's profile Send private message
krustymk




Joined: Oct 07, 2008
Posts: 8

PostPosted: Wed Oct 08, 2008 5:57 pm
Reply with quote

Got an error message
i entered livchat.php directly after my site address and recieved the following.


<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <response>
- <online>
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT MAX( id ) - 50 FROM nuke_live_chat) ORDER BY id ASC LIMI
- <user>
- <![CDATA[  
]]>
</user>
</online>
<q>0</q>
<denied>false</denied>
</response>
 
View user's profile Send private message
krustymk




Joined: Oct 07, 2008
Posts: 8

PostPosted: Wed Oct 08, 2008 6:20 pm
Reply with quote

ont know how to find what SQL version i am running (its a hosted site) but the documentation is for

http://dev.mysql.com/doc/refman/5.0/en/

if thats any help
 
View user's profile Send private message
krustymk




Joined: Oct 07, 2008
Posts: 8

PostPosted: Wed Oct 15, 2008 9:09 pm
Reply with quote

Any help going to be offered on this?
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 756

PostPosted: Sat Oct 18, 2008 8:17 am
Reply with quote

Try this:
Open modules/Live_Chat/lib/class.chat.php and find

Code:
$query = 'SELECT * FROM '.TABLE_CHAT.' WHERE id > (SELECT MAX( id ) - '.MESSAGE_LIMIT.' FROM '.TABLE_CHAT.') ORDER BY id ASC LIMIT '.MESSAGE_LIMIT;


Change it to:

Code:

$q = 'SELECT MAX( id ) - '.MESSAGE_LIMIT.' FROM '.TABLE_CHAT;
$r = $this->db->sql_query($q);
$num = $this->db->sql_fetchrow($r);

$query = 'SELECT * FROM '.TABLE_CHAT.' WHERE id > '.intval($num[0]).' ORDER BY id ASC LIMIT '.MESSAGE_LIMIT;


Let me know the result.
 
View user's profile Send private message Visit poster's website
krustymk




Joined: Oct 07, 2008
Posts: 8

PostPosted: Tue Oct 21, 2008 2:34 pm
Reply with quote

Superb!!!! top man! done the job.
Thanks for a superb ap and first class help
 
View user's profile Send private message
krustymk




Joined: Oct 07, 2008
Posts: 8

PostPosted: Tue Oct 21, 2008 3:28 pm
Reply with quote

Arghhh spoke to soon!!!
After about 10 minutes with the chatroom in the backroom (just me in it) i got an error come up

In the chat window
Error accessing the server!
Unknown

form livechat.php

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <response>
- <online>
- <user>
- <![CDATA[  
]]>
</user>
</online>
<q>0</q>
<denied>false</denied>
</response>
 
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