<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>22 Jun 2016 13:26:00 Z</lastBuildDate><pubDate>22 Jun 2016 13:26:00 Z</pubDate><description>Hi&#13;
&#13;
I am struggling to upload an image from my web page to the Win2012 server running IIS.&#13;
&#13;
I have installed PHP on that server and the PHP seems to be working.&#13;
&#13;
In my Config.php file I have this:&#13;
&#13;
$config['BaseUrl'] = 'http://plumaccounting.biz/ckeditor/plugins/jsplus_uploader/userfiles/';&#13;
$config['BaseDir'] = "/ckeditor/plugins/jsplus_uploader/userfiles/";&#13;
if (substr($config['BaseUrl'], -1) !== '/')&#13;
$config['BaseUrl'] .= '/';&#13;
if (substr($config['BaseDir'], -1) !== '/' &amp;&amp; substr($config['BaseDir'], -1) !== '\\')&#13;
$config['BaseDir'] .= '/';&#13;
&#13;
&#13;
However when I try and upload an image I get this error: "Error while uploading. Check folder permissions."&#13;
&#13;
The folder permissions I think is fine. I can copy and paste images into the folder.&#13;
&#13;
My PHP error log gives this:&#13;
&#13;
[22-Jun-2016 14:10:18 Europe/Minsk] PHP Warning: is_file(): open_basedir restriction in effect. File(/ckeditor/plugins/jsplus_uploader/userfiles/logomobile.png) is not within the allowed path(s): (http://php.net/open-basedir) in D:\WebDev\Sites\PlumAccounting\PLUMACCOUNTING_WEB\ckeditor\plugins\jsplus_uploader\uploader.php on line 106&#13;
[22-Jun-2016 14:10:18 Europe/Minsk] PHP Warning: move_uploaded_file(): open_basedir restriction in effect. File(/ckeditor/plugins/jsplus_uploader/userfiles/logomobile.png) is not within the allowed path(s): (http://php.net/open-basedir) in D:\WebDev\Sites\PlumAccounting\PLUMACCOUNTING_WEB\ckeditor\plugins\jsplus_uploader\uploader.php on line 115&#13;
&#13;
I think the error has to do with the path and the / vs \.&#13;
&#13;
Maybe because it's PHP it's looking for / but because it's running on windows it's getting \.&#13;
&#13;
I have not changed anything in Webdev with regards to the upload path.&#13;
&#13;
Any assistance appreciated.&#13;
&#13;
&#13;
&#13;
&#13;
Ericus Steyn</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58258-wb19-ckeditor-and-iis-server/read.awp</link><title>[WB19]CKEditor and IIS on server</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
