Forums / General Questions / suddenly ckeditor became not working

suddenly ckeditor became not working

Views: 987

Results 1 to 4 of 4
8 Sep 2016, 4:01 AM
#1
win8win avatar

win8win

Zen Follower

Join Date:
Apr 2012
Location:
beijing
Posts:
258
Plugin Contributions:
1

suddenly ckeditor became not working

hi
my websites version is v1.54, their ckeditor all suddenly became not working ,disappearing in the editing product page,and the backend's loading also become very slow.

if go to configuraton-my store-html editor,set it to "plain text", the backend's loading would become very fast.

here is china,so I guess it is because that China GV has done more blocking during the G20 conference.

what should I do? or how to make ckeditor locally,not need to depeed on internet?

thanks

focus on the open source for online shoping website.
my site: best shop 24h.com

8 Sep 2016, 4:06 AM
#2
win8win avatar

win8win

Zen Follower

Join Date:
Apr 2012
Location:
beijing
Posts:
258
Plugin Contributions:
1

Re: suddenly ckeditor became not working

now all work after non working for at least half day.

focus on the open source for online shoping website.
my site: best shop 24h.com

8 Sep 2016, 3:01 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: suddenly ckeditor became not working

You could make the following changes, which stop using google, attempts to load jQuery from the jQuery server, and if that fails, then it loads one from your own server (which only works if you've put it on your server):

/admin/includes/ckeditor.php

[strike]<script type="text/javascript" src="//www.google.com/jsapi"></script>[/strike][strike]
<script type="text/javascript">if (typeof jQuery == 'undefined') google.load("jquery", "1");</script>[/strike]
<script type="text/javascript" src="../<?php echo DIR_WS_EDITORS ?>ckeditor/ckeditor.js"></script>

becomes:

<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script type="text/javascript" src="../<?php echo DIR_WS_EDITORS ?>ckeditor/ckeditor.js"></script>

.
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 Sep 2016, 2:23 AM
#4
win8win avatar

win8win

Zen Follower

Join Date:
Apr 2012
Location:
beijing
Posts:
258
Plugin Contributions:
1

Re: suddenly ckeditor became not working

it works perfectly!
thanks so much ,I love zencart forum!

focus on the open source for online shoping website.
my site: best shop 24h.com