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.

Comments

Leeteq’s picture

Does 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?

crcruz’s picture

We 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."

kehan’s picture

I'm having the buttons.png css issue as well see #1054658: buttons.png missing. Also the file is not on the server.

rt_davies’s picture

No, there is no buttons.png file in sites/all/modules/media/images.

james.elliott’s picture

Status: Active » Needs review
StatusFileSize
new1.79 KB

This patch removes the custom button styling and allows the current theme to do its thing

Status: Needs review » Needs work

The last submitted patch, 0001-1070682-New-content-preview-fails-when-media-file-at.patch, failed testing.

james.elliott’s picture

StatusFileSize
new0 bytes

Let's try that again.

james.elliott’s picture

Status: Needs work » Needs review
rt_davies’s picture

Thanks for the patch(es), James. I'll get around to trying it out on Monday and let you know how it goes.

JacobSingh’s picture

Status: Needs review » Fixed

Either you already committed this or I'm crazy.
Use the dev version and you should see this patch as of awhile ago.

Status: Fixed » Closed (fixed)

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