× Joomla Facebook Connect support forum

Topic-icon Session Error

Active Subscriptions:

None
14 years 10 months ago #11767 by fb_1567641956
Session Error was created by fb_1567641956
[phpBB Debug] PHP Notice: in file /srv/www/vhosts/blink-182.de/httpdocs/libraries/joomla/session/session.php on line 510: session_regenerate_id(): Cannot regenerate session id - headers already sent
document.location.href='blink-182.de/';

This is the error if i try to login with facebook. When I delete the user in FB Connect and the app in facebook everything is okay.... The error report in joomla is none.... what can i do?
The topic has been locked.
Support Specialist
14 years 10 months ago #11775 by alzander
Replied by alzander on topic Session Error
Uwe,
I'm honestly not sure. The error is prefixx with [phpBB Debug], so I'm assuming you're integrating with phpBB. Are you using jFusion, or some other integration? Can you try disabling any bridging, temporarily, to see if it goes away. JFBConnect doesn't set the headers, so I'm not sure that it's anything we're doing, or can fix, but narrowing it down may help us come up with a solution.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 10 months ago #11822 by fb_1567641956
Replied by fb_1567641956 on topic Session Error
Hey Alex,

I disabled the jfusion bridge and got this error:

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /srv/www/vhosts/blink-182.de/httpdocs/index.php:1) in /srv/www/vhosts/blink-182.de/httpdocs/libraries/joomla/session/session.php on line 423 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /srv/www/vhosts/blink-182.de/httpdocs/index.php:1) in /srv/www/vhosts/blink-182.de/httpdocs/libraries/joomla/session/session.php on line 423 Warning: Cannot modify header information - headers already sent by (output started at /srv/www/vhosts/blink-182.de/httpdocs/index.php:1) in /srv/www/vhosts/blink-182.de/httpdocs/libraries/joomla/session/session.php on line 426 Warning: Cannot modify header information - headers already sent by (output started at /srv/www/vhosts/blink-182.de/httpdocs/index.php:1) in /srv/www/vhosts/blink-182.de/httpdocs/plugins/system/jfrouter.php on line 316 Warning: Cannot modify header information - headers already sent by (output started at /srv/www/vhosts/blink-182.de/httpdocs/index.php:1) in /srv/www/vhosts/blink-182.de/httpdocs/plugins/system/jfrouter.php on line 317 Warning: Cannot modify header information - headers already sent by (output started at /srv/www/vhosts/blink-182.de/httpdocs/index.php:1) in /srv/www/vhosts/blink-182.de/httpdocs/plugins/system/jfrouter.php on line 318 Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /srv/www/vhosts/blink-182.de/httpdocs/libraries/joomla/session/session.php on line 510 Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /srv/www/vhosts/blink-182.de/httpdocs/libraries/joomla/session/session.php on line 510
The topic has been locked.
Support Specialist
14 years 10 months ago #11827 by alzander
Replied by alzander on topic Session Error
First off, none of those messages are coming from JFBConnect directly. It appears as though something on your site is trying to echo out some text, or do something incorrectly instead of using Joomla's normal output.

I honestly don't know what the cause could be. Could you please send us a Private Message with super admin credentials for us to look into it further. I really don't know another way to proceed.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 10 months ago #11830 by fb_1567641956
Replied by fb_1567641956 on topic Session Error
you've got the pn
The topic has been locked.
Support Specialist
14 years 10 months ago #11919 by alzander
Replied by alzander on topic Session Error
Uwe,
Just got into your site to look around further. What I'm seeing when I try to register or login through Facebook is that first, I'm redirected to your News page, but then a redirect loop starts and I get continuously redirected to /index.php. I'm not seeing the session errors you mention above, but obviously, this isn't good either.

I hit 'stop' in my browser and then looked at the source code and all that was there was your Google Analytics code and a Javascript redirect to your home page, which looks like:
document.location.href='http://blink-182.de/index.php';
That line would explain the continuous redirect that I'm seeing, but I'm not sure where it's coming from.

After I did that, I logged out of Facebook and looked at the code on your home page again (no redirect loop happening this time), and if you look, you'll see the Google Analytics code is being loaded at the very top of the page.. even before the opening html tag. Something is inserting code before the actual web page output, that's not JFBConnect, may be related to your Google Analytics code, and no matter what isn't correct.

Hope this helps get you started, but I think if you investigate this issue further, it might lead you down the right path. Again, I don't think this is related to JFBConnect in anyway, but we'll gladly help you however we can.

Good luck,
Alex
The topic has been locked.