Forums / Upgrading to 1.5.x / HTML Editor for product descriptions all show blank

HTML Editor for product descriptions all show blank

Views: 1,360

Results 1 to 7 of 7
13 Jun 2012, 2:58 PM
#1
laydback avatar

laydback

New Zenner

Join Date:
Aug 2011
Posts:
13
Plugin Contributions:
0

HTML Editor for product descriptions all show blank

Hey all, I have recently upgraded a client's zen-cart from 1.3.9f to 1.5 , everything was working well except for one thing. With the HTMLArea editor removed (leaving us with no editor out of the box, why?) I went ahead and installed the CKEditor and TinyMCE addons. However neither editor works correctly, product descriptions are blank (even when clicking the source code button, no code). Define pages are blank as well, even though when I edit the file using a text editor there is content. And the product descriptions on the live catalog are present, that is up until ANY changes such as quantity are made, as soon as you click update, it wipes out the product description. Is there any "hack" to put the HTMLARea editor back?

Because of this , what seems to be a minor issue, I've had to revert back to the 1.3.9 fileset and was not paid by the client. Please help!!!

13 Jun 2012, 4:28 PM
#3
laydback avatar

laydback

New Zenner

Join Date:
Aug 2011
Posts:
13
Plugin Contributions:
0

Re: HTML Editor for product descriptions all show blank

stevesh:

This, maybe ?

http://www.zen-cart.com/content.php?313

This was it!!!

I had to change the setlocale and charset defines inside the english.php in my ADMIN languages folder to "latin1" and it worked.

13 Jun 2012, 6:29 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: HTML Editor for product descriptions all show blank

You should also do the same in your non-admin languages folder too. You DO NOT want to be mixing character-sets up (that's why things showed blank on you in the first place!!).

And to be clear, the "editor" has nothing to do with it. CKEditor or HTMLarea or TinyMCE etc would all have the same symptoms.

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

13 Jun 2012, 10:19 PM
#5
laydback avatar

laydback

New Zenner

Join Date:
Aug 2011
Posts:
13
Plugin Contributions:
0

Re: HTML Editor for product descriptions all show blank

DrByte:

You should also do the same in your non-admin languages folder too. You DO NOT want to be mixing character-sets up (that's why things showed blank on you in the first place!!).

And to be clear, the "editor" has nothing to do with it. CKEditor or HTMLarea or TinyMCE etc would all have the same symptoms.

Thanks Dr, I compared both sets of language files and found that my catalog include was already set to "latin1", this was because I overwrote it during the upgrade, I was unaware that the file actually contained the mentioned settings.

I blame myself for not doing file compares and dropping in older files.

14 Jun 2012, 2:58 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: HTML Editor for product descriptions all show blank

Good catch. I suggest you go back and make sure you add in anything (for the new version) that's missing from the old files (from the old version) you copied in.

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

14 Jun 2012, 3:02 AM
#7
laydback avatar

laydback

New Zenner

Join Date:
Aug 2011
Posts:
13
Plugin Contributions:
0

Re: HTML Editor for product descriptions all show blank

Good idea, thank god for Beyond Compare 3, lol.