Forum

Thread tagged as: Problem, Redactor

Upgraded to Perch 3, Redactor not working

I have a very old Perch site that I successfully upgraded to Perch 3.1.3. I followed the instructions as per https://docs.grabaperch.com/perch/upgrading/ including deleting the old redactor and markitup addons However I cannot get any built-in WYSIWYG to function properly. The site relied on the older default redactor template for general text content, if I use this or the text-block template for general text it simply doesn't work?

Perch: 3.1.3, PHP: 5.6.38, MySQL: 5.6.41, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (3.1.3), assets (3.1.3), categories (3.1.3)
App runtimes: <?php $apps_list = array( 'content', 'categories', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /var/www/vhosts/43/494420/webspace/httpdocs/northeastfoodhub.ie/perch
PERCH_CORE: /var/www/vhosts/43/494420/webspace/httpdocs/northeastfoodhub.ie/perch/core
PERCH_RESFILEPATH: /var/www/vhosts/43/494420/webspace/httpdocs/northeastfoodhub.ie/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 32M, Max POST 32M, Memory: 256M, Total max file upload: 32M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
HTTP_HOST: www.northeastfoodhub.ie
DOCUMENT_ROOT: /var/www/vhosts/43/494420/webspace/httpdocs/northeastfoodhub.ie
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

general textblock template

<perch:content id="text" type="textarea" label="Text" editor="markitup" imagewidth="640" imageheight="480">
Cormac Kerrigan

Cormac Kerrigan 0 points

  • 2 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

It looks like you've got markitup configured there, not redactor.

When you say it doesn't work, what are you actually seeing? Do you get any errors in your browser console? Have you cleared your cache?

Hi Drew, if I tell the editor to be redactor or markitup, the results are the same; a blank text window to enter text that has no styling icons above that you would expect from a WYSIWYG editor. It has changed the existing text that was there to be wrapped with html tags i.e. <h1> <p>. I don't get any browser errors and have already cleared cache.

Drew McLellan

Drew McLellan 2638 points
Perch Support

It looks like you have files missing. How are you deploying?

https://northeastfoodhub.ie/perch/core/editors/markitup/config.js

Drew McLellan said:

It looks like you have files missing. How are you deploying?

https://northeastfoodhub.ie/perch/core/editors/markitup/config.js

Hi Drew, you're right! Reuploaded core folder and everything working fine.

Cormac Kerrigan said:

Hi Drew, if I tell the editor to be redactor or markitup, the results are the same; a blank text window to enter text that has no styling icons above that you would expect from a WYSIWYG editor. [https://tgw.onl/hostgator/ https://tgw.onl/dreamhost/ https://tgw.onl/bluehost/ It has changed the existing text that was there to be wrapped with html tags i.e. <h1> It looks like you have files missing. How are you deploying?

<p>. I don't get any browser errors and have already cleared cache.