Hi All,
I need a help. The image uplodaing is okay. So the editor uploads images into the appropriate folder. Then I can store image, text successfully in a mysql table. The query is also okay, so I can see the edited text-image mix on the website. But, after I uploaded the image, I can't see the image with lorem ipsum text in the preview box. And for more I can't see the uploaded image in the editor-textarea, just a broken-shortcut icon.
I've read the "manual" on the following path: fckeditor\editor\filemanager\connectors\php\config.php. I think I set up the variables correctly.
Just one note: previously my folder structure on the server (localhost with WAMP) looked like this (www is my root folder [C:\wamp\www\]:
In this previous case everything worked fine.
But I needed to reorganize my server folder, so the new result is:
Now the uploaded image doesn't appear in the preview box, as I mentioned above.
Anyway the config settings are the follows:
Can someone help me?
Thank you very much in advance!
I need a help. The image uplodaing is okay. So the editor uploads images into the appropriate folder. Then I can store image, text successfully in a mysql table. The query is also okay, so I can see the edited text-image mix on the website. But, after I uploaded the image, I can't see the image with lorem ipsum text in the preview box. And for more I can't see the uploaded image in the editor-textarea, just a broken-shortcut icon.
I've read the "manual" on the following path: fckeditor\editor\filemanager\connectors\php\config.php. I think I set up the variables correctly.
Just one note: previously my folder structure on the server (localhost with WAMP) looked like this (www is my root folder [C:\wamp\www\]:
[-]www [+] site_1 [+] site_2 [+] site_3 [+] userfiles [-] site_4 [+] dir_1 [+] dir_2 [+] fckeditor [+] index.php
In this previous case everything worked fine.
But I needed to reorganize my server folder, so the new result is:
[-]www [+] site_1 [+] site_2 [+] site_3 [-] site_4 [+] dir_1 [+] dir_2 [+] fckeditor [+] userfiles [+] index.php
Now the uploaded image doesn't appear in the preview box, as I mentioned above.
Anyway the config settings are the follows:
$Config['UserFilesPath'] = 'userfiles/image' ; $Config['UserFilesAbsolutePath'] = 'C:\\wamp\\www\\mysite\\userfiles\\image\\' ; $Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] . 'image/' ; $Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'image/' ; $Config['QuickUploadPath']['Image'] = $Config['UserFilesPath'] ; $Config['QuickUploadAbsolutePath']['Image']= $Config['UserFilesAbsolutePath'] ;
Can someone help me?
Thank you very much in advance!
Re: FCKEditor Filebrowser problem
But that path is relative to the location of the page where FCKeditor is being used
If you want to make it work easily, then just set
Re: FCKEditor Filebrowser problem
It works with the following settings:
But I don't know how will it work on the real server...
I assume the UserFilesPath will be good, but I don't know what will be the correct path for UserFilesAbsolutePath?
Re: FCKEditor Filebrowser problem
If you need to configure manually, then you must be the one to know what's the value that you want to use.
for example you can try to run this in that folder: