Hi there,

Since I the last security update (a few days ago) I can not upload images anymore.

Look at the pic to see what I get.

What did I do wrong?

CommentFileSizeAuthor
#24 pic59.04 KBmanoloka
#7 pic134.68 KBmanoloka
#7 pic2124.55 KBmanoloka
Captura.PNG18.59 KBmanoloka

Comments

dczepierga’s picture

Status: Active » Postponed (maintainer needs more info)

Could u try to update to last DEV version and check does it work for u?

Greetings

manoloka’s picture

Hi there,

Nope, still the same :(

Anything else I could try?

Thanks

manoloka’s picture

I looked at it and at the patch suggested, that patch is already been committed into the dev version and I still have the same problem.

That doesn't fix my issue.

mkesicki’s picture

@manoloka
did you run update.php (drupal script) after update CKEditor module ?
Did you clear drupal's and browser cache after latest update ?
Do you see any errors in Firebug or similar tool ?

mkalkbrenner’s picture

Latest dev worked for me. But you have to clear the caches!

manoloka’s picture

StatusFileSize
new124.55 KB
new34.68 KB

Hi again,

Yes, I did run update.php without any update available for ckeditor.

Yes, I did cleared all caches.

I think is a problem related to ckfinder and the path where it stores the images.

If I click on the "go to the server" (pic 1) button on the ckfinder window it takes me to a "Not found" page (pic 2)

Thanks

dczepierga’s picture

@manoloka, where u have CKFinder library? in libraries directory or ckeditor module directory?
Remember that when u update ckeditor module everything from this directory is deleted, so if u have CKfinder in ckeditor module directory it was deleted by Drupal and u must reupload it again there (it's better to have CKEditor & CKFinder library in sites/all/libraries/ directory)

Greetings

dczepierga’s picture

@manoloka, pls try last DEV again - it could be related with this bug: #1507362: [D6] Path to CKFinder can be badly constructed.

Greetings

manoloka’s picture

Hi dczepierga, thanks for your help.

My ckfinder is within the ckeditor directory.

When I try to put ckfinder in the libraries directory I drupal won't find it giving me this error "CKFinder is not installed correctly: sites/all/modules/ckeditor/ckfinder/config.php not found." (I did change the ckfinder configuration.php as per the README file)

I've upgraded to the latest ckfinder 2.2 (as I was using 2.1) but still the same.

???

mkesicki’s picture

@manoloka
did you use latest DEV of CKEditor module ?
Please try it, there is a fix to CKFinder path.
Please check it and give us an information if it helps or not.

emily4247’s picture

I'm having problems as well. But I just noticed that the ckeditor I uploaded was missing the "ckfinder" folder, it contains html files and that's why I was getting the page not found.

manoloka’s picture

Hi again,

Yes I tried the latest dev installation but got the same error. (sorry I forgot to mention it yesterday)

manoloka’s picture

In my initial post, I said it was since the latest update.

However I realize now that I may have not used this feature (uploading pics) since longer (around end of December 2011) ... therefore I think that the problem may not necessarily be related to the latest update.

I've found this post/tutorial #888950: Configuring ckeditor, WYSIWYG, IMCE modules and CKEditor & CKFinder libraries - a tutorial, I'm going to try to make it work with both modules from libraries and see if that fixes my problem.

I'll let you know

wwalc’s picture

@manoloka - posting screenshots that contain the URL to the live website may be sometimes a bad idea ;)
Anyway, checking the URL there showed that there is some problem with your website in general.

CKFinder is installed here:
sites/all/modules/ckeditor/ckfinder/ckfinder.html
the Init command is launched correcntly by CKFinder:
sites/all/modules/ckeditor/ckfinder/core/connector/php/connector.php?command=Init

but then suddenly... the URL is redirected (302 Moved Temporarily) to:
sites/all/modules/ckeditor/ckfinder/core/connector/php/install.php

It means that something (perhaps a rule in .htaccess) redirects certain requests to install.php file.

The same redirect may break quick uploads in the Upload tab.

manoloka’s picture

@wwalc Thanks for the tip I won't post any more pics with full url, I tried to delete it to change it for one with a blurred url but cannot delete it any more.

Anyway.

I have the original drupal httaccess. without any modifications, the only thing I have used there is to redirect mysite.co.uk to www.mysite.co.uk, everything else is as it is out of the box with no additions.

mmm ... where else can this redirect may be?

mkesicki’s picture

@manoloka try to remove you redirect (from url without www. prefix to this one with www. prefix) and check if this helps or not.

jibran’s picture

Version: 6.x-1.10 » 6.x-1.x-dev

I have updated ckeditor with latest dev version and still unable to upload and browse the server.
Browse window URL is
http://example.com/sites/all/modules/ckeditor/ckfinder/ckfinder.html?Type=Images&CKEditor=edit-body&CKEditorFuncNum=2&langCode=en

System Error
It was not possible to properly load the XML response from the web server.
Raw response from the server: 

Firebug error
NetworkError: 404 Not Found - http://example.com/sites/all/modules/ckeditor/ckfinder/core/connector/php/connector.php?command=Init&type=Images"
I am using Drupal 6.25
settings.php values

$base_url = 'http://example.com';  // NO trailing slash!
$cookie_domain = '.example.com';

allow CKFinder file uploads Permissions is also set true for authenticated users

mkesicki’s picture

@jibran
http://example.com/sites/all/modules/ckeditor/ckfinder/core/connector/php/connector.php
please check if this file exists on you server?

jibran’s picture

yes it is there.

mkesicki’s picture

@jibran can you send me an e-mail with url to domain which you have problems ?

manoloka’s picture

@michal_cksource

I tried what you suggest but there's no difference, same error.

mkesicki’s picture

@manoloka please check in Firebug or similar tool response of
http://example.com/sites/all/modules/ckeditor/ckfinder/core/connector/php/connector.php?command=Init. It is probably not valid XML CKFinder's response but some page is (404 page) loading there.

manoloka’s picture

StatusFileSize
new59.04 KB

@michal_cksource I'm not sure how to do that, see pic if that's what you need

If I go to
http://example.com/sites/all/modules/ckeditor/ckfinder/core/connector/php/connector.php?command=Init.
ir redirects me to
http://example.com/sites/all/modules/ckeditor/ckfinder/core/connector/php/install.php

mkesicki’s picture

@manoloka it looks like problem with your drupal installation or other drupal's module.

manoloka’s picture

:( ... mmm ... the weird think is that it worked before

I've reinstalled it all again and get the same problem ¿? this is driving me nuts

jebernier’s picture

I having the same issue.

When I used the URL above it redirected my to my Drupal install screen?

Any ideas?

Thx,

John

jamix’s picture

In my case, the error was caused by sites/all/modules/ckeditor/ckfinder/core/connector/php/connector.php redirecting to a node page. It turned out that the Front module had a "redirect" setting that redirected all users of the admin role to this page. Disabling this in the Front module's setting fixed the issue.

mkesicki’s picture

@jamix,
thank you for noticing this.

frank ralf’s picture

Version: 6.x-1.x-dev » 7.x-1.12

I get the same issue with the current 7.x-1.12 version of CKEditor and wrongly thought it was Media Browser's fault so I reported the issue there: #1885132: Media Browser seems to hijack image upload with CKFinder

I will try the recommendations from this issue and report back.

Media Browser hijacking CKFinder file upload.png

EDIT:
Some more obverservations:

  1. CKFinder isn't included in CKEditor module anymore but seems to be a paid plugin: http://cksource.com/ckfinder
  2. Even if not installed CKFinder appears in the selection drop down what led me astray in the first place.
  3. My browser's pop-up settings might also have played a role not getting this to work.
mkesicki’s picture

@Frank Ralf,
to clarify CKFinder is not paid plugin. This is standalone not Open Source (so it is not free) application. It is Developed by CKSource company which is creator of Open Source CKEditor.
About problem with Media Browser and CKEditor conflict we try to check this as soon as possible.