Forum

Thread tagged as: Problem, CKEditor

CK Editor tiles missing

Hello

I would like my client to use the ck editor to enter text into a text block. I have installed the ckeditor in to the /plugins/editors and changed the tremplate/contents/text_block.html file to:


<perch:content id="text" type="textarea" label="Text" editor="ckeditor" html="true" />

The code on the page is:


<?php perch_content('Text under video') ;?>

But the ckeditor tiles do not show in the admin area it just shows the text box.

The diagnostic report is

Diagnostics report
Perch information

    Perch: 2.8.29
    Production mode: Production (100)
    Installed apps: content (2.8.29), assets (2.8.29), categories (2.8.29)
    DB driver: PDO
    DB tables: perch2_categories (0), perch2_category_counts (0), perch2_category_sets (0), perch2_content_index (525), perch2_content_items (21), perch2_content_regions (8), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (0), perch2_pages (3), perch2_resource_log (372), perch2_resource_tags (0), perch2_resources (89), perch2_resources_to_tags (0), perch2_settings (16), perch2_user_passwords (0), perch2_user_privileges (26), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (2)
    Users: 2
    App runtimes:

    <?php
        $apps_list = array(
            'content', 
            'categories',
        );

    Editor plug-ins: markitup, ckeditor
    H1: c01dbf6ebd39da452e45ddad2ccc0df1
    L1: 86c2cdd1c9a9dd1a42bb5f735eae3589
    F1: 2edba60ed1f613d6dd804feb202456a2
    headerColour: #ffffff
    content_singlePageEdit: 1
    helpURL:
    siteURL: /
    hideBranding: 1
    content_collapseList: 1
    lang: en-gb
    update_2.8.29: done
    latest_version: 2.8.15
    on_sale_version: 2.8.31
    headerScheme: light
    dashboard: 0
    hide_pwd_reset: 0
    content_hideNonEditableRegions: 0
    content_frontend_edit: 0
    logoPath: /dstedmang/resources/qc-image.jpg
    PERCH_DEVELOPMENT: 10
    PERCH_STAGING: 50
    PERCH_PRODUCTION: 100
    PERCH_DB_USERNAME: cl23-dstedman
    PERCH_DB_SERVER: 79.170.40.248
    PERCH_DB_DATABASE: cl23-dstedman
    PERCH_DB_PREFIX: perch2_
    PERCH_TZ: UTC
    PERCH_EMAIL_FROM: quillin@qcwebsitedesign.co.uk
    PERCH_EMAIL_FROM_NAME: Paul Quillin-Creamer
    PERCH_LOGINPATH: /dstedmang
    PERCH_PATH: /home/sites/danielstedman.gallery/public_html/dstedmang
    PERCH_CORE: /home/sites/danielstedman.gallery/public_html/dstedmang/core
    PERCH_RESFILEPATH: /home/sites/danielstedman.gallery/public_html/dstedmang/resources
    PERCH_RESPATH: /dstedmang/resources
    PERCH_HTML5: 1
    PERCH_DEBUG: 1
    PERCH_RUNWAY:
    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_PREVIEW_ARG: preview
    PERCH_TEMPLATE_PATH: /home/sites/danielstedman.gallery/public_html/dstedmang/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_PARANOID:
    PERCH_FORCE_SECURE_COOKIES:
    PERCH_PASSWORD_MIN_LENGTH: 6
    PERCH_MAX_FAILED_LOGINS: 10
    PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
    PERCH_VERIFY_UPLOADS:
    PERCH_AUTH_PLUGIN:
    PERCH_DB_CHARSET: utf8
    PERCH_DB_PORT:
    PERCH_DB_SOCKET:
    PERCH_SESSION_TIMEOUT_MINS: 20

Hosting settings

    PHP: 5.3.28
    Zend: 2.3.0
    OS: Linux
    SAPI: cgi-fcgi
    Safe mode: not detected
    MySQL client: mysqlnd 5.0.8-dev - 20102224 - $Id: 731e5b87ba42146a687c29995d2dfd8b4e40b325 $
    MySQL server: 5.5.47
    Free disk space: 58.09 GB
    Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, hash, filter, ftp, gettext, gmp, SPL, iconv, session, standard, mysqlnd, pcntl, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, Reflection, mysql, shmop, SimpleXML, sockets, exif, tokenizer, xml, cgi-fcgi, bcmath, curl, dom, fileinfo, gd, imap, intl, json, ldap, mbstring, mcrypt, mssql, OAuth, odbc, pdo_dblib, PDO_ODBC, pdo_pgsql, pgsql, posix, soap, SQLite, sysvmsg, sysvsem, sysvshm, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, ionCube Loader, Zend Guard Loader
    GD: Yes
    ImageMagick: No
    PHP max upload size: 64M
    PHP max form post size: 64M
    PHP memory limit: 128M
    Total max uploadable file size: 64M
    Resource folder writeable: Yes
    Session timeout: 24 minutes
    Native JSON: Yes
    Filter functions: Yes
    Transliteration functions: No
    PATH: /usr/local/bin:/usr/bin:/bin
    UNIQUE_ID: V4dwTH8AAAEAAAzJy9UAAAAP
    SCRIPT_URL: /dstedmang/core/settings/diagnostics/
    SCRIPT_URI: https://www.danielstedman.gallery/dstedmang/core/settings/diagnostics/
    HTTP_HOST: www.danielstedman.gallery
    HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
    HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_ACCEPT_LANGUAGE: en-GB,en;q=0.5
    HTTP_ACCEPT_ENCODING: gzip, deflate
    HTTP_REFERER: https://www.danielstedman.gallery/dstedmang/core/settings/diagnostics/
    HTTP_COOKIE: PHPSESSID=477793gcsohtkq05vapjek53e4; cmsa=1
    HTTP_CONNECTION: close
    SERVER_SIGNATURE: <address>Apache/2.4.18 (Unix) Server at www.danielstedman.gallery Port 80</address>
    SERVER_SOFTWARE: Apache/2.4.18 (Unix)
    SERVER_NAME: www.danielstedman.gallery
    SERVER_ADDR: 10.0.1.248
    SERVER_PORT: 80
    REMOTE_ADDR: 81.104.46.71
    DOCUMENT_ROOT: /home/sites/danielstedman.gallery/public_html
    REQUEST_SCHEME: http
    CONTEXT_DOCUMENT_ROOT: /home/sites/danielstedman.gallery/public_html
    SERVER_ADMIN: root@localhost
    SCRIPT_FILENAME: /home/sites/danielstedman.gallery/public_html/dstedmang/core/settings/diagnostics/index.php
    REMOTE_PORT: 43879
    GATEWAY_INTERFACE: CGI/1.1
    SERVER_PROTOCOL: HTTP/1.1
    REQUEST_METHOD: GET
    QUERY_STRING: extended
    REQUEST_URI: /dstedmang/core/settings/diagnostics/?extended
    SCRIPT_NAME: /dstedmang/core/settings/diagnostics/index.php
    PHP_SELF: /dstedmang/core/settings/diagnostics/index.php
    REQUEST_TIME: 1468493900

I cant think why it is not displaying the ckeditor tiles

Paul Quillin-Creamer

Paul Quillin-Creamer 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

What do you mean by tiles? Does the editor load at all?

Hi Drew

All I have is The text box with Text top left. There is nothing at all above the text box.

Hi I would send screen shot but no way of attaching it.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Are there any errors in your browser console?

Hi I do have debug on and this is what it says:

SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='7762d5077b4aeac260ede8ca6ddb6ac0' LIMIT 1 UPDATE perch2_users SET userHash='c742a7151e833ec88b0a3412834185ad' WHERE userID='1' [26] SELECT p.privKey FROM perch2_user_privileges p [16] SELECT * FROM (SELECT DISTINCT settingID, settingValue, userID FROM perch2_settings WHERE userID=1 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID, settingValue, userID [1] SELECT * FROM perch2_content_regions WHERE regionID=12 LIMIT 1 [1] SELECT * FROM perch2_pages WHERE pageID='1' LIMIT 1 [1] SELECT * FROM perch2_content_items WHERE regionID=12 AND itemRev=1 ORDER BY itemOrder ASC [1] SELECT * FROM perch2_content_items WHERE regionID=12 AND itemRev=1 ORDER BY itemOrder ASC

HI I deleted the CKEditor and reuploaded a fresh file it and it now appears.

Mant Thanks,

Paul