Hi there,
i have a problem with Fupload, here are the steps what i do:
1. Add a node with Title and Description and Save it
2. After that i click on Edit and now i see the Upload-Images Button (the Flash Button of Fupload)
3. Now if im in IE9, the progress bars goes to 100% and then disappears (instead of changing its color to green)
4. The counter still says "0 Images uploaded"
5. I save this Node
6. The node still does not have any image
7. Again i click on "Edit", now if i do the same as mentioned in 2./3. the progress bar goes to 100%, switches to green and everything works fine...
This appears only in IE9 - how to fix this?
This is very annoiing and cunfusing for my community members....
Greetz,
infernalshade
Comments
Comment #1
infernalshade commentedI looked at the Folder-Structure over FTP an found out that the folders were created only after a second save, so my idea was to use Rules to create the Folders on saving a new Gallery Assisst node, to do this i use following PHP-Script (Used on "After saving a node"):
$path_to_user = $_SERVER['DOCUMENT_ROOT'].'/sites/default/files/gallery_assist/'.$user->uid;
$path_to_gal = $path_to_user.'/gallery_assist'.$node->nid;
if(!is_dir($path_to_user)) { mkdir($path_to_user, 0775); }
if(!is_dir($path_to_gal)) {
mkdir($path_to_gal, 0775);
mkdir($path_to_gal.'/img', 0775);
mkdir($path_to_gal.'/prev', 0775);
mkdir($path_to_gal.'/thm', 0775);
}
This is working well, the directorys will be created after saving a new Gallery, but the problem isnt gone, if i click on Edit the first time, the folders already exists, but Fupload wont upload any image, the progress bar just dissapears...
If i save that node, the Folder Structure wont change, but after if click on edit again, i then can upload images!