Forum

Thread tagged as: Error, Runway, Redactor

Redactor toolbar output after 3.0.10 upgrade

Hi,

Applied an upgrade locally from 3.0.8 to 3.0.10 and it seems to have added some extra text above the Redactor editor toolbar:

error

I'm running Safari 10.1 (12603.1.30.0.34), there are no console errors.

There is a custom editor config:

Perch.UserConfig.redactor = function () {
    var get = function (profile, config, field) {
        if (config.plugins.indexOf('source') === -1) config.plugins.push('source');

        config.formattingAdd = {};

        config.formattingAdd.lead = {
            title: 'Lead Paragraph',
            args: ['p', 'class', 'c-lead c-lead--sm', 'toggle']
        };

        return config;
    };

    var load = function (cb) {
        if (typeof jQuery.Redactor.prototype.source == 'undefined') {
            $('head').append('<style type="text/css">.redactor-dropdown .redactor-dropdown-lead,.redactor-styles .c-lead{font-size:18px;font-weight:700}</style>');
            jQuery.getScript(Perch.path + '/addons/plugins/editors/redactor-plugins/source.js', cb);
        } else {
            cb();
        }
    };

    return {
        get: get,
        load: load
    };
}();

Diagnostics:

Perch Runway: 3.0.10
Production mode: Development (10)
Installed apps: content (3.0.10), assets (3.0.10), categories (3.0.10), root_analytics (2.0.0), perch_blog (5.5.1), root_contracts_manager (2.0.1), root_monitor (2.0.0), redfinch_optim (1.0.1)
DB driver: PDO
DB tables: perch3_backup_plans (0), perch3_backup_resources (0), perch3_backup_runs (0), perch3_blog_authors (2), perch3_blog_comments (0), perch3_blog_index (2232), perch3_blog_posts (79), perch3_blog_posts_to_tags (0), perch3_blog_sections (1), perch3_blog_tags (0), perch3_blogs (1), perch3_categories (3), perch3_category_counts (3), perch3_category_sets (1), perch3_collection_index (1772), perch3_collection_items (88), perch3_collection_revisions (12), perch3_collections (2), perch3_content_index (2233), perch3_content_items (269), perch3_content_locks (0), perch3_content_regions (41), perch3_contracts_clients (0), perch3_contracts_contracts (0), perch3_contracts_projects (0), perch3_contracts_signatures (0), perch3_menu_items (19), perch3_navigation (0), perch3_navigation_pages (0), perch3_page_routes (3), perch3_page_templates (17), perch3_pages (21), perch3_redfinch_optim_logs (276), perch3_redfinch_optim_settings (14), perch3_redfinch_optim_tasks (144), perch3_resource_log (6075), perch3_resource_tags (121), perch3_resources (1497), perch3_resources_to_tags (244), perch3_root_analytics_cache (4), perch3_root_monitor_messages (0), perch3_root_monitor_reports (0), perch3_root_monitor_sites (17), perch3_scheduled_tasks (50), perch3_settings (38), perch3_user_passwords (1), perch3_user_privileges (47), perch3_user_role_buckets (0), perch3_user_role_privileges (2), perch3_user_roles (2), perch3_users (4)
Users: 4
App runtimes:
<?php
$apps_list = [
    'perch_blog',
    'root_analytics',
    'root_contracts_manager'
];
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Scheduled tasks for redfinch_optim: redfinch_optim_optimise_task (1440 mins), redfinch_optim_clear_tasks (1440 mins)
Scheduled tasks for root_analytics: root_analytics_fetch_comparisons (1440 mins)
Scheduled tasks for root_monitor: send_change_notifications (60 mins)
Editor plug-ins: config.js, redactor-plugins
H1: bb4b26bf0e3a1aecfa9e4381d5c62488
L1: 02fa1ba9e21d36a98939ec6ff7b00563
F1: 3b606135b33e6a102526838f4152a807
headerColour: #E94A4F
content_singlePageEdit: 1
helpURL:
hideBranding: 1
content_collapseList: 1
lang: en-gb
installedAt: 3.0.4
update_3.0.4: done
headerScheme: dark
update_runway_3.0.4: done
latest_version:
on_sale_version: 3.0.10
dashboard: 0
hide_pwd_reset: 0
siteOffline: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
content_skip_region_list: 0
logoPath: /admin/resources/cms-badge-1.png
perch_blog_update: 5.0.1
perch_blog_post_url: /notes/post/{postSlug}
perch_blog_site_name: Root Studio
perch_blog_slug_format: {postID}-{postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
perch_blog_comment_notify: 0
siteURL: /
update_runway_3.0.5: done
root_analytics_namespace: Root Analytics
root_analytics_view_id:
root_analytics_credentials_json:
root_analytics_time_period: 90
root_analytics_ua:
redfinch_optim_gc: 604800
redfinch_optim_timeout: 30
update_runway_3.0.8: done
update_runway_3.0.10: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_SITEPATH: /Users/James/Repositories/Root Studio/Root-Studio-Core-Site/public
PERCH_SCHEDULE_SECRET: jTAih4cfANX2sqLn
PERCH_DB_USERNAME: root
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: root_2017
PERCH_DB_PREFIX: perch3_
PERCH_DEBUG:
PERCH_PRODUCTION_MODE: 10
PERCH_EMAIL_FROM: design@rootstudio.co.uk
PERCH_EMAIL_FROM_NAME: Root Studio
PERCH_LOGINPATH: /admin
PERCH_PATH: /Users/James/Repositories/Root Studio/Root-Studio-Core-Site/public/admin
PERCH_CORE: /Users/James/Repositories/Root Studio/Root-Studio-Core-Site/public/admin/core
PERCH_RESFILEPATH: /Users/James/Repositories/Root Studio/Root-Studio-Core-Site/public/admin/resources
PERCH_RESPATH: /admin/resources
PERCH_HTML5: 1
PERCH_TZ: UTC
PERCH_CUSTOM_EDITOR_CONFIGS: 1
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_STRONG_PASSWORDS:
PERCH_ASSET_VERSION: 23f8a1427c17ade109a3
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /Users/James/Repositories/Root Studio/Root-Studio-Core-Site/public/admin/templates
PERCH_TEMPLATE_FILTERS:
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_XHTML_MARKUP:
PERCH_RWD: 1
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_PARANOID:
PERCH_FORCE_SECURE_COOKIES:
PERCH_DEFAULT_BUCKET: default
PERCH_TRANSLATION_ASSIST:
PERCH_PASSWORD_MIN_LENGTH: 6
PERCH_MAX_FAILED_LOGINS: 10
PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
PERCH_VERIFY_UPLOADS:
PERCH_PRIV_ASSIST:
PERCH_ENABLE_EXIF: 1
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: markdown
Hosting settings

PHP: 7.0.13
Zend: 3.0.0
OS: Darwin
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.12-dev - 20150407 - $Id: 241ae00989d1995ffcbbf63d579943635faf9972 $
MySQL server: 5.6.34
Free disk space: 166.45 GB
Extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, SPL, iconv, intl, json, ldap, mbstring, session, standard, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, mysqli, SimpleXML, soap, sockets, exif, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, cgi-fcgi, imap, gettext, mcrypt, pgsql, pdo_pgsql, imagick, igbinary, memcached, xdebug
GD: Yes
ImageMagick: Yes
PHP max upload size: 32M
PHP max form post size: 32M
PHP memory limit: 512M
Total max uploadable file size: 32M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
PHP_FCGI_CHILDREN: 4
PWD: /Applications/MAMP/fcgi-bin
PHP_FCGI_MAX_REQUESTS: 200
__CF_USER_TEXT_ENCODING: 0x1F5:0x0:0x2
ORIG_SCRIPT_NAME: /fcgi-bin/php7.0.13.fcgi
ORIG_PATH_TRANSLATED: /Users/James/Repositories/Root Studio/Root-Studio-Core-Site/public/admin/core/settings/diagnostics/index.php
ORIG_PATH_INFO: /admin/core/settings/diagnostics/index.php
ORIG_SCRIPT_FILENAME: /Applications/MAMP/fcgi-bin/php7.0.13.fcgi
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
REQUEST_URI: /admin/core/settings/diagnostics/?extended
QUERY_STRING: extended
REQUEST_METHOD: GET
SERVER_PROTOCOL: HTTP/1.1
GATEWAY_INTERFACE: CGI/1.1
REDIRECT_URL: /admin/core/settings/diagnostics/index.php
REDIRECT_QUERY_STRING: extended
REMOTE_PORT: 51874
SCRIPT_FILENAME: /Users/James/Repositories/Root Studio/Root-Studio-Core-Site/public/admin/core/settings/diagnostics/index.php
SERVER_ADMIN: you@example.com
DOCUMENT_ROOT: /Users/James/Repositories/Root Studio/Root-Studio-Core-Site/public
REMOTE_ADDR: ::1
SERVER_PORT: 80
SERVER_ADDR: ::1
SERVER_NAME: rootstudio.local
SERVER_SOFTWARE: Apache
PATH: /usr/bin:/bin:/usr/sbin:/sbin
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-gb
HTTP_REFERER: https://rootstudio.local/admin/core/settings/diagnostics/
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.1 Safari/603.1.30
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: _ga=GA1.2.1655172923.1461763707; PHPSESSID=ce6aea1b6db7c2ff3efbcb48b04b3105; cmsa=1; io=p4AjNEjJIIxE7-wNAAAx; _ym_uid=1492694475231363498; __insp_slim=1504608521249; __insp_norec_sess=true; __insp_nv=false; __insp_targlpt=U29jaWFsIENoYW5nZSBVSyA6OiBJbnNwaXJpbmcgY2hhbmdlIGluIHBlb3BsZSBhbmQgY29tbXVuaXRpZXM%3D; __insp_targlpu=aHR0cDovL3NvY2lhbC1jaGFuZ2UubG9jYWwv; __insp_wid=1206163498; __insp_uid=3505045805
HTTP_HOST: rootstudio.local
REDIRECT_STATUS: 200
REDIRECT_HANDLER: php-fastcgi
FCGI_ROLE: RESPONDER
PHP_SELF: /admin/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1506000353.03
REQUEST_TIME: 1506000353
argc: 1
James Wigger

James Wigger 0 points

  • 3 years ago

Oh, looks like a browser cache problem. Damn - fired the forum post too early!