Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Jan 2012
    Posts
    9
    Plugin Contributions
    0

    red flag Problem getting ck editor to work properly in zc1.5

    PROBLEM GETTING CK EDITOR TO WORK PROPERLY IN ZC1.5

    Zen Cart 1.5
    Upgraded from 1.3.8a

    I just added ck editor to the site, but when I go to "Define Page Editor" or "Easy Page Editor" on the admin back end and select CK as the editor, and then select a file, the path shows up correctly, but the file code or source doesn't show up?

    Its just a big empty box. It doesn't matter if I hit source or not, its still totally empty.

    Is there a easy fix for this one?

    Thanks for your help!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Problem getting ck editor to work properly in zc1.5

    That suggests you've missed uploading one or more of the related files, or that there's a language problem.

    I suggest downloading the latest version of the addon (updated today) and re-uploading the files.
    .

    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.

  3. #3
    Join Date
    Dec 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Problem getting ck editor to work properly in zc1.5

    I upgraded from 1.3.9h to 1.5 and have the same problem.

    It is strange that I can only see words in 1 file (define_site_map.php) the rest other files I don't see the contents.

    I tried to redownload and uploaded the latest version but still the same. I also checked file permission and all the same, no difference.

    I checked on mormal website they all there, no difference

    I am not sure what is causing the problem that I can not see the contents of these files but define_site_map.php

    Any help or suggestions would be great!

    Thanks,

  4. #4
    Join Date
    May 2011
    Location
    Sunny Rossendale (not)
    Posts
    556
    Plugin Contributions
    2

    Default Re: Problem getting ck editor to work properly in zc1.5

    Quote Originally Posted by vienkhach View Post
    I upgraded from 1.3.9h to 1.5 and have the same problem.

    It is strange that I can only see words in 1 file (define_site_map.php) the rest other files I don't see the contents.

    I tried to redownload and uploaded the latest version but still the same. I also checked file permission and all the same, no difference.

    I checked on mormal website they all there, no difference

    I am not sure what is causing the problem that I can not see the contents of these files but define_site_map.php

    Any help or suggestions would be great!

    Thanks,
    Don't take this the wrong way I've made these school boy mistakes myself
    have you downloaded the latest version for v1.5
    http://www.zen-cart.com/index.php?ma...oducts_id=1626
    renamed the folders to your admin name
    and set ckeditor as your default in admin configuration/mystore/html editor
    What ever your doing remember to KISS ( Keep It Simple Stupid )

  5. #5
    Join Date
    Apr 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Problem getting ck editor to work properly in zc1.5

    About the same problem here. My product descriptions are not showing when I try to edit my products. It is working for new product descriptions. Weird that the customer side still sees the descriptions as before.

    I uploaded the correct files and double checked them.

    My cache file is returning the error:
    Code:
    [11-Jan-2012 21:03:14] PHP Warning:  htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: Invalid multibyte sequence in argument in /home/craftsg1/public_html/Wholesale/demo/wolfyjr421/includes/modules/product/collect_info.php on line 401
    I am still troubleshooting if anyone has some tips.

    Thanks very much.

  6. #6
    Join Date
    Apr 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Problem getting ck editor to work properly in zc1.5

    I forgot to include the code for that file. Also, I am using ZC 1.5

    Here is the code for around Line 401 @ /admin/includes/modules/product/collect_info.php:
    Code:
    <script language="javascript"><!--
    updateGross();
    //--></script>
    <?php
        for ($i=0, $n=sizeof($languages); $i<$n; $i++) {
    ?>
              <tr>
                <td class="main" valign="top"><?php if ($i == 0) echo TEXT_PRODUCTS_DESCRIPTION; ?></td>
                <td colspan="2"><table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td class="main" width="25" valign="top"><?php echo zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']); ?>&nbsp;</td>
                    <td class="main" width="100%"><?php echo zen_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '30', htmlspecialchars((isset($products_description[$languages[$i]['id']])) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id']), ENT_COMPAT, CHARSET, TRUE)); //,'id="'.'products_description' . $languages[$i]['id'] . '"'); ?></td>
                  </tr>
                </table></td>
              </tr>
    <?php
        }
    ?>
    The code in blue is line 401.

  7. #7
    Join Date
    Apr 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Problem getting ck editor to work properly in zc1.5

    Sorry for being a bit vague. Although I read these forums quite a bit, I do not post very often.

    I hope that I am not barking up the wrong tree here.

    Reading some other threads from older versions lead me to believe that CKEditor is the cause. I removed CKEditor and the text shows up fine (although it is all source code/plain text.)

    I've used Winmerge to compare the file when working (CK Not Installed) and when not (CK installed). I can't find a difference so it leads me to believe that something is being modified by CK.

    Perhaps my logic is flawed. I am not great at reading code. My symptoms are similar to Vien and Bongo but just a different file.

    Any help or thoughts would be greatly appreciated.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Problem getting ck editor to work properly in zc1.5

    Quote Originally Posted by crafts2gifts View Post
    I removed CKEditor and the text shows up fine
    Somehow I missed that in your earlier discussion.
    Puzzling.
    .

    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.

  9. #9
    Join Date
    Dec 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Problem getting ck editor to work properly in zc1.5

    OK i found the fix for my problem

    Edit this file admin/includes/languages/english.php

    with the following line from:

    // charset for web pages and emails
    define('CHARSET', 'utf-8');

    to:

    // charset for web pages and emails
    define('CHARSET', 'iso-8859-1');

    and now I can read all my pages again.

    Also check includes/languages/english.php
    and includes/languages/YOUR_TEMPLATE/english.php

    for

    // charset for web pages and emails
    define('CHARSET', 'iso-8859-1');

    to make sure you have correct settings.

    I would love to use 'utf-8' as default instead of 'iso-8859-1' for special characters (non-english) with my product descriptions but at least for now I know what caused the problem.

    I am looking forward to change back to 'utf-8' as soon I figure out how make the editor can read all the pages with utf-8 setting.

    Happy Zen Cart user!!!!

  10. #10
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Problem getting ck editor to work properly in zc1.5

    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 template seems not to work properly after upgrading from zc1.5.0 to cz1.5.4
    By Wolfgang.Juchmes in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Mar 2016, 04:21 PM
  2. v153 Problem with getting EasyPopulate to work
    By Bill1028fl in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 27 Dec 2014, 11:35 PM
  3. Problem getting SSL to work properly
    By bryancsparks in forum General Questions
    Replies: 1
    Last Post: 28 Feb 2010, 07:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR