| Author |
Message |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 722
|
Posted:
Tue Apr 01, 2008 7:00 am |
|
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. |
|
|
|
 |
amerikaanse-bulldog
Newbie


Joined: Apr 11, 2008
Posts: 2
|
Posted:
Fri Apr 11, 2008 11:08 pm |
|
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!!! |
|
|
|
 |
amerikaanse-bulldog
Newbie


Joined: Apr 11, 2008
Posts: 2
|
Posted:
Fri Apr 11, 2008 11:12 pm |
|
little add-on I do not see my phpnuke username only in the pop up |
|
|
|
 |
hicux
Newbie


Joined: Jun 15, 2008
Posts: 1
|
Posted:
Sun Jul 06, 2008 7:39 am |
|
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 |
|
|
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 722
|
Posted:
Sun Jul 06, 2008 10:01 am |
|
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. |
|
|
|
 |
krustymk
Newbie


Joined: Oct 07, 2008
Posts: 8
|
Posted:
Wed Oct 08, 2008 8:05 am |
|
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 |
|
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 722
|
Posted:
Thu Oct 09, 2008 5:34 am |
|
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). |
|
|
|
 |
krustymk
Newbie


Joined: Oct 07, 2008
Posts: 8
|
Posted:
Thu Oct 09, 2008 8:08 am |
|
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 |
|
|
|
 |
krustymk
Newbie


Joined: Oct 07, 2008
Posts: 8
|
Posted:
Thu Oct 09, 2008 8:47 am |
|
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 |
|
|
|
 |
krustymk
Newbie


Joined: Oct 07, 2008
Posts: 8
|
Posted:
Thu Oct 09, 2008 8:57 am |
|
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> |
|
|
|
 |
krustymk
Newbie


Joined: Oct 07, 2008
Posts: 8
|
Posted:
Thu Oct 09, 2008 9:20 am |
|
|
|
 |
krustymk
Newbie


Joined: Oct 07, 2008
Posts: 8
|
Posted:
Thu Oct 16, 2008 12:09 pm |
|
Any help going to be offered on this? |
|
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 722
|
Posted:
Sat Oct 18, 2008 11:17 pm |
|
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. |
|
|
|
 |
krustymk
Newbie


Joined: Oct 07, 2008
Posts: 8
|
Posted:
Wed Oct 22, 2008 5:34 am |
|
Superb!!!! top man! done the job.
Thanks for a superb ap and first class help |
|
|
|
 |
krustymk
Newbie


Joined: Oct 07, 2008
Posts: 8
|
Posted:
Wed Oct 22, 2008 6:28 am |
|
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> |
|
|
|
 |
|
|