close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

iRite - Error creating folder

Thread began 8/06/2009 1:30 pm by martin317528 | Last modified 9/28/2009 8:26 am by martin317528 | 6425 views | 8 replies |

martin317528

iRite - Error creating folder

Hi. Despite having the correct path in iRite, when trying to upload files using iRite I'm getting: Error creating folder "/www/domains/mydomain.com/userfiles/image/" (mkdir() [<a href='plugins/function.mkdir'>function.mkdir</a>]: Permission denied).

I penned the path in iRate as /www.mydomain.com/client_files/ and various alternatives in config.php, but no joy.

(Linux server, Mac OSX running Dreamweaver CS4, PHP v5)

M

Sign in to reply to this post

Jason ByrnesWebAssist

I nthe iRite config.php file, the $Config['UserFilesPath'] and $Config['UserFilesAbsolutePath'] variables should be set to be site root relative. If you want to upload files to

image/


then set those two variables as:
$Config['UserFilesPath'] = "userfiles/image/"
$Config['UserFilesAbsolutePath'] = "userfiles/image/"


If you still get the permission denied error message, try creating the folders "/userfiles/image/" manually at the root of you site and make sure to set the permission on the image folder to a minimum of 766 so that files can be uploaded.

Sign in to reply to this post

james57944

No display of image

Setting:
$Config['UserFilesPath'] = '/images/cms/' ;

Allows file upload, but it will not display in the editor window (though the code shows up when viewing the html)

adding $Config['UserFilesAbsolutePath'] = '/images/cms/';

gives a "Can't create folder error"

Any Ideas?

I just discovered that the image is being assigned a height and width of "0". There's no way my client is going to know what to do with this.

Sign in to reply to this post

Jason ByrnesWebAssist

Try removing the forward slash from the UserFilesPath and leaving the UserFilesAbsolutePath blank:
$Config['UserFilesPath'] = '/mages/cms/' ;
$Config['UserFilesAbsolutePath'] = '';

Sign in to reply to this post

james57944

The files are uploading fine. However, the html that is inserted gives the image a height and width of "0". Hence, no visible image.

Shouldn't it include the images height and width?

Thanks,

Jim

Sign in to reply to this post

Jason ByrnesWebAssist

This appears to be a bug in the FCKEditor using Fire Fox 3.0 and IE6, there may be other browsers affected, but those are the only two I could find a reference for on the FCKEditoer WebSite.

You can clear the 0's from the width and height to have the FCKEditor use the width and Height from the origianl image.


What browser version are you using, have you tried other browsers?

Sign in to reply to this post

james57944

So is there going to be a patch for this?
Using FF 3.5.

Jim

Sign in to reply to this post

Jason ByrnesWebAssist

It should be fixed in a future update to iRite.

Sign in to reply to this post

martin317528

folder issue fixed

in config.php file:

Set the two variables as:

$Config['UserFilesPath'] = "/userfiles/" ;
$Config['UserFilesAbsolutePath'] = ;

(note: no "" in line 2)

making sure the actual folders are present where they should be (in this case the folder "userfiles" is in my root) and permissions are set.

Also check the Base HREF path is correct in iRite opening edit page:

WA_iRite/

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...