Forums / General Questions / CKEditor problems

CKEditor problems

Started by oujipickle on 27 Mar 2012, 8:17 AM · Views: 4,522

Results 1 to 19 of 19
27 Mar 2012, 8:17 AM
#1
oujipickle avatar

oujipickle

New Zenner

Join Date:
Mar 2012
Posts:
6
Plugin Contributions:
0

CKEditor problems

Hi All

Trying to install CKEditor on v1.5 and simply cant get it work.
Followed read me file and seem to follow ok until i zip the editor folder and unpack in the public_html folder, but it only seems to unpack one file which was a .cgi file

In admin> store> htmleditor = nothing
and not in the define pages editor either.

Please help

Ouji

27 Mar 2012, 8:45 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: CKEditor problems

No... you can't install it by uploading and unpacking the zip file.

You need to download the zip file to a LOCAL drive and unpack it on your LOCAL machine.

Then, change the name of its ADMIN folder to the name of your admin folder on the server.

Then FTP the folders to your zencart installation.

PS: REMOVE the unpacked stuff from the server...

20 years a Zencart User

27 Mar 2012, 9:17 AM
#3
oujipickle avatar

oujipickle

New Zenner

Join Date:
Mar 2012
Posts:
6
Plugin Contributions:
0

Re: CKEditor problems

Hi Schoolboy

That is what i have done, after i had ftp the files, I needed to upload the ckeditor "folder" which i zipped up and put in public_html and then unpacked it.

28 Mar 2012, 4:48 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: CKEditor problems

oujipickle:

Hi Schoolboy

which i zipped up and put in public_html and then unpacked it.

Er... NO :no:

Read what I said... you must unpack it on your HOME COMPUTER.

After unpacking it, you will see it is made up of TWO FOLDERS:

admin
editors

and a FILE
readme.html

Open your FTP software.

Navigate to your root installation of zencart on the server. You will be in the right place when you see an editors folder in the server's pane.

NOW... on your SERVER.... you will have a DIFFERENT NAME for your admin folder.

Whatever that name is, change the name of the admin folder in CK-Editor directory, to MATCH that of your server's admin name.


Now... your FTP LOCAL PANE will show:

admin_re_named
editors

readme.html

HIGHLIGHT BOTH FOLDERS (not the readme)

CLICK THE "SEND" ARROW to ftp these folders to your server...

YOU WILL BE PROMPTED TO OVERWRITE AN EDITORS.PHP FILE IN THE ADMIN... ACCEPT THIS OVERWRITE.

Job Done...

20 years a Zencart User

16 Apr 2012, 3:56 PM
#6
bryants87 avatar

bryants87

New Zenner

Join Date:
Apr 2012
Posts:
1
Plugin Contributions:
0

Re: CKEditor problems

I'm having the same problem..
I will try what you suggested..

Thanks

25 Apr 2012, 3:40 AM
#7
icecube avatar

icecube

New Zenner

Join Date:
Apr 2012
Posts:
6
Plugin Contributions:
0

Re: CKEditor problems

Hi all,

Ok so like many I am having issues with CKeditor. I installed it as per instructions (so I think) I am using Zen V1.5 and the latest version of CKE. I have no problem setting the default HTML editor to EDITOR_CKEDITOR (that is what shows up on mine).

My problem is that when I go to something like "DEFINE PAGES EDITOR FOR : ENGLISH" I am able to choose the ckeditor in the list, but as soon as I do it just automatically chooses the Plain Text editor.

I guess it's not "catching" something, but I really don't know what.

Someone please help

Thanks

27 Apr 2012, 4:11 PM
#8
icecube avatar

icecube

New Zenner

Join Date:
Apr 2012
Posts:
6
Plugin Contributions:
0

Re: CKEditor problems

Hi,

I have been having a very frustrating issue with regards to CKeditor and I am not sure what I am doing wrong. I actually posted in another area of the forum, but I am not sure if that was the right place

Here is my issue:

I did the whole copy/paste thing from my local onto the host site and it went. I followed the instructions to the letter. (so I think)
I have installed CKeditor (the lastest version) into Zen Cart 1.5.

When I go into the admin panel of zen cart I see the Editor_CKeditor in the dropdown list for the text editor choices. But as soon as I choose it, I can see that my browser is doing something, but then stops and the dropdown choice goes back to "plain text". It's as if it's looking for it but can't find it.

I also set the default HTML editor from "My Store" to Editor_CKeditor as well.

I'm wondering...
My Zen Cart is in the folder called public_html/shop

Do you think it can't find it because it is looking for public_html?, but not the /shop/ part?

I did try the sample that the instructions speak about and I can see the files through my browser when I do that. It's just that through Zen Cart it doesn't activate

Thank you very much

28 Apr 2012, 6:02 PM
#9
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: CKEditor problems

When you grab a copy of CK_editor and UNZIP it on your local machine, you will see it comprises TWO FOLDERS:

admin
editors

(And I think a README file).

Loading it to zencart is quite straight forward.

  1. The folder in CK_Editor called "admin" will need to be RE-NAMED to the same name that you called YOUR admin folder on the server -whatever that name is. For the purposes of this post, I assume you called it "your_admin_folder", but you could have called it "barack_obama" or even "donald_duck".

  2. You need to NAVIGATE - on your server - to the area where you have loaded zencart. IF this is in a sub-folder called "store", or "shop", then you need to go into that sub-folder. You will know you are at the right LEVEL when you see a folder called "editors" on the server, as well as a folder called "your_admin_folder"

  3. Now that you are at the right LEVEL, and you have renamed the ck_editor admin folder to your_admin_folder, you simply click the FTP arrow that ports the LOCAL stuff to the SERVER.

You may be promted to overwrite a file in the admin area, and that is quite safe to do.

4 May 2012, 2:03 PM
#10
dnlcrafts avatar

dnlcrafts

New Zenner

Join Date:
Apr 2012
Location:
Florida, USA
Posts:
15
Plugin Contributions:
0

Re: CKEditor problems

I downloaded CKEditor latest version 3.6.6 and when I unpack it on my computer there is not 2 folders, I get this Attachment 10409
I have not tried to install via their instructions by loading the zip and unpacking on site. Am wondering if the new version is different?

Lou

5 May 2012, 4:28 AM
#12
coopco avatar

coopco

New Zenner

Join Date:
Jun 2006
Location:
Sea Lake, Australia
Posts:
81
Plugin Contributions:
0

Re: CKEditor problems

Version 3.7 of ckeditor, in the file admin/includes/ckeditor.php has the following line

<script type="text/javascript" src="<?php echo (strstr('ttps:', HTTP_SERVER) ? 'https' : 'http'); ?>://www.google.com/jsapi"></script>

is ttps correct?

5 May 2012, 4:41 AM
#13
drbyte avatar

drbyte

Sensei

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

Re: CKEditor problems

Are you asking because it's not working for you?

.
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.

5 May 2012, 5:04 AM
#14
coopco avatar

coopco

New Zenner

Join Date:
Jun 2006
Location:
Sea Lake, Australia
Posts:
81
Plugin Contributions:
0

Re: CKEditor problems

DrByte:

Are you asking because it's not working for you?

It works (but so did the previous version), but in ie9, it seems to think that there are insecure items. Don't get that in other browsers.

5 May 2012, 5:45 AM
#15
drbyte avatar

drbyte

Sensei

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

Re: CKEditor problems

The change was made specifically to prevent the messages about insecure items which were occurring in earlier integrations.

As for it saying 'ttps' that was deliberate, since some string searches fail when the variable being searched/matched starts as the first character. Hence the intentional omission of the 'h'.

.
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.

5 May 2012, 6:22 AM
#16
coopco avatar

coopco

New Zenner

Join Date:
Jun 2006
Location:
Sea Lake, Australia
Posts:
81
Plugin Contributions:
0

Re: CKEditor problems

DrByte:

The change was made specifically to prevent the messages about insecure items which were occurring in earlier integrations.

As for it saying 'ttps' that was deliberate, since some string searches fail when the variable being searched/matched starts as the first character. Hence the intentional omission of the 'h'.

OK, thanks for the reply DrByte.

7 May 2012, 5:10 PM
#17
syncopation avatar

syncopation

New Zenner

Join Date:
May 2012
Posts:
1
Plugin Contributions:
0

Re: CKEditor problems

Need help folks.

I downloaded this and installed it on my local server (XAMPP) and it works fine. Im able to use CKeditor as the default html editor.

Once it is on my remote server (godaddy) it does not work. It shows CKeditor on the dropdown, but when i select it, the screen refreshes and im back to the text only editor.

23 May 2012, 9:03 PM
#19
katdidit avatar

katdidit

New Zenner

Join Date:
May 2012
Posts:
10
Plugin Contributions:
0

Re: CKEditor problems

Icecube:

Hi all,

Ok so like many I am having issues with CKeditor. I installed it as per instructions (so I think) I am using Zen V1.5 and the latest version of CKE. I have no problem setting the default HTML editor to EDITOR_CKEDITOR (that is what shows up on mine).

My problem is that when I go to something like "DEFINE PAGES EDITOR FOR : ENGLISH" I am able to choose the ckeditor in the list, but as soon as I do it just automatically chooses the Plain Text editor.

I guess it's not "catching" something, but I really don't know what.

Someone please help

Thanks

I had this same exact problem, (how I found this thread)

As usual I had transfered each file individually because I usually end up customizing a fair amount of files and I find that making a little extra effort at the start can save me headaches later down the line, like accidentally overwriting a previously modified file. But anyway, I had left out the ckeditor.php in the admin/includes/ folder. I am not sure if the original poster figured out his problem, but would suggest that if anyone else has this problem, to carefully double check that ALL the mod files are copied onto your server, and that they were not corrupted during transfer.