Forums / Customization from the Admin / html editor not working

html editor not working

Started by buildingblocks on 14 May 2011, 12:46 PM · Views: 4,515

Results 1 to 8 of 8
14 May 2011, 12:46 PM
#1
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

html editor not working

We have a cart, version 1.3.9h. In admin we have the html editor selected but it is not working.

When I go to tools > ez-pages and click the link to create an ez-page the html editor is not loading.

Browsing with firefox, using inspect element, I look in the head tags section and find the script tag for htmlarea.js. It shows that htmlarea.js not loading.

This is the message:

Failed to load source for: http://website.com/editors/htmlarea/htmlarea.js

The problem I see with this is the path is not correct. It should actually read as

http://website.com/store/editors/htmlarea/htmlarea.js

View source shows

<script type="text/javascript" src="/editors/htmlarea/htmlarea.js"></script>

and clicking on the src link shows this

<h1>Not Found</h1> <p>The requested URL /editors/htmlarea/htmlarea.js was not found on this server.</p> <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p>

Where do I correct the url so page load follows the correct path?

14 May 2011, 4:02 PM
#2
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: html editor not working

well I uploaded the editor folder to the root of the website which did get the html editor working but I'd still like to correct the url to use the editor in the subfolder where the store actually is. Any ideas?

14 May 2011, 4:31 PM
#3
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: html editor not working

I found it.

admin/includes/htmlarea.php

the html editor is working from the correct folder.

14 May 2011, 4:48 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: html editor not working

Thanks for the update that you have this working and for posting the solution to the problem ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 May 2011, 5:23 PM
#5
schoolboy avatar

schoolboy

Totally Zenned

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

Re: html editor not working

Have you thought about installing the latest CK Editor and dumping HTMLArea?

CK is much better. See the free Add-Ons for the latest CK Editor.

20 years a Zencart User

3 Feb 2012, 2:20 AM
#6
newpowercord avatar

newpowercord

New Zenner

Join Date:
Dec 2011
Posts:
17
Plugin Contributions:
0

Re: html editor not working

schoolboy:

Have you thought about installing the latest CK Editor and dumping HTMLArea?

CK is much better. See the free Add-Ons for the latest CK Editor.

yes i tried
but ch editor does not work for me

Hi every one
i recently upgrade my site from 1.3.9h to 1.5almost every thing is ok except html area was not there so I down load add on ckedit for new pages its works fine but previously made pages are not visible at all in admin its shown blank page i am able to create new one
from user end all old pages are visible
now i am stuck my most pages created in HTMLarea and now i can not edit them I already upgrade data base and all other functions are working fine.
any help?
then i tried another web site same result i can not see old product pages in admin so can not edit but can see very well at user side it is live web https://www.fragranceorperfume.com .
i searched FAQ but could not see any error like this.
I install one click and then upload and zc_install another website https://www.xprinterparts.com both have same result
I am running zen cart from quite long time so very much sure it is from HTML editor.
I found html area was one of the best feature of zen cart don't understand why its discontinue believe me it was very easy and convenient. i will prefer if can get list of files that require for html area i know editor directory but what Else files do i need please help.
again
Thanks

3 Feb 2012, 2:28 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: html editor not working

What version of PHP on your site?

And maybe you should put your site back to iso-8859-1 instead of forcing it over to utf-8.
See: https://www.zen-cart.com/tutorials/index.php?article=414

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

28 May 2012, 9:06 AM
#8
fabianweiner avatar

fabianweiner

New Zenner

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

Re: html editor not working

Hi

i just went to /shopname/editors/htmlarea/lang

the language i needed, namely Thai was not in it by default.

So i downloaded en.js changed it to th.js and uploaded it in the same place.

Works fine now in EZ Pages and in Pages Editor