Forum

Thread tagged as: Question, Problem, CKEditor

CK editor not working

I have placed ckeditor folder in plugins/editors and am using the following code for my content.

I am not seeing the panel change to ck editors panel. Looks the same like markitup.

<perch:content id="body" type="textarea" label="Article body" html="true" editor="ckeditor" />
Perch: 2.8.6, PHP: 5.3.29, MySQL: 5.1.73, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.6), assets (2.8.6), categories (2.8.6), perch_gallery (2.8.6)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_gallery', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /hsphere/local/home/c168080/test.madhavanyc.com/perch
PERCH_CORE: /hsphere/local/home/c168080/test.madhavanyc.com/perch/core
PERCH_RESFILEPATH: /hsphere/local/home/c168080/test.madhavanyc.com/perch/resources
Image manipulation: GD
PHP limits: Max upload 50M, Max POST 50M, Memory: 64M, Total max file upload: 50M
Resource folder writeable: Yes
HTTP_HOST: test.madhavanyc.com
DOCUMENT_ROOT: /hsphere/local/home/c168080/test.madhavanyc.com
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Mark Chen

Mark Chen 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

That's all you need to do. Have you double checked you've edited the correct template?

yup I created a template called ck_editor.html

To that I have the exact code above.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Do you get any errors in your browser console?

I'd expect if there was a problem that no editor would show, not the wrong editor.

no errors.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you turn on debug and let me know what it outputs?

I have enabled debug.

Not seeing anything below my admin panel.

define('PERCH_DEBUG', true);

was added to my config.php file.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Everything here suggests that you're not editing the correct set of files.

I am reinstalling perch from scratch as this is getting too buggy. Will let you know what takes place when I reach this step

Its working now since I did a clean start.