Hello,
I have a bad problem and I can't find the answer in any post here... maybe I am doing something wrong.
This is the config.php to wath into the server:
$Config['Enabled'] = true;
$Config['UserFilesPath'] = '/admin/userfiles/';
$Config['UserFilesAbsolutePath'] = '/public_html/admin/userfiles/' ;
The site is "http://xxxx.xxxx.com/~aaaaaa/admin/" and it is temporal because I buy the domain soon.
I tried to create the folder /userfiles/ with the other folders (image, flash, media, file) but the problem don't die.
Please, need some help as soon as possible. THKs
Fri, 05/09/2008 - 01:05
#1
Re: Error creating folder - Can't create directory
Re: Error creating folder - Can't create directory
Re: Error creating folder - Can't create directory
It seems that $Config['UserFilesAbsolutePath'] is wrong.
$Config['UserFilesAbsolutePath'] should be set to the absolute server path, it is probably something like '/home/login/public_html/admin/userfiles/' for example.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Error creating folder - Can't create directory
That is the solution
Thanks...
Re: Error creating folder - Can't create directory
Thank you so much
Mohammad
Re: Error creating folder - Can't create directory
I have the same problem, on windows hosting (my own server is Linux and it worked always with no problem).
I have configured bouth variables, UserFilesPath and UserFilesAbsolutePath, like this:
$Config['Enabled'] = true ;
$Config['UserFilesPath'] = 'http://www.mysite.com/documents/' ;
$Config['UserFilesAbsolutePath'] = 'C:\\HostingSpaces\\clientname\\mysite.com\\wwwroot\\documents\\' ;
the absolute path was copied from phpinfo() and added double backslashes, I'm sure it's corect.
From FTP I was not able to change permissions of that folder (Windows server )
[19:18:38] SITE CHMOD 777 documents
[19:18:38] 500 'SITE CHMOD 777 documents': command not understood
I have accesed the website control panel (DotNetPanel) and updated the permissions from there but still not able to upload an pdf file .. or any other file.
Do you have any ideea ? I suspect folder permissions but I cant check it from ftp .. only from the **** dotnetpanel
Re: Error creating folder - Can't create directory
Thank you so much
Mohammad
Re: Error creating folder - Can't create directory
Still no luck for me
I have tried to upload with my own php script and it seems it's working in the same directory fckeditor is set to upload and it fails, the permissions are not an issue in my case.
I have tried using the absolute path and not using it and I got the same thing :
after I press SEND IT TO SERVER i see the loader image but nothing more, the loader stys there and rolls continously whithout any error message.
If I write the path wrong (absolute path without 2 \\ backslashes i get the error could not create directory )
On linux i have no problem but on windows I can't make it work , anyone can give me some help about configurations on windows?