Forums / Addon Admin Tools / Support Thread for CKEditor Plugin

Support Thread for CKEditor Plugin

Views: 56,630

Results 121 to 140 of 214
26 Oct 2017, 5:12 PM
#121
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Support Thread for CKEditor Plugin

In case anybody else stumbles in here with that same problem (error message after renaming the 'editors' folder), below is a bandaid.

Open /admin/includes/init_includes/init_errors.php and search for: ERROR_EDITORS_FOLDER_NOT_FOUND

On line 179, I found:
// Editor alerts
if (HTML_EDITOR_PREFERENCE != 'NONE' && !is_dir(DIR_FS_CATALOG . 'editors')) {
$messageStack->add(ERROR_EDITORS_FOLDER_NOT_FOUND, 'caution');
}

Replaced that with:
// Editor alerts
if (HTML_EDITOR_PREFERENCE != 'NONE' && !is_dir(DIR_FS_CATALOG . DIR_WS_EDITORS)) {
$messageStack->add(ERROR_EDITORS_FOLDER_NOT_FOUND, 'caution');

Worked like a charm.

5 Nov 2017, 4:00 AM
#122
anthonyennis avatar

anthonyennis

New Zenner

Join Date:
Aug 2017
Location:
Toronto, Ontario, Canada
Posts:
33
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

Does anyone know if CKEditor for Zen car is compatible with Tabbed products pro?

Anthony Ennis
www.novainkjet.com

5 Nov 2017, 4:40 AM
#123
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

AnthonyEnnis:

Does anyone know if CKEditor for Zen car is compatible with Tabbed products pro?

Should be, they are unrelated plugins.

Jim
Wheaton Website Services

8 Nov 2017, 4:36 PM
#124
charmlt avatar

charmlt

New Zenner

Join Date:
Mar 2005
Location:
Earth
Posts:
83
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

I'm rebuilding my 154 to 155e and the latest CKEditor. While reinstalling I noticed two files with 777 permissions; ckeditor-custom-button-bar.png and config.js. Is this necessary?

8 Nov 2017, 5:23 PM
#125
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Support Thread for CKEditor Plugin

charmlt:

I'm rebuilding my 154 to 155e and the latest CKEditor. While reinstalling I noticed two files with 777 permissions; ckeditor-custom-button-bar.png and config.js. Is this necessary?

The short answer is no. Most hosts don't even allow 777 on files. For normal operation the permissions should be 644

8 Nov 2017, 11:20 PM
#126
izar74 avatar

izar74

Zen Follower

Join Date:
Mar 2009
Location:
Italy
Posts:
155
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

A quick question, does anyone try to use the Image Uploader and Browser for CKEditor plugin?
I installed it following the instuction but it wont work. Just uploading it and modifying the config.js in \editors\ckeditor doesn't seem to make any difference...

And a note, after installing the last version available for download (4.6.2) if i press the info button on ckeditor panel i got this
Attachment 17410 as You can see it state version 4.4 is used... :huh: is that normal?

9 Nov 2017, 4:16 PM
#127
izar74 avatar

izar74

Zen Follower

Join Date:
Mar 2009
Location:
Italy
Posts:
155
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

Hi again,

solved both problems... last one was an update error of Chrome, just pressed ctrl+F5 and it fixed.
As regarding the upload image plugin, I've changed and installed the following:
http://budgetwebdesign.com.au/ckeditor-w-kcfinder.php
It was made by a forum user but never uploaded to the plugin and I don't know if it could be considered a plugin either... I've installed and checked it, it works fine, just be sure to write the path in the config.js correctly (in my case i'm testing it in local enviroment so the path would be something like: ```php
config.filebrowserBrowseUrl = '../editors/kcfinder/browse.php?type=files';


Also where it says in the readme_kcfinder.html to kcfinder_private_url_rename_me simply put the name of the directory used (again check the path in the config.php inside the kcfinder directory).

Hope it wil be of use.

Best regards
4 Jan 2018, 1:40 AM
#128
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

Icon images won't show.

I checked invisible icon with an "Inspector" in FireFox browser by placing cursor on this icon.

Attachment 17589

Line below is crossed:

background-image: url('https://idtagsonline.com/test/editors/ckeditor/plugins/icons.png?t=H0CG');

Attachment 17590

But file** icons.png** exist in this folder.

What is it indication of?

4 Jan 2018, 3:10 AM
#129
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Support Thread for CKEditor Plugin

Something on your server is blocking the icon image file from being able to be read correctly.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Jan 2018, 12:24 AM
#130
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

Thank you again for your effort with this problem. :smile:

I had more reading recently and then even more and I found a tip here:

https://ckeditor.com/old//comment/67939#comment-67939

which suggest to use "Auto" option instead of ACII when **FTP CKeditor **files:

Attachment 17598

This simple thing resolved the problem and Icons show up now:

Attachment 17599

I hope it will be shorter journey for others. :smile:

7 Jan 2018, 1:41 PM
#131
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Support Thread for CKEditor Plugin

idtags:

Thank you again for your effort with this problem. :smile:

I had more reading recently and then even more and I found a tip here:

https://ckeditor.com/old//comment/67939#comment-67939

which suggest to use "Auto" option instead of ACII when **FTP CKeditor **files:
Yes, you should always use "Auto" for transfer-type in FTP settings. Not just for CKEditor

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Jan 2018, 3:34 AM
#132
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

Having an issue that may or may not be directly related to CK Editor - in only one of my sites in admin/tools/EZ pages it is showing up differently to the other 5 sites - see images below for comparison.

Every time I try to use it to add a script, in source mode, and I go to update page it sends me to a 403 Error page - you do not have access on this server. (this doesn't happen on the other sites which are on the same server).

I have sent an eTicket to my host and they have made modifications to permissions (mod_security) on the site - still no joy - have given them this feedback asking if there is something else they can try

15 Jan 2018, 5:05 AM
#133
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

Problem solved - Host checked my IP address against their ModSecurity logs and it appears I may have triggered a rule. ??? ... anyway, fixed.

Sorry about the fuss.

cheers,
Mike

16 Jan 2018, 1:23 AM
#134
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Support Thread for CKEditor Plugin

shags38:

Every time I try to use it to add a script, in source mode, and I go to update page it sends me to a 403 Error page - "you do not have access on this server"

shags38:

Problem solved - Host checked my IP address against their ModSecurity logs and it appears I may have triggered a rule. ???

Yes, adding <script> tags is prone to trigger mod_security rules, because many malicious attack code problems are triggered by uploaded <script> snippets.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

26 Feb 2018, 3:39 PM
#135
rhenrie avatar

rhenrie

New Zenner

Join Date:
Dec 2016
Location:
Utah
Posts:
13
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

First, thank you all for all you do for Zen Cart!

I am trying to upgrade from 1.3.8a and have been very successful so far. I actually started from a blank install except the database which I upgraded.

CKEditor is driving me nuts trying to get it to work consistently. My problem is that my content in the editor is frequently just a blank screen. Define Pages always seems to work but my EZPages and Products Description are generally just blank. I have been able to have them show up sometimes it is not reproducible.

Since it is a clean install of 1.5.5f it has been easy to log out, copy the CK* source files into the editors/ folder and try again but that doesn't help. The one thing that does help is manually copying the HTML from some EZPage on my old website CKeditor and pasting it into the new editor. This seems like a painful error prone solution to repeat for all my pages and products.

Any thoughts?

BTW, I think your installation documentation should say "/editors/* (the entire folder) gets copied to your /editors/ folder" instead of "/editors/ckeditor/ (the entire folder) gets copied to your /editors/ folder". The reason why is because I originally kept missing "ckeditor-custom-button-bar.png". Also, I didn't copy "._ckeditor-custom-button-bar.png" from the zip file and I don't know if it is important.

Aniyway, any help would be greatly appreciated before I dive into the long manual task of copying each EZ Page and Product Description (and who knows what else).

Thanks!

26 Feb 2018, 4:24 PM
#136
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

We experienced the same problem by using (FTP) WS_FTP95 and "ACII" option to copy CK_Editor files.

Changing to "Auto" option resolved the problem.

27 Feb 2018, 3:26 PM
#137
rhenrie avatar

rhenrie

New Zenner

Join Date:
Dec 2016
Location:
Utah
Posts:
13
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

Thanks for the reply idtags. I used FileZilla to FTP the binary zip file to my Linux server. I double checked and it is set to "auto" and the resulting zip file is the same number of bytes as the original. I unzipped it on the Linux server. Still this might be a clue because when I just retried these steps I used "unzip -a" to automatically convert text files and it claimed that all files are binary. Maybe there are some end of line characters in some file somewhere that is messing up the interpretation of the database.

27 Feb 2018, 3:52 PM
#138
rhenrie avatar

rhenrie

New Zenner

Join Date:
Dec 2016
Location:
Utah
Posts:
13
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

It didn't fix it but I did go further with this idea. I unzipped on a PC and then used FileZilla to FTP all files and auto translate text files. I then did a diff from the previous method and the new method. Tons of text files were "different" (but only in the end if line character). I copied this set of files over the previous version of ckeditor. Unfortunately, like I said, it didn't fix it. I still have blank Product Descriptions, etc.

I have another issue where if I change back to the Plain Text editor and it still acts like the CKEditor is activated. This brings me to another question. Earlier in this thread DrByte suggested clearing your cache. My immediate thought was that I should clear some cache on the server but other Zenners interpreted that to mean clearing the Browser cache. Since I can't find some way clear the ZenCart cache so I have just been following suit and clearing the Browser cache. This produces no effect.

How do you clear your cache?

6 Mar 2018, 2:34 PM
#139
rhenrie avatar

rhenrie

New Zenner

Join Date:
Dec 2016
Location:
Utah
Posts:
13
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

Let me describe again my problem in hopes someone will have an idea. I am trying to upgrade from 1.3.8a to 1.5.5f. Happily my migrated products correctly show the product descriptions on my website pages. However, I have a problem when I am logged into admin. Since I installed ckeditor I can't edit (or see) the product descriptions in admin.

I have tried several things including (reinstalling everything) to correct this but once I select ckeditor as the html editor I can no longer see my product descriptions. They are still there on my website and in the database but they appear blank in admin.

Selecting Plain Text editor isn't possible either. I am leery to mix TinyMCE with this current ckeditor mess. Has anyone else successfully migrated and used ckeditor? All of my Product Descriptions are HTML, is there HTML that isn't supported by ckeditor?

Another clue is that EZPages pretty much the same (except it is flaky in that sometimes they aren't blank).

6 Mar 2018, 3:09 PM
#140
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Support Thread for CKEditor Plugin

rhenrie:

Let me describe again my problem in hopes someone will have an idea. I am trying to upgrade from 1.3.8a to 1.5.5f. Happily my migrated products correctly show the product descriptions on my website pages. However, I have a problem when I am logged into admin. Since I installed ckeditor I can't edit (or see) the product descriptions in admin.

I have tried several things including (reinstalling everything) to correct this but once I select ckeditor as the html editor I can no longer see my product descriptions. They are still there on my website and in the database but they appear blank in admin.

Selecting Plain Text editor isn't possible either. I am leery to mix TinyMCE with this current ckeditor mess. Has anyone else successfully migrated and used ckeditor? All of my Product Descriptions are HTML, is there HTML that isn't supported by ckeditor?

Another clue is that EZPages pretty much the same (except it is flaky in that sometimes they aren't blank).
More than likely there is a character set "clash". Have you upgraded the database to UTF-8? Ie. Used a plugin called convert db2utf8?

The version of ZC that was being used was using a latin1 style database character set, modern is to use at least utf8.

There may also be other areas of your site that need to be modified to have a consistent character set applied. The plugin instructions provide reference to an associated FAQ.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...