Hi there,

I had CKEditor working fine, it was uploading pictures without any problem.

The site was created in a "new/" once I moved the site to de root folder, it sttoped allowing me upload pictures.

Now, when I hit the "Send to Server" button it won't show me the pic but a 404 Page Not found.

I changed the file system path to from: sites/default/files to: new/sites/default/files so I didn't have to move all the uploaded files (I guess this has something to do with the problem).

Now when I hit the "Browse Server" button in the ckfinder window I don't see anything in the folders window

at some point I got this error too;

URL requested: "http://www.mysite.com/sites/all/modules/ckeditor/ckfinder/core/connector..." ServServer response: Status: 404

Any ideas how can I sort this ?

Thanks
Manuel

Comments

mattsplatw’s picture

Issue tags: +ckfinder

I have the exact same problem. Did you find a solution?

mkesicki’s picture

Hi, is this problem still exists in latest version (6.x-1.3 or DEV) ? Please check latest version and reinstall CKFinder as described in readme.txt file of CKEditor module.

dczepierga’s picture

Status: Active » Postponed (maintainer needs more info)
dczepierga’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

We don't get any addiotional information about this problem and no one else confirm this bug so i closed it.

Greetings

flickerfly’s picture

Version: 6.x-1.2 » 7.x-1.9
Status: Closed (cannot reproduce) » Active

I'm having this same problem on the latest 7.x-1.9. I'm researching the potential of a mod_security issue, but I haven't found much evidence. I also have a similar problem when I click "Browse Server".

Here is that error:

Page not found
The requested page "/sites/all/modules/ckeditor/ckfinder/ckfinder.html?Type=Images&id=Advanced&CKEditor=edit-body-und-0-value&CKEditorFuncNum=137&langCode=en" could not be found.

This is the error I get with this version in D7 when I try to upload:

The requested page "/sites/all/modules/ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images&id=Advanced&CKEditor=edit-body-und-0-value&CKEditorFuncNum=137&langCode=en" could not be found.

In order to see this error, I have to use firebug to change the size of the iframe it is in and it comes as a full drupal page inside that little box. It looks like it is just a black box because the admin bar across the top only shows black in that small space.

flickerfly’s picture

Status: Active » Closed (works as designed)

Looks like my problem is that I could enable it without installing it. It simply wasn't there and this confused me.

julianmancera’s picture

Did someone find a solutions for this issue?

Louis Bob’s picture

I have the exact same problem.
Could you solve your issue ?

ronliskey’s picture

Version: 7.x-1.9 » 6.x-1.11

Same issue using CKEditor - WYSIWYG HTML editor 6.x-1.11
Type : page not found
Location: http://site.org/sites/all/modules/ckeditor/ckfinder/core/connector/php/c...
Referrer: http://site.org/admin/build/block/configure/block/7
Messag:e sites/all/modules/ckeditor/ckfinder/core/connector/php/connector.php
Severity: warning

ataxia’s picture

Version: 6.x-1.11 » 7.x-1.11

I have installed CKEditor and CKFinder on many sites, and have always found installation to be difficult and troublesome.

Normally, I follow the instructions here: http://drupal.org/node/728210

Today, I saw this page: http://drupal.org/node/888950

...and because I thought putting the downloaded ckfinder and ckeditor directories under /sites/all/libraries/ made more sense than putting them in the /sites/all/modules/ckeditor directory, I gave it a shot.

After following all directions on that page, I was able to upload images, but they were not visible. I think this is due to a combination of multiple config files.

On the File System config page: /admin/config/media/file-system, my Private System path is: sites/default/files/private

On the Edit the CKEditor Global profile page: /admin/config/content/ckeditor/editg, "Location of files uploaded with CKEditor to the private folder" is set to: %u

Immediately below that, it shows: System path to the private folder is: /var/www/mysite/sites/default/files/private/.

I thought that this would put the uploaded images into: /var/www/mysite/sites/default/files/private/UID (separate folder for each user's UID)

However, this is what happened:

The files were uploaded into this directory: /var/www/mysite/sites/all/libraries/ckfinder/core/connector/php/sites/default/files/private/1/images/photoname.jpg

And I'm getting a broken image because the url on the page for the image I uploaded is:
http://mysite.com/system/files/1/images/photoname.jpg

In sites/default/settings.php, I had the $cookie_domain set to: 'mysite.com';

I did not have $base_url set. I tried setting it: $base_url = 'http://mysite.com'; (but it didn't help.)

To determine where the actual image upload path was coming from, I did a grep and found this path hardcoded in /sites/all/libraries/ckfinder/core/ckfinder_php5.php:

ckfinder/core/ckfinder_php5.php: $editorObj->Config['LinkUploadURL'] = $dir . urlencode( 'core/connector/php/connector.php?command=QuickUpload&type=Files' ) ;
ckfinder/core/ckfinder_php5.php: $editorObj->Config['ImageUploadURL'] = $dir . urlencode( 'core/connector/php/connector.php?command=QuickUpload&type=') . ( empty( $imageType ) ? 'Images' : $imageType ) ;
ckfinder/core/ckfinder_php5.php: $editorObj->Config['FlashUploadURL'] = $dir . urlencode( 'core/connector/php/connector.php?command=QuickUpload&type=') . ( empty( $flashType ) ? 'Flash' : $flashType ) ;
ckfinder/core/ckfinder_php5.php: $editorObj->config['filebrowserUploadUrl'] = $dir . 'core/connector/php/connector.php?command=QuickUpload&type=Files' ;
ckfinder/core/ckfinder_php5.php: $editorObj->config['filebrowserImageUploadUrl'] = $dir . 'core/connector/php/connector.php?command=QuickUpload&type=' . ( empty( $imageType ) ? 'Images' : $imageType ) ;
ckfinder/core/ckfinder_php5.php: $editorObj->config['filebrowserFlashUploadUrl'] = $dir . 'core/connector/php/connector.php?command=QuickUpload&type=' . ( empty( $flashType ) ? 'Flash' : $flashType ) ;

At this point I'm trying to decide whether I should just give up on this entirely and go back to the typical installation (putting downloaded ckeditor and ckfinder directories under /sites/all/modules/ckeditor) or try to get it all working without hacking that ckfinder_php5.php file. At least I figured out where the path was coming from. Sort of.