Uploading error named “Error creating folder” in Fckeditor
Last few days i was trying to solve a path issue regarding the Fckeditor. I was using the editor with php.It was little bit annoying this time cause it took few hours to find out. The editor was working fine wihtout any problem. For no reason suddenly the editor started showing the error messge while i was tyring to upload an image with the html editor. Most of the time the error seems more or less like below :
-
Error creating folder '/Resources/ImageFile/image' {Can't create 'image' directory}
-
Not getting the UserFilesAbsolutePath.
Well the editor have a configuration file for solving this issue with php.Here we need to be sure for the following three lines of code.
- $Config['UseFileType'] = true ;
- $Config['UserFilesPath'] = ‘/Resources/ImageFile/’ ;
- $Config['UserFilesAbsolutePath'] = ‘D:/PHPWorks/alpha-v2/Resources/ImageFile/’ ;
Remember the file path for UserFilesAbsolutePath usually not given while we download Fckeditor. In few versions of fckeditor it works fine without this path. But to stop the error message if any we should enter an absolute path for the destination directory. In my case my server was a windows server. Thats why i used the absolute path like above.
Last but not least imoprtant issue is the chmod of the destination directory should be set to 777 that means the directory should be writable to upload an image in it.
Problem with DHTML Menu and Flash
Few days ago while i was working with flash content to plug in a web page, i was facing a problem with javascript driven menu for the page. When the menus triggered, it dropped behind the Flash movie. The problem is also not rare for others too.With Flash Player 6, Macromedia introduced windowless mode and this mode is also available in later version of flash player too. In fact, when Flash is purely used as eye candy, it’s wise to remove it from the flow of the screen reader’s page
There are three window modes which are described below in detail. Windowless mode allows you to take advantage of the transparent movie, absolute positioning, and layering capabilities available in the browser. They are controlled with the wmode parameter in the object tag. The default mode is available by either choosing not to specify any wmode, or by using wmode=”window”.
Window: Use the Window value to play a Flash Player movie in its own rectangular window on a web page. This is the default value for wmode and it works the way the classic Flash Player works. This normally provides the fastest animation performance.
Opaque: By using the Opaque value you can use JavaScript to move or resize movies that don’t need a transparent background. Opaque mode makes the movie hide everything behind it on the page. Additionally, opaque mode moves elements behind Flash movies (for example, with dynamic HTML) to prevent them from showing through.
Transparent: Transparent mode allows the background of the HTML page, or the DHTML layer underneath the Flash movie or layer, to show through all the transparent portions of the movie. This allows you to overlap the movie with other elements of the HTML page. Animation performance might be slower when you use this value.
If you have already published you can make a change to your HTML code using either Dreamweaver’s Property inspector or by editing manually. To use Dreamweaver:
1. Select the Flash movie in your document in design view.
2. Choose Parameters in the Properties inspector.
3. In the Parameter column, enter wmode. In the Value column, enter either transparent or opaque.
4. Save your document.
If you prefer to edit your HTML by hand, there are two areas you need to edit:
1. To the Object tag, add the following parameter (opaque is shown as an example):
<param name=”wmode” value=”opaque”>
2. To the Embed tag, add the following attribute:
wmode=”opaque”
And lastly it will fix the problem for both internet explorer and firefox.
-
Archives
- September 2009 (1)
- August 2009 (2)
- July 2009 (3)
- June 2009 (2)
- May 2009 (3)
- April 2009 (2)
- March 2009 (11)
- February 2009 (6)
- August 2008 (1)
- May 2008 (2)
- March 2008 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS