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: Question, Problem, CKEditor

Upgraded from Perch2 to Perch3 OK except for CKEditor

Can anyone point me in the right direction I think I have missed something.. Upgrade went OK except for CKEditor Plugin not working.

Health check

 PHP 5.6.30 is up to date
 MySQL 5.5.5-10.1.19-MariaDB is up to date
 Image processing available
Summary information

Perch: 3.0, PHP: 5.6.30, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (3.0), assets (3.0), categories (3.0), perch_blog (5.5)
App runtimes: <?php $apps_list = array( 'perch_blog', );
PERCH_LOGINPATH: /cms
PERCH_PATH: /var/www/vhosts/domain.co.uk/httpdocs/cms
PERCH_CORE: /var/www/vhosts/domain.co.uk/httpdocs/cms/core
PERCH_RESFILEPATH: /var/www/vhosts/domain.co.uk/httpdocs/cms/resources
Image manipulation: GD Imagick
PHP limits: Max upload 16M, Max POST 16M, Memory: 64M, Total max file upload: 16M
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
Resource folder writeable: Yes
SCRIPT_NAME: /cms/core/settings/diagnostics/index.php
REQUEST_URI: /cms/core/settings/diagnostics/
DOCUMENT_ROOT: /var/www/vhosts/domain.co.uk/httpdocs
HTTP_HOST: domain.co.uk

Thanks

Ian Gordon

Ian Gordon 1 points

  • 2 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Did you upgrade it?

Yes, but maybe I missed something

Perch information

Perch: 3.0
Production mode: Production (100)
Installed apps: content (3.0), assets (3.0), categories (3.0), perch_blog (5.5)
DB driver: PDO
DB tables: perch2_blog_authors (2), perch2_blog_comments (0), perch2_blog_index (127), perch2_blog_posts (2), perch2_blog_posts_to_tags (0), perch2_blog_sections (1), perch2_blog_tags (0), perch2_blogs (1), perch2_categories (0), perch2_category_counts (0), perch2_category_sets (1), perch2_content_index (388), perch2_content_items (145), perch2_content_regions (44), perch2_menu_items (9), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (2), perch2_pages (15), perch2_resource_log (137), perch2_resource_tags (0), perch2_resources (39), perch2_resources_to_tags (0), perch2_settings (18), perch2_user_passwords (0), perch2_user_privileges (35), perch2_user_role_privileges (20), perch2_user_roles (2), perch2_users (2)
Users: 2
App runtimes:
<?php
    $apps_list = array(

        'perch_blog',
    );
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins: ckeditor-4
H1: ecb6cbbf1c1f3adb5469acf43402afbd
L1: b200057412b2543784121432c0c2e99e
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
headerColour: #ffffff
Drew McLellan

Drew McLellan 2638 points
Perch Support

What errors are you seeing?

Did you download the new CKEditor from here: http://addons.perchcms.com ?

Yes downloaded from addons.perchcms.com All I see in Perch is the markdown. html template

<perch:content id="text" type="textarea" label="Text Area" markdown="true" editor="ckeditor-4" html="true" imagewidth="640" imageheight="480" />

So when I look at the download for Perch3 addon CKeditor it has Perch folder and _config.json file should these put into the core directory/editors? I assume not but I am unsure.

Drew McLellan

Drew McLellan 2638 points
Perch Support

That should be:

<perch:content id="text" type="textarea" label="Text Area" editor="ckeditor" html="true" imagewidth="640" imageheight="480" />

I made this mistake.

You need to put the whole ckeditor folder (including the 3 files inside) in the plugins > editor. I thought it was only the ckeditor-4 folder only.

• _config.json • ckeditor-4 • perch

What are these extra files doing? Do they allow CKeditoer to work with the Assets app?

Drew McLellan said:

That should be:

<perch:content id="text" type="textarea" label="Text Area" editor="ckeditor" html="true" imagewidth="640" imageheight="480" />

Thanks Drew changed that, but still not showing the CKeditor, strange as it was working OK with Perch2

James Tedder said:

I made this mistake.

You need to put the whole ckeditor folder (including the 3 files inside) in the plugins > editor. I thought it was only the ckeditor-4 folder only.

• _config.json • ckeditor-4 • perch

What are these extra files doing? Do they allow CKeditoer to work with the Assets app?

Thanks James, that is how I have it, but the new files for Perch 3 seem different than Perch 2... still not working.. must be a path thing

Drew McLellan

Drew McLellan 2638 points
Perch Support

Do you get any errors in your browser console?

@drew All is working OK now thanks. It appeared that I was calling for editor ckeditor-4 Sorry my stupid error.