Topic-icon Caching Enabled Causes login/logout redirect to random pages

Active Subscriptions:

None
Whenever I enable caching on my site at www.canbycubs.com when you login or logout of joomla "including autologin" it redirects to a random page. And I'm not sure how to fix it. I don't really want to turn page caching off.

I'm using the default caching in the config settings of joomla, and not the system plugin.
also using the default SEF that comes with joomla if that helps.

also that dev account i pm'd you with the og:url issue is still active if you need to check on things.
The topic has been locked.
Support Specialist
Sean,
Can you check your settings for "Redirect on Login/Registration/Logout"? Are they set to go to the 'current' page, or to a set destination? My guess is that a set destination won't have any problem.

Honestly though, we do a ton of testing with caching. The "Global Config" caching shouldn't be a problem at all. The system - cache plugin has caused issues in the past, but those should all be resolved.

Let us know your redirect settings and we'll see if we can come up with possible reasons why. Just to make sure, you don't have any other plugins installed that are meant to redirect the user on login or logout, correct?

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

None
Setting it to redirect to a specific page does make it go to that page just fine. and no I don't have any other plugins that do re-directs.
The topic has been locked.
Support Specialist
Sean,
I see your problem. It's not caching, directly at least. Something's going a bit (or a lot) crazy on your page. If you open the HTML, you'll see a *ton* of repeated things. It's like your system plugins are being called repeatedly for some reason. If you search for "jfbc.return_url", you'll see it in there a ton, mostly with different values. That's where the user will go to, and since it will be random which is picked, that's why the redirect is random.

It's not just JFBConnect though. Search for "SqueezeBox.initialize({});" and you'll see it repeated, as well as a lot of other stuff meant for the head section of the page.

Finally, at the very bottom of the page, there's a 2nd "body" section. There should only be one <body> tag in the page. It's down toward the bottom, and starts of like this:
<ul class="newsflash-vert">
	<li class="newsflash-item">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
</head>
<body><div id="fb-root"></div>
Unfortunately, I don't have a clue what's doing that, but if you disable optimization extensions, caching, whatever, hopefully, you can start to narrow down what's causing the duplication.

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

None
I did figure out what was causing the duplicate body tag. "A JCE Plugin that I had a long time ago, was auto adding the <body> tags to all articles" which I removed a long time ago. but I use a couple older articles to make a banner type rotation for page sponsors." the body tags were embeded in the articles and I removed them. I "think" this might have caused the repeat plugin calls? however with caching enabled it still gives me funny redirects if I dont have the page set to homepage.

Everything seems to work fine without caching enabled.
The topic has been locked.
Active Subscriptions:

None
I searched for those 2 items you mentioned that were repeated and one only had 1 instance, and the other wasn't showing up at all in the code.
The topic has been locked.