Problem with loading of files in FCKeditor (configuration)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mariusz_s
Forum Newbie
Posts: 4
Joined: Thu Sep 28, 2006 9:28 am

Problem with loading of files in FCKeditor (configuration)

Post by mariusz_s »

I Use FCKeditor in one's sides. I be able to to configure loading of graphic files. It depends me on starting of this option very.
Can someone from you on straight show properly as this it was been possible to make ? I ask structure of catalogues of side about straight portraying example. I ask you additionally about description of configuration in suitable files. FCKeditor calls out from level PHP.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Have you tried translating the documentation for the editor? Your question did not translate good.
mariusz_s
Forum Newbie
Posts: 4
Joined: Thu Sep 28, 2006 9:28 am

Post by mariusz_s »

astions wrote:Have you tried translating the documentation for the editor? Your question did not translate good.
I understand. From documentation I gained over informations, which permitted to start me editor as well as to configure him. Php calls out him without problem from level, set of buttons configures, I change styles. I look for straight example which will permit me to start loading of files. I be able to to make this on basis of record of project unfortunately. I am inexperienced user. I configured FCKeditor on basis of documentation. He did not act unfortunately correctly. It can I will describe one's configuration and this will permit onto indication of mistakes ? ( I know English language Faintly) :(
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

The translation is bad. Maybe you can post your code file and say what you want it to do. Or maybe you can post the code and the error? Or maybe you can post a link to a picture of the problem. Like a .jpg.
mariusz_s
Forum Newbie
Posts: 4
Joined: Thu Sep 28, 2006 9:28 am

Post by mariusz_s »

Arrangement of files and directorys of my site is following:

http://www.mysite.com/index.php

http://www.mysite.com/FCKeditor/

http://www.mysite.com/files/

In file index.php I start editor:

Code: Select all

$oFCKeditor = new FCKeditor('news') ;
$oFCKeditor->BasePath = 'FCKeditor/';
//$oFCKeditor->ToolbarSet = 'Basic';
$oFCKeditor->Value = 'Write news';
$oFCKeditor->Width = 585;
$oFCKeditor->Height = 400;
$oFCKeditor->Create() ;
I configured editor in files: /FCKeditor/editor/filemanager/browser/default/connectors/php/config.php and /FCKeditor/editor/filemanager/upload/php/config.php

Code: Select all

$Config['Enabled'] = true ;

Code: Select all

$Config['UserFilesPath'] = '/files/' ;
In file /FCKeditor_/fckconfig.js I set:

Code: Select all

var _FileBrowserLanguage        = 'php' ;
var _QuickUploadLanguage        = 'php' ;
I Set the permission of the upload directory:

Code: Select all

chmod -R 0777 files
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Ok. Then what is the error you receive.
mariusz_s
Forum Newbie
Posts: 4
Joined: Thu Sep 28, 2006 9:28 am

Post by mariusz_s »

It does not receive announcements about errors. Following announcement appears me:

http://www.drunkdog.org/~wania/problem1.jpg

When loading of file will accept to editor I do not have him of preview

http://www.drunkdog.org/~wania/problem2.jpg

When I start proprieties of this graphic, it receives informations:

http://www.drunkdog.org/~wania/problem3.jpg
Post Reply