I'm trying to upload images to a new Gallery I created, using IE 8 or Firefox 12, to my drupal site (recently acquired) on an 2003 IIS server, and the images upload fine and I can see them in the directory \sites\default\files but they do not show in the photo gallery (they don't upload to the thumbnails, or large image files at all). There are already other gallery's created on the site (before we took the site over) and I cannot add photos to them either. I've tried everything I've seen in the forums, from permissions to editing the .htaccess file to updating the whole site to the latest Drupal version and database and still nothing. No errors on the screen either. Three days of searching the forum for answers and trying things and it still wont work?

Anyone have any thoughts? Does the Media Gallery photo upload routine even work in a Windows environment, cause it doesn't work at all in the latest FireFox?

I have clean urls turned off (set to 0 in settings.php) and also tried uncommenting the RewriteBase / in .htaccess in the root directory of the site. I now just tried uninstalling and re-installing the Media_Gallery module (after un-checking it in modules, then uninstalling completely under Admin then rechecking the module to activate). Now the stock Media gallery is installed with all default settings and directorys. Just like before I can create a new Gallery and then when I add media it uploads with the progress bar showing and then goes back to the media add page but no images are displayed. Again upload routine doesn't work at all in FireFox. You can browse for an image, and select one, but nothing displays in the upload box.
ANY HELP PLEASE? THANKS!

CommentFileSizeAuthor
#3 media_Upload.jpg128.52 KBmbsii
#3 media_no_Upload.jpg140.57 KBmbsii

Comments

moloc’s picture

Please use the latest verison of media_gallery - beta7.
Which version of media do you use?
Do you use the plupload module?
Do you get javascript-errors?
You say, that the image can be found in the public file folder. Is it also available in Administer -> Content -> Media ?

moloc’s picture

Status: Active » Postponed (maintainer needs more info)
mbsii’s picture

StatusFileSize
new140.57 KB
new128.52 KB

Sorry for the Delay. I had to step away from this because it was just taking too much time to figure out.

Yes, I believe I am using the latest version.. though i'm not 100% positive what version it is cuase it doesn't tell me under modules.
Yes I believe It is using the plupload module, pops up an upload gui interface window that you can drag photos to or click browse. The drag drop feature doesn't work though.
No, no errors at all, it just looks like it works but doesn't. Goes back to the media gallery with no images.
And Yes the image names are shown inthe Administer -> Content -> Media area.

I attached 2 pics. One of the upload processing 100% and the other when it returns to the photo galler with nothing.

THanks!

moloc’s picture

Priority: Critical » Normal

There is a similar issue opened a view days ago #1600382: Multiple file upload in not functional in ADD MEDIA.

What other media or media_gallery related modules do you use?
Your README.txt file is dated back to version < beta4. So i don't think, that you use the latest version of media_gallery.

zeezhao’s picture

I have experienced a similar problem on a shared host, where everything works fine on my laptop but when installed on the host the gallery images will not show even though loaded.

For drupal to work on this host anyway, I had to change .htaccess:

# Options +FollowSymLinks

Also had to make this change in .htaccess for clean-url to work:

RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

So I believe the media_gallery issue is related to these two changes, and also directory permissions on the host. I have not fixed it, as may move host anyway...

Using latest 7.x-1.x-dev [of 2011-10-13] with D7.14

moloc’s picture

Status: Postponed (maintainer needs more info) » Fixed

You are using an old version. Your issue is #1000702: Ajax Callbacks fail if Clean URLs are not enabled, which is already fixed in beta7.

To solve the issue, update media_gallery to the latest verison.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jackomolight’s picture

I am having the same problem. Haven't been able to fix it for several days nothing really helps. Photos are uploaded successfully and show up in Content -> Media. I am using the latest version of Media Gallery. Any help immensely appreciated.

Update: I just managed to enable clean URLs but it is still not working.

mbsii’s picture

After updating all my modules, and then updating drupal from 7.14 to 7.15, I then applied these two patches to the media gallery module and can now upload and create new albums in my photo gallery.

Thanks!!

somatics’s picture

I have this same issue, but all my modules are up to date and it's still present. I've created a new issue for it, since this one is closed; it's at: http://drupal.org/node/1779384