I've got this really annoying problem getting the image handling in WYSIWYG-editor FCK to work properly on my fresh PHPWCMS 1.2.5 installation.
1. I've set $Config['UserFilesPath'] = '/picture/upload/' in FCKeditor2/editor/filemanager/upload/php/config.php
2. I've set $Config['UserFilesPath'] = '/picture/upload/' in FCKeditor2/editor/filemanager/browser/default/connectors/php/config.php
- When I upload pic.jpg, it uploads to /picture/upload/pic.jpg
- When I browse for images via FCK, it shows nothing - but it creates the folder /picture/upload/Image
- I cannot create new folders for images.
- If I manually move pic.jpg to /picture/upload/Image/pic.jpg it shows in the FCK image browser
- If I select pic.jpg, the path gets selected. In the editor though, there is just a placeholder, and the image does not show in the article.
The problem is very much as shown in the images here
I have tried to change the config paths above to /picture/upload/Images/ in varying combinations, but nothing works.
(My PHPWCMS is directly in the document root.)
Problems FCK and filemanager
I've noticed something:
The /Image folder created by FCK becomes a problem. The righs seems fine (777) but I cannot delete it with my FTP client.
When deleted, through Homesite (!), and I create a new /Image folder manually, everything works fine!
BUT: If i create a new sub-folder through FCK, the same problem applies to that folder.
So, something is rotten with the way FCK creates folders... any ideas, someone?
The /Image folder created by FCK becomes a problem. The righs seems fine (777) but I cannot delete it with my FTP client.
When deleted, through Homesite (!), and I create a new /Image folder manually, everything works fine!
BUT: If i create a new sub-folder through FCK, the same problem applies to that folder.
So, something is rotten with the way FCK creates folders... any ideas, someone?