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: If I enable drafts, then I got a loop redirect and I can’t edit entries

Status Resolved
Add-on / Version Publisher
Severity Trivial
EE Version

Nicolas

Jun 27, 2013

Hello,
If I enable drafts, then I got a loop redirect and I can’t edit entries

130627 11:23:07     2 Connect   ********************** on
                    2 Init DB   ***********
                    2 Query     SET NAMES utf8
                    2 Query     SELECT *
FROM (`exp_sites`)
WHERE `site_id` =  1
                    2 Query     SELECT DISTINCT ee.* FROM exp_extensions ee WHERE enabled = 'y' ORDER BY hook, priority ASC, class
                    2 Query     SELECT *
FROM (`exp_publisher_settings`)
                    2 Query     SELECT *
FROM (`exp_publisher_languages`)
ORDER BY `is_default` desc, `long_name` asc
                    2 Query     SELECT `id`
FROM (`exp_publisher_languages`)
WHERE `is_default` =  'y'
                    2 Query     SELECT LOWER(module_name) AS module_name, module_version, has_cp_backend, module_id
FROM (`exp_modules`)
                    2 Query     SELECT *
FROM (`exp_publisher_titles`)
WHERE `entry_id` =  '269'
AND `publisher_status` =  'open'
AND `publisher_lang_id` =  '2'
                    2 Quit

..

Undefined index: 2 /home/xxx/expressionengine/third_party/publisher/libraries/Publisher/Publisher_session.php 268

..

if ($req == 'CP')
        {
            ee()->publisher_lib->lang_code = $this->language_codes[ee()->publisher_lib->lang_id];

            return;
        }
[27-Jun-2013 11:57:07] S --------------------------------------------
[27-Jun-2013 11:57:07] 1 --------------------------------------------
[27-Jun-2013 11:57:07] 3
[27-Jun-2013 11:57:07] 2 --------------------------------------------
[27-Jun-2013 11:57:07] en
[27-Jun-2013 11:57:07] 3 --------------------------------------------
[27-Jun-2013 11:57:07] en
[27-Jun-2013 11:57:07] E --------------------------------------------

error_log('S --------------------------------------------');
error_log('1 --------------------------------------------');
error_log( print_r( ee()->publisher_lib->lang_id,true));
error_log('2 --------------------------------------------');
error_log( print_r( $this->language_codes[ee()->publisher_lib->lang_id],true));
error_log('3 --------------------------------------------');

 ee()->publisher_lib->lang_code = $this->language_codes[ee()->publisher_lib->lang_id];
error_log( print_r( ee()->publisher_lib->lang_code ,true));
error_log('E --------------------------------------------');

 


EE 2.5.5
Playa 4.4.3 (I clicked on “update addons”)
Publisher 0.98.8
1 lang only
set and default, and forced. No lang from browser.
Cannot upgrade (I don’t have the authorization yet) to v1.0.1
Thanks in advance

#1

BoldMinded (Brian)

I can’t go back and patch/debug 98.8 specifically, you’ll have to upgrade to the latest version before I can look into this. You’re 3 versions behind, so it might have already been fixed.

#2

Nicolas

Upgraded! I am so happy now. Thank you,

Login to reply