Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Feb 2011 at 00:50 UTC
Updated:
12 Sep 2012 at 15:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
dczepierga commentedTry to update to the last DEV version of CKEditor module and then write that u still have this problem.
Greetings
Comment #2
mcannon commentedHi,
I just updated to the latest DEV version and the issue still persist. I can save GLOBAL settings but get the error when I try to save any individual PROFILE settings.
Comment #3
dczepierga commentedDo u install CKEditor on the fresh install of Drupal or migrate from version D6?
Comment #4
mcannon commentedI'm working locally with a fresh D7 install just to experiment with Drupal 7.
I'm running the local version on WampServer 2.1
I originally was using WampServer 2.0 as the environment. I can't remember if I was able to save the CKEditor profiles on 2.0 or not. I may switch back to 2.0 just to check. If the difference of 2.0 and 2.1 is the issue, I'll report it back here because it might be good to figure out that issue eventually.
Comment #5
stevec5375 commentedI am having this same issue. I have WAMPServer 2.1 and a clean Drupal 7 install on my Windows 7 localhost.
Just updated to the latest dev version and get the same error.
Comment #6
mcannon commentedI just uninstalled WampServer 2.1 and reinstalled WampServer 2.0. The result is now I can save CKEditor profiles locally again.
I cannot explain the difference between 2.1 and 2.0 besides that I can't save CKeditor settings with 2.1. So I'm not sure if this is a CKeditor issue of it not being compatible with newer versions of Apache, PHP, or MySQL? Or if the issue resides with WampServer 2.1 missing something. Because the rest of the Drupal 7 site was running just fine on WampServer 2.1 I'm inclined to think the issue lies with CKeditor.
Comment #7
Dave Meyer commentedI'm having the same issue, wampserver 2.1 and all.
Apache 2.2.17
PHP 5.3.4
ckeditor module 7.x-1.1
ckeditor 3.5.2
A clean install of D7, no other modules enabled.
A screencast of the problem: http://www.screencast.com/t/LHYLQCzR
Comment #8
mkesicki commentedHi,
@Dave Meyer do you have this issue (connection reset) when you use some standard input filter (default in drupal7) ?
@Dave Meyer, @zarclin, @stevec5375 do you have any errors or warnings (php, js , others). Maybe you can set php error reporting to E_ALL , check apache logs , any information can be helpful. Thanks.
EDIT:
I have tested this issue on
wampserver 2.1
Apache 2.2.17
PHP 5.3.5
ckeditor module 7.x-1.1
ckeditor 3.5.2
on windows XP and can't reproduce this issue.
Comment #9
dczepierga commentedHi,
I also test it with:
WampServer 2.1
Apache 2.2.17
PHP 5.3.4 and PHP 5.3.5
ckeditor module 7.x-DEV
ckeditor 3.5.2
Windows 7
And i can't reproduce that... Pls look to Apache logs, maybe there u can find something - then pls copy it here... or u can PM me and send full log with error log and i will analyse it, maybe this help how to reproduce your bugs...
EDIT:
Do u have mod rewrite module enabled in Apache?
Comment #10
Dave Meyer commentedI can't change the input filter, as that's one of the changes that can't be saved due to connection time out. So yes, I get the same problem with a standard input filter.
This problem hasn't reared its head when not on localhost, by the way.
Here is the output of the Apache error log:
[Fri Apr 01 17:46:03 2011] [notice] Parent: child process exited with status 255 -- Restarting.
[Fri Apr 01 17:46:03 2011] [notice] Apache/2.2.17 (Win32) PHP/5.3.4 configured -- resuming normal operations
[Fri Apr 01 17:46:03 2011] [notice] Server built: Oct 24 2010 13:33:15
[Fri Apr 01 17:46:03 2011] [notice] Parent: Created child process 3268
[Fri Apr 01 17:46:03 2011] [notice] Child 3268: Child process is running
[Fri Apr 01 17:46:03 2011] [notice] Child 3268: Acquired the start mutex.
[Fri Apr 01 17:46:03 2011] [notice] Child 3268: Starting 64 worker threads.
[Fri Apr 01 17:46:03 2011] [notice] Child 3268: Starting thread to listen on port 80.
There aren't any reported PHP errors.
Comment #11
dczepierga commentedOk i find where is problem, it's bug with new PCRE module in PHP 5.3.x
I try to fix it but it's not so easy, probably in PHP 5.3.x PCRE is not enabled to utf8 mode...
In PHP 5.2.x everything works good...
Comment #12
johankleene commentedAny news on this? I am having the exact same issue (same configuration)
Comment #13
dczepierga commentedHi,
Is still problem with it and nothing change..
It works with PHP 5.2.x and probably it would be work good with PHP 5.3.6 - they change PCRE library, but i don't test it yet...
Below i add little temporary fix for that - after this toolbar validation in Profile is disabled.
Greetings
Comment #14
johankleene commentedThanks, that fixed it.
Comment #15
dczepierga commentedComment #16
robboten commentedThanks so much for this! It's been driving me crazy for 2 days this...
Comment #17
glindahl commentedI am also able to confirm that I added this patch provided to fix my problem to save the profile page where I was trying to change for the ckeditor settings. I was searching for several hours to find a fix.
I was able to find this discussion after many attempts of searching for this problem by using these words on Google....
drupal ckeditor profile save error
Anyway, I can save the configuration for the ckeditor and now edit with the ckfinder to browse for images with the full editor.
Thanks.
Comment #18
tran_tien commentedHello
I'm having same problem. I can see #13 contain patch file fox fix ít, but i don't know how to use it (i'm Windows user). Please help.
Comment #19
RoyE commentedHi,
open the file "sites/all/modules/ckeditor/includes/ckeditor.admin.inc"
back it up and then edit.
find the lines
if (!preg_match('#^\s*\[(?:\s*(?:\[(?:\s*([\'\"\"])(?:\w+|-)\1\s*[,]?\s*)+\]|([\'\"\"])\/\2)\s*[,]?\s*)+\]\s*$#', $edit['toolbar'])) {
form_set_error('toolbar', t('Enter valid toolbar configuration.'));
}
and replace them with
//if (!preg_match('#^\s*\[(?:\s*(?:\[(?:\s*([\'\"\"])(?:\w+|-)\1\s*[,]?\s*)+\]|([\'\"\"])\/\2)\s*[,]?\s*)+\]\s*$#', $edit['toolbar'])) {
// form_set_error('toolbar', t('Enter valid toolbar configuration.'));
//}
Comment #20
mkesicki commentedComment #21
mchristian commentedHi Guys,
New comer knows nothing but super curious, I'm learning Drupal recently by installing on localhost and stucked with this problem for couple of days.
Glad I stumbled on this thread and follow the instruction (I don't know how to apply the patch) but I applied RoyE (#20) way..and it works.
Wampserver 2.2
PHP 5.3.8
CKEditor 3.6.2
Tons of Thanks
Comment #22
ribo commentedHello everyone, i am facing the same problem in my local development
Os: win7 x64
wamp server: 2.2
Apache: 2.2.21
PHP: 5.3.8
mysql: 5.5.16
drupal: 6-22
ckeditor: 6.x-1.8
i am getting a connection reset message when trying to save profile at ckeditor.
What is pcre library?
Comment #23
RoyE commentedi've used #13 and it works beautifully.
why isn't it integrated into a new version??
Comment #24
jumay commentedThank you
Comment #25
mkesicki commentedComment #26
dczepierga commentedI make a little patch with change of toolbar syntax validation.
Previous patch only disable toolbar syntax validation - nothing else.
Pls check does it work for u or not.
Greetings
Comment #27
mkesicki commentedComment #28
dczepierga commentedChanges commited to GIT (diff)
Greetings
Comment #30
jshimota01 commentedThis fixed me too. hard to believe this hasn't been resolved - I guess with fckeditor now trying to sell themselves as a product they forgot their roots.
Comment #31
timmay commentedThank you! The diff patch worked for me.