Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    May 2010
    Posts
    52
    Plugin Contributions
    0

    Default A question regarding the CKEditor for Zen Cart 3.4's readme file

    I installed the addon, following the readme.html file's instruction.

    When I tried to do step 5 in the file, which is:
    (Optional) You can change the folder in which the editor file live, by renaming the folder and adding the following line to your admin/includes/configure.php file:
    define('DIR_WS_EDITORS', 'the new name of your folder');

    So, I renamed the folder to 'myeditors', then added a line in that configure.php like:
    define('DIR_WS_EDITORS', 'myeditors/');

    Then I went back to step 4, which is:
    (Recommended) You can also set your default editor choice via Admin->Configuration->My Store->HTML Editor (note: this may not take effect until you log in the next time)

    I got the following error msg with yellow background on top of the admin panel:

    You have an HTML editor selected in 'My Store' but the '/editors/' folder cannot be located. Please disable your selection or move your editor files into the '/shoppe/editors/' folder

    I am not sure if I missed something, please help.

    However, when I used Define Pages editor and EZ-pages editor, the CKeditor did show up. So I guess the function is there, but the msg is always stay, which is kind of an...ing

    I am using zen-cart 1.3.9h, thank you.

  2. #2
    Join Date
    Feb 2008
    Posts
    529
    Plugin Contributions
    0

    Default Re: A question regarding the CKEditor for Zen Cart 3.4's readme file

    zc 1.3.9h

    Had similar problem. I wasn't sure whether to change the root/editors folder name, or the root/editors/ckeditor folder. I tried both and with each added the suggested line to the config file.

    In both cases the store config offereed only 'plain text' as being available - the ckeditor and html editors were not there.

    So I put back the orginal file names, removed the added line from the config file and everything 'seems' to work. (as is the ckeditor appears where it should and a few test entries worked.)

    I use IH2 for my images - not sure if that is considered an uploader that would have required the suggested folder name changes.

  3. #3
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: A question regarding the CKEditor for Zen Cart 3.4's readme file

    Quote Originally Posted by justin2010 View Post
    ....
    (Optional) You can change the folder in which the editor file live, by renaming the folder and adding the following line to your admin/includes/configure.php file:
    define('DIR_WS_EDITORS', 'the new name of your folder');
    I could never understand the purpose of this option - and I don't use it. Everything in admin is set up to select editors residing in the /editors folder. This works without fail, no matter which editor you are choosing. So, why moving CKeditor to a different folder??

  4. #4
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: A question regarding the CKEditor for Zen Cart 3.4's readme file

    Quote Originally Posted by frank18 View Post
    I could never understand the purpose of this option - and I don't use it. Everything in admin is set up to select editors residing in the /editors folder. This works without fail, no matter which editor you are choosing. So, why moving CKeditor to a different folder??
    Because a lot of editors include upload file capability which can be directly accessed , so a naughty pixie could in theory upload a dodgy file without having to login, and as on Zencarts the editors are always located in the editors folder its not hard to write a scrip that targets this vulnerability, after all there are only a choice of 3 or 4 htmleditors that are being used.

    Changing the name of the folder serves basically the same function as renaming the admin folder, protection through obfuscation, 1.3.9 prevents the html editors from uploading so this is not really necessary, but it may help again some as yet undiscovered vulnerability.

    I always wondered why the editors folder wasn't inside the admin folder!
    Webzings Design
    Semi retired from Web Design

  5. #5
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: A question regarding the CKEditor for Zen Cart 3.4's readme file

    Quote Originally Posted by nigelt74 View Post
    Because a lot of editors include upload file capability which can be directly accessed , so a naughty pixie could in theory upload a dodgy file without having to login, and as on Zencarts the editors are always located in the editors folder its not hard to write a scrip that targets this vulnerability, after all there are only a choice of 3 or 4 htmleditors that are being used.

    Changing the name of the folder serves basically the same function as renaming the admin folder, protection through obfuscation, 1.3.9 prevents the html editors from uploading so this is not really necessary, but it may help again some as yet undiscovered vulnerability.

    I always wondered why the editors folder wasn't inside the admin folder!
    And there's always the option of some simple coding in an .htaccess file to stop the 'pixies'

  6. #6
    Join Date
    May 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: A question regarding the CKEditor for Zen Cart 3.4's readme file

    Quote Originally Posted by soxophoneplayer View Post
    zc 1.3.9h

    Had similar problem. I wasn't sure whether to change the root/editors folder name, or the root/editors/ckeditor folder. I tried both and with each added the suggested line to the config file. ...
    That is a good point! I only changed the root/editors before seeing your comment. Thanks! Now I tried several combinations probably the same as you did and I got the same result as you did.

    Quote Originally Posted by frank18 View Post
    And there's always the option of some simple coding in an .htaccess file to stop the 'pixies'
    IMHO, the author of this addon put this option in the readme file must have his reason. If somehow it helps to improve the overall security for just as little as 1%, I will give it a shot. However, in my personal (and soxophoneplayer's) experiences on this addon, perhaps there is something confusing in the readme file. I am hoping the author or some other experts in this forum will look into it and give us some help. Even a simply answer like "Just ignore this option, it's obsoleted... " will be appreciated. Of course, a more detail explanation and how to fix it is much better.
    Thanks!

  7. #7
    Join Date
    May 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: A question regarding the CKEditor for Zen Cart 3.4's readme file

    actually, one more thing...
    If I use the original addon, when the ckeditor loaded in the admin panel through https connection, there is a red warning msg with a "!" and "lock" icon at the browser's right bottom corner saying "... contains unauthenticated ...". So, I changed line 20 in "admin/includes/ckeditor.php". Either to add a "s" after the "http" or to eliminate the whole "http" work(no more warning "!" at the right bottom corner).
    I am not sure if I really solved it or compromised it.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 9 Apr 2010, 09:12 AM
  2. Brand New to Zen-Cart: Question regarding temp URL
    By atl2rva in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 Feb 2010, 09:32 PM
  3. Hosting question regarding Canadian Zen Cart store.
    By Winks in forum General Questions
    Replies: 6
    Last Post: 7 Nov 2008, 01:19 AM

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