Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Redirect Loop

Status Resolved
Add-on / Version Publisher
Severity Blocker
EE Version 24

Matt Bulfair

Apr 11, 2013

In the admin, I am now getting a redirect loop when I try to edit a post in a new language? Is there a setting I might have out of whack some where that would cause this? See screenshot for settings.

#1

BoldMinded (Brian)

Seems I introduced this in the last release. To fix it open up the publisher/libraries/Publisher/Publisher_session.php and on line 174 comment this out, should fix this issue. I’ll look for a better solution for the next release though.

// if (preg_match('/lang_id=(\S+)/', $url, $matches))
// {
// $url = preg_replace('/lang_id=(\S+)/', 'lang_id='. $this->EE->publisher_lib->lang_id, $url);
// }
// else
// {
// $url .= '⟨_id='. $this->EE->publisher_lib->lang_id;
// }
#2

Matt Bulfair

Thanks so much, that did it, and I know what you were referring to in the comment, it wouldn’t switch on the first dropdown, I had got that working by setting my admin preferences to always save as published and show published, then it worked.

Login to reply