Google

NukeCoder


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




Joined: Jan 20, 2008
Posts: 5

PostPosted: Sun Jan 20, 2008 5:12 pm
Reply with quote

Iam running php5 and still getting an error..

Using as well RavenNuke_v2.10.01

Have exchanged the site address to xxx.com in this post only !!

Code:
Idle
Error accessing the server!
ERRNO: 2 TEXT: Cannot modify header information - headers already sent by (output started at /customers/xxx.com/xxx.com/httpd.www/rnconfig.php:220) LOCATION: /customers/xxx.com/xxx.com/httpd.www/modules/Live_Chat/lib/class.chat.php, line 257



In class.chat.php the Line 257 is as follows

Code:
 header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
[/code]


Last edited by nimis on Wed Jan 23, 2008 10:06 am; edited 1 time in total 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Sun Jan 20, 2008 6:13 pm
Reply with quote

looks like rnconfig.php might have some whitespace outside of the php tags...
Some text editors will put a blank line at the end of a file which is probably the case. You can get around this by adding the following to liveChat.php, right after the opening < ?php tag...

php:
 ob_start(); 


let me know if that takes care of the problem.
 
View user's profile Send private message Visit poster's website
nimis




Joined: Jan 20, 2008
Posts: 5

PostPosted: Mon Jan 21, 2008 4:26 am
Reply with quote

Thanks loads gotcha.. works perfectly now.

I wonder if there is a possibility to show how many people are in live chat so that others can join. Right now a PM has to be sent to members that we're in and chating.
I saw that you had this in the install.txt which Ive edited to 1. I think its not what I was suggesting.

Maybe a drop down list from the Module name or even getting the Module name in the block (as I have it "Forum Live Chat") to flash to show that ppl are in the chat would be nice.

Again Nice work thx.
Looking forward to your reply.

Nimis
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Wed Jan 23, 2008 11:45 am
Reply with quote

If you want to show how many users are in chat, you could use the code posted here: http://nukecoder.com/ftopicp-1839-Chat_info_block.html#1839

and if you want it to blink when users are in there you could use a simple
if ($chat_user_count > 0) { // users in chat } else { // chat empty }
 
View user's profile Send private message Visit poster's website
nimis




Joined: Jan 20, 2008
Posts: 5

PostPosted: Wed Jan 23, 2008 7:28 pm
Reply with quote

Thanks for the reply.. Ive placed a question in the posted link you did.
 
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
Forums ©