close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error creating folder

Thread began 3/31/2009 2:57 am by lee266802 | Last modified 4/01/2009 8:28 pm by tomm | 2289 views | 5 replies |

lee266802

Error creating folder

I have edited the config.php as outlined in the "Allowing image uploading with the iRite text editor" file. It works fine on my local setup but when I upload to the server I get the following error while trying to upload a file:

Error creating folder
userfiles/
(Can’t create http:/ directory)

I would have thought that this would be a permissions error but they seem to be set correctly on the server.

Sign in to reply to this post

Ray BorduinWebAssist

Create the folder manually. Since it only has to be created once, that may be easier than trying to figure out the permissions settings that would work.

Sign in to reply to this post

lee266802

The folders already exist.

Sign in to reply to this post

tomm

Same with me

I'm getting the same error.

I've even gone in and created the specified folder manually and changed permissions on that folder and the parent to 0777. Still get the error.

TM

Sign in to reply to this post

Ray BorduinWebAssist

Please create a support incident on this topic. My best guess is that the directory path is somehow wrong... you should never get this error if the folders exist because it shouldn't try to create a folder that exists and this is an error while creating the directory... somebody will have to help you debug this issue.

Sign in to reply to this post

tomm

Fixed it

OK, I fudged around and got it working. In a nutshell, the config file needs to be right.

In particular, the following entry, even though it say "document root", really means "site root"

// Path to user files relative to the document root.
$Config['UserFilesPath'] = '/mysubfolder/userfiles/' ;

The following entry is the absolute path from the root of the filesystem

// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Useful if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = '/home/mysiteaccount/public_html/mysubfolder/userfiles/' ;

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...