FCKEditor and Browse Server feature

Creating and modifying plugins.
Post Reply
Andyman77
Regular
Posts: 92
Joined: Mon Oct 17, 2005 2:50 pm
Location: London
Contact:

FCKEditor and Browse Server feature

Post by Andyman77 »

Hiya,

I have installed both tinyMCE and FCKeditor, with both of the them I get the same problem.
With TinyMCE, the imanager plugin I cannot get it to see my uploads folder as with FCKeditor server browser window, also can't see the upload folder.

I have edited the correct files with adding the correct relative folders.

The full path to my Serendipity folder is:

/mounted-storage/home7/sub001/sc13854-AEQJ/www/se/

The relative folder for the fckeditor:
plugins/serendipity_event_fckeditor/fckeditor/

My uploads folder is:

/se/uploads

code snippet: /editor/filemanager/upload/php/config.php

Code: Select all

global $Config ;

// SECURITY: You must explicitelly enable this "uploader". 
$Config['Enabled'] = true ;

// Path to uploaded files relative to the document root.
$Config['UserFilesPath'] = "/uploads/" ;
Code Snippet of editor/filemanager/browser/default/connectors/php/config.php

Code: Select all

global $Config ;

// SECURITY: You must explicitelly enable this "connector". (Set it to "true").
$Config['Enabled'] = true ;

// Path to user files relative to the document root.
$Config['UserFilesPath'] = "/uploads/" ;
I have tried everything, well I have exhausted all my ideas... I'm really stuck with this one.

Note: I have removed TinyMCE ... But as mentioned I had the very same problem.
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

i just installed imanager in tinymce and it works fine. in the readme of imanager it says

Code: Select all

copy the provided interface file: tinyMCE.editor_plugin.js file into your iManager plugin directory and rename it to "editor_plugin.js". Make a copy of it and rename it to editor_plugin_src.js.
in imanager there is a config.inc.php file as well you have to add your paths to it as well. the paths can be static or dynamic.
I recommend using the dynamic way. first uncomment the following line

Code: Select all

$cfg['ilibs_inc']      = realpath(dirname(__FILE__) . '/../scripts/rdirs.php'); 
and then add your path to this line

Code: Select all

$cfg['ilibs_dir'] 	   = array('/tlb/uploads/');
dynamic way will allow it to scan subdirectories as well


Is your domain like this
http://yourdomain.com/se/
or http://yourdomain.com and it points to inside the se folder.

plus fckeditor actually creatse a folder called image inside ur uploads folder. and shows only the image folders content, not the content of the uploads folder. the reason is that fckeditor will create, images, file, flash folders inside ur uploads folder so everything is seperate.

I think since ur not seeing the files inside ur uploads folder ur getting confused that it isn't working

also did i copy the included file fckconfig.js that comes with the plugin and overwrite the one that comes with fckeditor.
Image
Andyman77
Regular
Posts: 92
Joined: Mon Oct 17, 2005 2:50 pm
Location: London
Contact:

Post by Andyman77 »

Hiya,

Yep that's what I found out. I have now decided to stay with FCKeditor. Very happy with that one.
Serendipity - Site, finished ;)
Mine that is ... so lots of nonsensical Stuff
jschulenburg
Regular
Posts: 31
Joined: Fri Feb 11, 2011 3:08 pm

Re: FCKEditor and Browse Server feature

Post by jschulenburg »

I also have the same issue. I've downloaded the latest FCKeditir 2.6.6, and there's no upload directory in the editor directory mentioned. My situation:
- http://sitename/
- redirects to my own server (NAS, Synology) //nas/sitename/

The editor works fine, but the filemanager doesn't. There's an upload directory in //nas/sitename/ and when i use the s9y media manager i can upload i file or create a directory. When i try to upload a file (3rd tab) with the 2.6.6 filemanager it uploads the file, but when i try to browse the server it fails.

Added: when browsing with the filemanager i don't see any images at all, but they're on the NAS?

Any suggestion or help?[
Attachments
12-2-2011 21-45-23.jpg
12-2-2011 21-45-23.jpg (10.67 KiB) Viewed 3778 times
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: FCKEditor and Browse Server feature

Post by garvinhicking »

Hi!

Sadly I'm not so familiar with external file managers. When you use FTP/SSH, do you see the file uplaoded with the FCK filemanager? Which permissions does it have?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply