Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2014
    Location
    United States
    Posts
    9
    Plugin Contributions
    0

    Default CKEditor 3.7m not displaying at all after install

    First, a very basic question: Will CKEditor show up when the admin is editing a product description? Or is it only for when one is using the Define Pages Editor off the Tools menu? The description of this plugin may seem self-explanatory, but honestly for someone new like me it helps to spell it out. My client wants to be able to format his product descriptions without having to type the HTML code. Will CKEditor do that for him?

    Here's the problem I'm having: I installed the latest CKEditor (from here: http://www.zen-cart.com/downloads.php?do=file&id=1098) per the readme file.

    I went to Configuration > My Store > HTML Editor and selected CKEditor. I logged out of admin and logged back in, just in case it mattered. Checked the configuration and it still showed CKEditor as the HTML Editor. But nothing had changed. No CKEditor displays when I edit a product description. I get a text box and inside it is the same HTML code that has been there from before.

    If I go to Tools > Define Pages Editor, CKEditor is not shown. "Text Editor" shows by default in the dropdown, and if I select CKEditor the page refreshes, but since no file was selected it doesn't do anything. If I select the file name first from the file dropdown, the file is displayed with a text box but if I then select CKEditor from the editor dropdown, the page refreshes again and the text file disappears. I cannot seem to select the file to be edited and CKEditor as the editor at the same time.

    Some of the other CKEditor threads talk about Languages. What is the connection between languages and CKEditor? Is there a connection between it and the selected template? I'm using an older template (Cold Steel 1.0) and may have modified some of the language files. Which language files interact with CKEditor, so that I can check whether that's a factor?

    I tried changing the template to the Classic Contemporary Green that comes with the Zen Cart install (logged out and back in again) but that did not seem to make a difference.

    I'm using MySQL 5.1.56-log and PHP 5.4.20 and Zen Cart 1.5.3

    Thanks in advance for any help you can offer. To be clear: My goal is to find a way for my non-techie client to edit and format product descriptions (when logged in as admin). If CKEditor isn't the answer, then none of this matters. Please direct me to something that will help with that. Thanks again.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: CKEditor 3.7m not displaying at all after install

    CKEditor works fine usually. What browser are you using and is the site running under SSL?

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: CKEditor 3.7m not displaying at all after install

    Also check that you have in the directory, on the server, for:
    /editor

    a directory for:
    ckeditor

    Then, in your Zen Cart Admin, go to the Tools ... Developers Tool Kit ... and in the bottom input box enter:
    ckeditor

    and select Catalog/Admin and click SEARCH ...

    You should see something similar to:
    Code:
    /home/yourusername/public_html/yourdirectory/yoursecretadmindirectory/includes/ckeditor.php
    
    Line #7 : * @version $Id: Original: ckeditor.php 277 2010-05-22 14:09:32Z kuroi $
    
    Line #22 : <script type="text/javascript" src="../<?php echo DIR_WS_EDITORS ?>ckeditor/ckeditor.js"></script>
    
    Line #31 : CKEDITOR.replace($(this).attr('name'),
     
    /home/yourusername/public_html/yourdirectory/yoursecretadmindirectory/includes/init_includes/init_html_editor.php
    
    Line #26 : if (is_dir(DIR_FS_CATALOG . DIR_WS_EDITORS . 'ckeditor')) $editors_list['CKEDITOR'] = array('desc' => EDITOR_CKEDITOR, 'handler' => 'ckeditor.php', 'special_needs' => '');
     
    /home/yourusername/public_html/yourdirectory/yoursecretadmindirectory/includes/languages/english/extra_definitions/ckeditor.php
    
    Line #7 : * @version $Id: ckeditor.php 107 2010-04-28 21:28:02Z kuroi $
    
    Line #10 : define('EDITOR_CKEDITOR', 'CKEditor');
    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: v1.5.5]
    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!

  4. #4
    Join Date
    Nov 2014
    Location
    United States
    Posts
    9
    Plugin Contributions
    0

    Default Re: CKEditor 3.7m not displaying at all after install

    Quote Originally Posted by stevesh View Post
    CKEditor works fine usually. What browser are you using and is the site running under SSL?
    Chrome 38.0.2125.111 m in Windows 7. A few extensions running in Chrome (ad blockers, Firebug, etc) but the demo on CKEditor.com displayed fine in my current browser.

    No SSL.

  5. #5
    Join Date
    Nov 2014
    Location
    United States
    Posts
    9
    Plugin Contributions
    0

    Default Re: CKEditor 3.7m not displaying at all after install

    Yes, thank you, Ajeh. I did the search using the Developers Tool Kit and can confirm that I got the same results (that is, I have CKEditor showing up in the same three files on my installation, and the line numbers of the code also match).

    I also have the /editors/ckeditor directory in place. I started out with the plugin version that I downloaded from Zen Cart (as mentioned above). But then I saw several forum posts where people downloaded directly from CKEditor.com and replaced the editor directory with the one from there and it fixed their problems. So currently I have the ckeditor directory that I downloaded from CKEditor.com in that spot. Doesn't seem to make any difference, though.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: CKEditor 3.7m not displaying at all after install

    Quote Originally Posted by tmdeppner View Post
    First, a very basic question: Will CKEditor show up when the admin is editing a product description?
    Yes.

    Quote Originally Posted by tmdeppner View Post
    My client wants to be able to format his product descriptions without having to type the HTML code. Will CKEditor do that for him?
    Yes

    Quote Originally Posted by tmdeppner View Post
    No CKEditor displays when I edit a product description. I get a text box and inside it is the same HTML code that has been there from before.
    That usually means you've not uploaded the files to the server into the correct locations, or you've got conflicting jquery/javascript stuff added to your store that is causing a clash.

    Installing as per the readme works perfectly on every brand new uncustomized ZC store I've ever used it on ... unless I've got javascript disabled in my browser, or if my browser is so old it's not supported by jQuery or CKEditor.


    Quote Originally Posted by tmdeppner View Post
    Some of the other CKEditor threads talk about Languages. What is the connection between languages and CKEditor?
    If your store is using only English, there's no connection at all. It's only an issue if your store's only language is one that's not supported yet by ckeditor.

    Quote Originally Posted by tmdeppner View Post
    Is there a connection between it and the selected template?
    No. It's admin-side only, so storefront templates are unrelated.
    .

    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.

  7. #7
    Join Date
    Nov 2014
    Location
    United States
    Posts
    9
    Plugin Contributions
    0

    Default Re: CKEditor 3.7m not displaying at all after install

    DrByte (and others who replied), thank you. With those answers, it helped me focus on what was more likely the problem and re-examine what I'd done. The last couple of days have been brain-intensive and I overlooked the simple things.

    I had installed the ckeditor.php file in mystore/includes instead of mystore/mysecretadmin/includes. Doh!

    Once it was in the right spot, CKEditor showed up.

    THANK YOU for the help, it got me looking at the right things to find the problem.

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

    Default Re: CKEditor 3.7m not displaying at all after install

    (whew!) I was starting to run out of ideas!

    Glad it's working. :)
    .

    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.

 

 

Similar Threads

  1. CKEditor install
    By JILK in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 15 Jun 2010, 12:45 AM
  2. index page not displaying after install
    By whiteboxer in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 6 May 2008, 09:27 PM
  3. Linkpoint Install Not Displaying
    By Radish in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 29 Sep 2007, 02:35 AM
  4. pages loading slow or not at all after install
    By shy_violet in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 8 Mar 2007, 10:18 PM

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