We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Error

Content disappears when reordering block

Hi,

I have come across a strange issue when reordering a block. The content seems to dissapear - http://quick.as/kV3WIOoYz

This is a custom ckeditor, but was experiencing the same issue with other regions.

Any ideas why this might be happening?

Perch Runway: 2.8.19
Production mode: Production (100)
Installed apps: content (2.8.19), assets (2.8.19), categories (2.8.19), perch_blog (5.0), collection_1 (2.8.19), perch_mailchimp (2.0.1), perch_twitter (3.5.1)
DB driver: PDO
DB tables: perch2_backup_plans, perch2_backup_resources, perch2_backup_runs, perch2_blog_authors, perch2_blog_comments, perch2_blog_index, perch2_blog_posts, perch2_blog_posts_to_tags, perch2_blog_sections, perch2_blog_tags, perch2_blogs, perch2_categories, perch2_category_counts, perch2_category_sets, perch2_collection_index, perch2_collection_items, perch2_collection_revisions, perch2_collections, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_mailchimp_campaigns, perch2_mailchimp_history, perch2_mailchimp_log, perch2_mailchimp_stats, perch2_mailchimp_subscribers, perch2_navigation, perch2_navigation_pages, perch2_page_routes, perch2_page_templates, perch2_pages, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_twitter_scheduled_tweets, perch2_twitter_settings, perch2_twitter_tweets, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
Users: 4
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
        'perch_blog',
        'perch_mailchimp',
        'perch_twitter',
    );
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Scheduled tasks for perch_mailchimp: update_list_stats (60 mins)
Scheduled tasks for perch_twitter: post_tweets (1 mins), update_tweets (1440 mins)
Editor plug-ins: ckeditor, markitup
H1: b8437403a79e4c5ea7beffbc204fad2c
L1: 7d3ec7b8f4126c86d2e4cf20ea478c39
headerColour: #000000
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.15: done
perch_blog_update: 5.0.1
headerScheme: dark
update_runway_2.8.15: done
latest_version: 2.8.15
on_sale_version: 2.8.19
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
perch_blog_post_url: /resources/blog/{postSlug}
perch_blog_site_name:
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
perch_blog_comment_notify: 0
perch_mailchimp_secret: bb0b25ae91c991f161d07329c998a71f
perch_mailchimp_update: 2.0
perch_mailchimp_api_key:
perch_mailchimp_list_id:
perch_mailchimp_campaign_url: /mailchimp/campaign.php?s={campaignSlug}
perch_twitter_update: 3.5
update_runway_2.8.19: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_SITEPATH: /home/iconwww/public_html
PERCH_SCHEDULE_SECRET: xgZbP6h2kWrJb5tZ
PERCH_DB_USERNAME: iconwww_perch
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: iconwww_perch
PERCH_DB_PREFIX: perch2_
PERCH_EMAIL_FROM: finbar.mulholland@themegroup.co.uk
PERCH_EMAIL_FROM_NAME: Finbar Mulholland
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/iconwww/public_html/perch
PERCH_CORE: /home/iconwww/public_html/perch/core
PERCH_RESFILEPATH: /home/iconwww/public_html/perch/resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
PERCH_TZ: UTC
PERCH_RUNWAY: 1
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_RUNWAY_ROUTED:
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/iconwww/public_html/perch/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_SESSION_TIMEOUT_MINS: 20
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: textile
HOSTING SETTINGS

PHP: 5.5.16
Zend: 2.5.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: bf9ad53b11c9a57efdb1057292d73b928b8c5c77 $
MySQL server: 5.5.46-cll
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, filter, ftp, gd, hash, iconv, SPL, json, mbstring, mcrypt, session, mysql, mysqli, standard, Phar, posix, Reflection, mysqlnd, SimpleXML, sockets, imap, tokenizer, xml, xmlreader, xmlwriter, cgi-fcgi, PDO, pdo_sqlite, timezonedb, pdo_mysql
GD: Yes
ImageMagick: No
PHP max upload size: 16M
PHP max form post size: 16M
PHP memory limit: 256M
Total max uploadable file size: 16M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
DOCUMENT_ROOT: /home/iconwww/public_html
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: _ga=GA1.3.1892533947.1441142352; WRUID=769601459.180823728; __CT_Data=gpv=46&apv_6486_www09=46&cpv_6486_www09=18; ju_sid=%7B01E7C049-5D78-47B3-AD26-8A1093C98116%7D; ju_data_all=N4IgbglgzhAuUgFwEYAMAaEBXKBTATgBYQAmuSGIADgIYDmuAxgPZYB2sSyALJlFbg4xY5RNwDsAJmR9cgrpkF16uEgpDMAZpoJQA+nnmIA2qACSAESQhuyaZJCYSnFADZxyAKwBfALqYtHXx9JRU1E3MrRBs7O0cQZy53Lz9MRhoAW1xNfGYM6wB3IoA6OmZmOgAbXGKWYqwAawB6eM0IYNgsfErCkthCXCy6XKwqWuZ6hvj+6C6e6KKC4v7B3GHWMbrG+Pwsav0MmlhGAfDTEEsuZABmW8pEtw8ffxBcAA9YZkZ8kxfGDmsOzWgLSsAAniCQAAvCBUQHeIAAA%3D; __utma=158794751.1892533947.1441142352.1449762006.1450344912.25; __utmc=158794751; __utmz=158794751.1449577789.23.9.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); cmsa=1; PHPSESSID=c6cf70242c46c8ba9c552826c1cb8166
HTTP_HOST: icon.themegroup.co.uk
HTTP_REFERER: http://icon.themegroup.co.uk/perch/core/settings/diagnostics/
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36
PATH: /bin:/usr/bin
QUERY_STRING: extended
REDIRECT_STATUS: 200
REMOTE_ADDR: 213.120.122.155
REMOTE_PORT: 57670
REQUEST_METHOD: GET
REQUEST_URI: /perch/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /home/iconwww/public_html/perch/core/settings/diagnostics/index.php
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
SERVER_ADDR: 78.31.107.237
SERVER_ADMIN: webmaster@icon.themegroup.co.uk
SERVER_NAME: icon.themegroup.co.uk
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Apache
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1450437413.93
REQUEST_TIME: 1450437413
argc: 1
Nick Capehorn

Nick Capehorn 0 points

  • 3 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Can we see your template?

Hi Rachel,

Templates below:

block_element_textblock.html

<perch:content id="text" type="textarea" label="Body" editor="ckeditor" editor-config="icon" html="true" imagewidth="640" imageheight="480" />

block_generic_elements.html

<perch:blocks>
    <perch:block type="heading2" label="Heading 2">
        <perch:template path="content/blocks/block_element_h2.html" />
    </perch:block>
    <perch:block type="heading_underline" label="Section Heading">
        <perch:template path="content/blocks/block_element_section_heading.html" />
    </perch:block>
    <perch:block type="textblock" label="Text Block">
        <perch:template path="content/blocks/block_element_textblock.html" />
    </perch:block>
    <perch:block type="introduction" label="Introduction">
        <perch:template path="content/blocks/block_element_introduction.html" />
    </perch:block>
    <perch:block type="introduction_image" label="Introduction and Image">
        <perch:template path="content/blocks/block_element_introduction_image.html" />
    </perch:block>
    <perch:block type="image" label="Image">
        <perch:template path="content/blocks/block_element_image.html" />
    </perch:block>
    <perch:block type="boxes" label="Boxes">
        <perch:template path="content/blocks/block_element_boxes.html" />
    </perch:block>
    <perch:block type="list_ul" label="List">
        <perch:template path="content/blocks/block_element_list.html" />
    </perch:block>
    <perch:block type="list_2col" label="List-2Col">
        <perch:template path="content/blocks/block_element_list_2col.html" />
    </perch:block>
    <perch:block type="testimonial" label="Testimonial">
        <perch:template path="content/blocks/block_element_testimonial.html" />
    </perch:block>
    <perch:block type="button" label="Button">
        <perch:template path="content/blocks/block_element_button.html" />
    </perch:block>
    <perch:block type="clear" label="Clear">
        <perch:template path="content/blocks/block_element_clear.html" />
    </perch:block>
    <perch:block type="large_intro" label="Large Intro">
        <perch:template path="content/blocks/block_element_big.html" />
    </perch:block>
</perch:blocks>
Drew McLellan

Drew McLellan 2638 points
Perch Support

Is it only with CKEditor instances?

Yes, it seems so. Switched it to markitup and worked ok.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Which version of CK are you using?

Sorry for delay Drew, it's CKEditor 4.4.7

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, thanks.