I have a content type with a field type of "Multimedia asset", and widget "Media file selector". While adding a new instance of the content, I add an attachment with the "Select media" button. When I try to preview the new content element (i.e. click on the Preview button), the server returns http code 500, and the following message is logged:
Type page not found
Date Wednesday, February 23, 2011 - 09:14
User xxxx
Location http://example.com/sites/all/modules/media/images/buttons.png
Referrer http://example.com/sites/all/modules/media/css/media.css?lh11ss
Message sites/all/modules/media/images/buttons.png
Severity warning
Hostname nnn.nnn.nnn.nnn
Operations
I tried all different Field Display options and several different file types. Result is always the same.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 1070682-button-styles-7-D7.patch | 0 bytes | james.elliott |
| #5 | 0001-1070682-New-content-preview-fails-when-media-file-at.patch | 1.79 KB | james.elliott |
Comments
Comment #1
Leeteq commentedDoes that file exist in that folder on your server, and is it accessible?
(/sites/all/modules/media/images/buttons.png)
I havent had time to test it - and since no-one has chimed in here on this issue for almost a month;
- can anyone else please confirm whether this works or is indeed a bug?
Comment #2
crcruz commentedWe are experiencing similar issues with the Media Module preview ability.
Error message received: HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request."
Comment #3
kehan commentedI'm having the buttons.png css issue as well see #1054658: buttons.png missing. Also the file is not on the server.
Comment #4
rt_davies commentedNo, there is no buttons.png file in sites/all/modules/media/images.
Comment #5
james.elliott commentedThis patch removes the custom button styling and allows the current theme to do its thing
Comment #7
james.elliott commentedLet's try that again.
Comment #8
james.elliott commentedComment #9
rt_davies commentedThanks for the patch(es), James. I'll get around to trying it out on Monday and let you know how it goes.
Comment #10
JacobSingh commentedEither you already committed this or I'm crazy.
Use the dev version and you should see this patch as of awhile ago.