Closed (cannot reproduce)
Project:
D7 Media
Version:
7.x-1.0-rc2
Component:
Media Browser
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2011 at 18:55 UTC
Updated:
23 Aug 2016 at 13:58 UTC
Jump to comment: Most recent
Comments
Comment #1
kuri-su commentedi had the same problem.
enable clean urls to solve it.
Comment #2
hongpong commentedAh yes enabling Clean URLs solved this problem for me. Thank you kuri-su!! More info for cleanURLS: http://drupal.org/node/15365
Comment #3
brodiebrodie commentedYes it worked for me too..many thanks
Comment #4
mfer commentedThis seems to be a bug we need to fix.
Comment #5
arthurf commentedI tested this with the current 1.x and 2.x code and am not seeing this behavior. Are there any JS errors that are being thrown?
Comment #6
Andrea C commentedEnabling Clean URLs solved this problem for me.
My config: Media 7.x-1.0-rc1, Media Gallery 7.x-1.0-beta6, Media Browser Plus 7.x-1.0-beta3 - Apache 2.2
Comment #7
arthurf commentedAndrea C - 1.0-rc1 not working for you without clean urls?
Comment #8
Andrea C commentedHi Arthur,
First of all: my Drupal site is not a "fresh install" but it has it's own story. It's a migration from a Windows 2008 server to Linux CentOS 6. In the past, when it was on Windows, I already tried one of the first beta of "Media" that broke Drupal and I needed to clean the database by hand to uninstall it. May be some dirty is still there.
What I can say is that I did the following steps:
After moving to Linux and having the web site working fine I:
At this moment I experimented the issue described here.
Then I found this post and:
After doing this I was able to add pictures to the gallery
Then I red your comment, I went back to disable again clean urls and the adding media to the gallery continue to work
So I think the problem for me was that Apache didn't let Drupal .htaccess being used
Comment #9
arthurf commentedCould you try this with just the media module and not the others enabled? I'm trying to pin down if it is something specific to this module or if it is a result of one of the others that you have installed.
Comment #10
Andrea C commentedI don't know if I understand well, how to test what you are asking, because I had the problem trying to add images to a media_gallery content type. So I'm not sure where to test it if media_gallery is disable.
If i guessed what to do, I create a "TestMedia" content type, add a "TestImage" field of type "image" and widget equal to "Media file selector"
Then I add some new node of type "TestMedia" and add some images to the "TestImage" field, both uploaded image and image selected from library.
This worked always, in all condition:
But if I try to add a media to a Media Gallery content type it works only if I comment out the default "AllowOverride None" directive inside the httpd.conf Apache configuration file.
If I understood how Apache works, the above mentioned directive blocks the execution of the .htaccess files that comes with the default installation of Drupal (I haven't modified it)
Comment #11
stompeduns commentedAllowOverride All sounds very dangerous. Just sayin.
And I'm glad to see that Andrea C managed to get it working without that apache config.
And by the way, I found a javascript error, http://drupal.org/node/1281044#comment-5382348
Subscribed.
Comment #12
moloc commentedMany (all?) users in this issue mention the media_gallery module. The media_gallery module had such a problem with non clean urls. The latest release of media_gallery (beta7) solves this issue (see #1000702: Ajax Callbacks fail if Clean URLs are not enabled). Reading this issue seems for me not a media module related issue.
Comment #13
dave reidI'm unable to duplicate this. I disabled Clean URLs and the Media Browser (not with Media Gallery enabled) works as expected without any errors.
Comment #14
riddhi.addweb commented