0

I'm trying to upload images. but the folder is creating in wwwroot place. i want to upload the image in 'uploads' folders. By the way here is IIS V5.1.!

                             ckeditor
wwwroot-->ckeditor_ckfinder-->
                             ckfinder
                             uploads
                             index.php   

liza5757
  • 11
  • 10

2 Answers2

1

Change baseDir / baseUrl settings in the server side configuration file to point to the uploads folder.

Wiktor Walc
  • 5,280
  • 3
  • 25
  • 31
  • I used it . `$baseUrl = "C:/Inetpub/wwwroot/ckeditor_ckfinder/ckfinder/userfiles/";` But it shows an error message. **Folder not found. Please refresh and try again.** By the way my PHP version is 5.2.1. here my server is IIS 5.1. If I write `/upload/` in `$baseUrl` it shows me same error message. And If I write `upload/` then it make a folder out of wwwroot. I didn't change in `$baseDir`. – liza5757 Jun 30 '15 at 10:04
  • The `$baseUrl` you provided is perfect... but for `$baseDir` (which should contain the absolute path on the server). So set the same value, but for `$baseDir`. `$baseUrl` should be set to something around `/ckeditor_ckfinder/ckfinder/userfiles/` if I correctly understood your setup. – Wiktor Walc Jun 30 '15 at 21:17
  • It makes the folder in C drive. But I need it into `userfiles` folder. Is here any change at JS? `filebrowserImageUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images&currentFolder=/upload/'`. And thank you so much for reply. – liza5757 Jul 01 '15 at 03:32
  • Send your configuration file that you believe is valid to the email shown here: http://cksource.com/contact Explain as good as you can where exactly files should be stored on the server and what URL to these files should be. – Wiktor Walc Jul 01 '15 at 06:35
  • I sent it. Please check it. – liza5757 Jul 01 '15 at 07:12
  • Submitted ID is 13285. Please check this mail as far as possible. – liza5757 Jul 02 '15 at 03:37
0

I got the solution. You must give uploads file permission perfectly !

liza5757
  • 11
  • 10