Hi guys,
I've spent long hours trying to solve my problem.
I'm working in my local machine, under Wampserver 2.0i
CKEditor 3.4 (rev 5825)
CKFinder 2.0.1 for php
The website I'm working on is located in E:/Docs/web/Test/web/[all_my_content]
I'm using CKEditor, working fine
CKFinder's window opens properly when clicking on [Explore the server] button
When clicking on that button, CKFinder creates a new folder in my hard drive:
E:/Docs/web/Tes using the 3 first character of my site name.
This Tes folder has the subfolders that contain the uploaded images:
E:/Docs/web/Tes/userfiles/images
CKEditor directory: E:/Docs/web/Test/web/ckeditor
CKFinder directory: E:/Docs/web/Test/web/ckfinder
My page calling CKEditor/CKFinder is
E:/Docs/web/Test/web/admin/index.php
CKFinder/config,php
I've done all I can from a fresh install, changing only the ckfinder/config.php file.
I need your help.
Thank you,
Antonio
I've spent long hours trying to solve my problem.
I'm working in my local machine, under Wampserver 2.0i
CKEditor 3.4 (rev 5825)
CKFinder 2.0.1 for php
The website I'm working on is located in E:/Docs/web/Test/web/[all_my_content]
I'm using CKEditor, working fine
CKFinder's window opens properly when clicking on [Explore the server] button
When clicking on that button, CKFinder creates a new folder in my hard drive:
E:/Docs/web/Tes using the 3 first character of my site name.
This Tes folder has the subfolders that contain the uploaded images:
E:/Docs/web/Tes/userfiles/images
CKEditor directory: E:/Docs/web/Test/web/ckeditor
CKFinder directory: E:/Docs/web/Test/web/ckfinder
My page calling CKEditor/CKFinder is
E:/Docs/web/Test/web/admin/index.php
<head> <script type="text/javascript" src="/test/ckeditor/ckeditor.js"></script> </head> <body> ... <textarea name='valeur' id="valeur" rows='10' wrap='VIRTUAL' class='champGrand'>My value</textarea> <script type="text/javascript"> CKEDITOR.replace( 'valeur', { filebrowserBrowseUrl : '/test/ckfinder/ckfinder.html', filebrowserImageBrowseUrl : '/test/ckfinder/ckfinder.html?Type=Images', filebrowserFlashBrowseUrl : '/test/ckfinder/ckfinder.html?Type=Flash', filebrowserUploadUrl : '/test/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files', filebrowserImageUploadUrl : '/test/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images', filebrowserFlashUploadUrl : '/test/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash' }); </script> ... </body>
CKFinder/config,php
$baseUrl = '/userfiles/'; $baseDir = resolveUrl($baseUrl);
I've done all I can from a fresh install, changing only the ckfinder/config.php file.
I need your help.
Thank you,
Antonio
Re: CKFinder creates 3-chars long folders / wrong path
Re: CKFinder creates 3-chars long folders / wrong path
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: CKFinder creates 3-chars long folders / wrong path
Thanks for your answer.
Re: CKFinder creates 3-chars long folders / wrong path
There is always a slight chance that the resolveUrl function will not work in PHP due to a non-standard server configuration, always in such case it's better to specify the correct path manually instead.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+