• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Joomla, Drupal, and Wordpress (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Warning: session_start() [function.session-start]: Cannot se

Integration help for Joomla, Drupal, and Wordpress

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
4 posts • Page 1 of 1

Postby Babaji M P » Mon Sep 21, 2009 5:51 pm

I have been breaking my head for the past two days.

I tried to use wp plugin but was unable to do.

Installed through godaddy php 4 and finally was able to work it as stand alone.

Now trying to embed it in my page, after sorting out many errors, creating chat.php and chat page template, Got Struck Here:

" Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/.../html/wp-content/themes/wptheme/header.php:3) in /home/content/.../html/wp-content/themes/wptheme/phpfreechat/src/pfcuserconfig.class.php on line 25

Chat loading ...
Please wait "

In header.php line 3:
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

I don't understand what's wrong on line 3.

There are no white space before <?php on line 1.

please advice me what i have to do ?
Babaji M P
New member
 
Posts: 3
Joined: Sat Sep 19, 2009 10:58 pm
Location: India
  • Website
Top

Postby Babaji M P » Mon Sep 21, 2009 7:15 pm

Now the following error added:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/.../html/wp-content/themes/branfordmagazine/header.php:3) in /home/content/.../html/wp-content/themes/wptheme/phpfreechat/src/pfcuserconfig.class.php on line 25

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/.../html/wp-content/themes/branfordmagazine/header.php:3) in /home/content/.../html/wp-content/themes/wptheme/phpfreechat/src/pfcuserconfig.class.php on line 25
Last edited by Babaji M P on Mon Sep 21, 2009 7:40 pm, edited 1 time in total.
Babaji M P
New member
 
Posts: 3
Joined: Sat Sep 19, 2009 10:58 pm
Location: India
  • Website
Top

Postby Frumph » Mon Sep 21, 2009 7:39 pm

Line 25 in src/pfcuserconfig.class.php needs to read:

Code: Select all
    if(session_id() == "") @session_start();

^^ The @ sign there will fix your problem.
Frumph
Member
 
Posts: 38
Joined: Wed Aug 05, 2009 10:47 am
Top

Postby Babaji M P » Mon Sep 21, 2009 9:16 pm

THANK YOU VERY MUCH Frumph !!!

phpfreechat is working in wordpress :)
Babaji M P
New member
 
Posts: 3
Joined: Sat Sep 19, 2009 10:58 pm
Location: India
  • Website
Top


Post a reply
4 posts • Page 1 of 1

Return to Joomla, Drupal, and Wordpress (v1.x)

Who is online

Users browsing this forum: No registered users and 2 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub