Forums / Upgrading to 1.5.x / HTML Editors not working in v.1.5.1

HTML Editors not working in v.1.5.1

Views: 1,482

Results 1 to 9 of 9
8 Dec 2013, 8:13 PM
#1
sammirah avatar

sammirah

Zen Follower

Join Date:
Apr 2012
Location:
Los Angeles, CA
Posts:
185
Plugin Contributions:
2

HTML Editors not working in v.1.5.1

I have installed the CKEDITOR and although it allows me to select it as the default for the store, when I try to select it when I want to define pages the plain text pops back into its place. This is nerve wracking!

8 Dec 2013, 8:16 PM
#2
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: HTML Editors not working in v.1.5.1

sammirah:

I have installed the CKEDITOR and although it allows me to select it as the default for the store, when I try to select it when I want to define pages the plain text pops back into its place. This is nerve wracking!

I have installed this module many times on 1.5x. I don't think that it is a problem with the module. Maybe you have not installed it correctly? Do you have any errors in your /logs folder?

Thanks,

Anne

8 Dec 2013, 8:44 PM
#3
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: HTML Editors not working in v.1.5.1

sammirah:

I have installed the CKEDITOR and although it allows me to select it as the default for the store, when I try to select it when I want to define pages the plain text pops back into its place. This is nerve wracking!

Also, when describing your process, you have 1 logged into admin, 2, gone to tools->define pages editor.

Here you have two dropdowns. You first select the appropriate editor (right side drop down), then you try to edit a define page, correct?

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

8 Dec 2013, 9:01 PM
#4
sammirah avatar

sammirah

Zen Follower

Join Date:
Apr 2012
Location:
Los Angeles, CA
Posts:
185
Plugin Contributions:
2

Re: HTML Editors not working in v.1.5.1

mc12345678:

Also, when describing your process, you have 1 logged into admin, 2, gone to tools->define pages editor.

Here you have two dropdowns. You first select the appropriate editor (right side drop down), then you try to edit a define page, correct?

Correct. But when I select the appropriate editor (CKEDITOR), page refreshes and returns to PlainText

8 Dec 2013, 9:26 PM
#5
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: HTML Editors not working in v.1.5.1

sammirah:

Correct. But when I select the appropriate editor (CKEDITOR), page refreshes and returns to PlainText

Well, per the init_html_editor.php file, this happens if a couple of conditions are not met... Make sure files are stored in the correct directory, and if the instructions suggest something with either admin/includes/init_includes/init_html_editor.php or admin/includes/init_includes/overrides/init_html_editor.php I think files in the overrides folder actually will override the same file in the directory below, so if there is a file in the overrides folder, I suggest that it be the "most recent"...

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

8 Dec 2013, 9:45 PM
#6
sammirah avatar

sammirah

Zen Follower

Join Date:
Apr 2012
Location:
Los Angeles, CA
Posts:
185
Plugin Contributions:
2

Re: HTML Editors not working in v.1.5.1

mc12345678:

Well, per the init_html_editor.php file, this happens if a couple of conditions are not met... Make sure files are stored in the correct directory, and if the instructions suggest something with either admin/includes/init_includes/init_html_editor.php or admin/includes/init_includes/overrides/init_html_editor.php I think files in the overrides folder actually will override the same file in the directory below, so if there is a file in the overrides folder, I suggest that it be the "most recent"...
Thanks. I had to get rid of the admin/includes/init_includes/overrides/init_html_editor.php and now it works fine.

8 Dec 2013, 11:50 PM
#7
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: HTML Editors not working in v.1.5.1

sammirah:

Thanks. I had to get rid of the admin/includes/init_includes/overrides/init_html_editor.php and now it works fine.

As you continue to put your site back in functional order from it's previous attempt to upgrade, did you happen to notice if there was anything worth keeping in the override version of the file? Like maybe now something else doesn't work, because the file has been removed that had extra "direction"?

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

8 Dec 2013, 11:51 PM
#8
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: HTML Editors not working in v.1.5.1

sammirah:

Thanks. I had to get rid of the admin/includes/init_includes/overrides/init_html_editor.php and now it works fine.

That file is a core file in zc 1.5.1 - there should be no need to get rid of that file. As Picaflor-Azul suggested, you may not have installed the CKEditor correctly. This editor has never failed me either.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

9 Dec 2013, 4:21 PM
#9
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: HTML Editors not working in v.1.5.1

frank18:

That file is a core file in zc 1.5.1 - there should be no need to get rid of that file. As Picaflor-Azul suggested, you may not have installed the CKEditor correctly. This editor has never failed me either.

I agree 100% :smile:

Thanks,

Anne