Closed (fixed)
Project:
Media Field
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2007 at 04:13 UTC
Updated:
29 May 2008 at 00:26 UTC
Media Field is an impressive module judging by the interface and the demo, but it is giving me some serious trouble. I am using the video field, I add it to a node, I upload a video, and when the page is viewed I get a blank white screen. The page does not render.
I am using the newest drupal 5.2 and the latest media field and CCK and this is a fresh install. Everything seems to be working properly other than that!
Comments
Comment #1
tizzo commentedI'm still not sure what the problem was, but the current development snapshop does not have the same issue with the same configuration. Thanks!
Howard
Comment #2
kmv commentedSounds like PHP ran out of memory (can easily happen if you have a bunch of modules). Check your Apache error log to confirm and if so increase your memory limit in php.ini.
Comment #3
acouch commentedI had the same problem as above. I added the module, created an image field and not only would the node in question not render but no pages on the site at all outside of the admin which is a different theme.
I removed the audio field and the site appears again. However I get an error message at the top of every page outside of the admin. I have tried unistalling the module completely and the error message still appears. I tried reinstalling the module w/ the lasest dev as suggested above but that doesn't work either. The error message is below:
user warning: Unknown table 'node_data_field_audio1' in field list query: SELECT node.nid, node.created AS node_created_created, node.title AS node_title, node.changed AS node_changed, files.filemime AS files_filemime, users.name AS users_name, users.uid AS users_uid, node.created AS node_created, node_data_field_image.field_image_fid AS node_data_field_image_field_image_fid, node_data_field_image.field_image_title AS node_data_field_image_field_image_title, node_data_field_image.field_image_alt AS node_data_field_image_field_image_alt, node_comment_statistics.comment_count AS node_comment_statistics_comment_count, node_data_field_author.field_author_value AS node_data_field_author_field_author_value, node_data_field_audio1.field_audio1_fid AS node_data_field_audio1_field_audio1_fid FROM node node LEFT JOIN file_revisions file_revisions ON node.vid = file_revisions.vid LEFT JOIN files files ON file_revisions.fid = files.fid INNER JOIN users users ON node.uid = users.uid LEFT JOIN content_field_image node_data_field_image ON node.vid = node_data_field_image.vid LEFT JOIN node_comment_statistics node_comment_statistics ON node.nid = node_comment_statistics.nid LEFT JOIN content_field_author node_data_field_author ON node.vid = node_data_field_author.vid WHERE (node.type IN ('newswire')) ORDER BY node_created_created DESC LIMIT 0, 20 in /home/philcal/public_html/includes/database.mysql.inc on line 172.
in my apache log it says: PHP Fatal error: Call to undefined function _field_file_load() in /home/philcal/public_html/modules/mediafield/audiofield.module on line 316
Also, the view that I had setup for that content type also won't appear. On the page view of that view I get the following error message:
user warning: Unknown table 'node_data_field_audio1' in field list query: SELECT node.nid, node.created AS node_created_created, node.title AS node_title, node.changed AS node_changed, files.filemime AS files_filemime, users.name AS users_name, users.uid AS users_uid, node.created AS node_created, node_data_field_image.field_image_fid AS node_data_field_image_field_image_fid, node_data_field_image.field_image_title AS node_data_field_image_field_image_title, node_data_field_image.field_image_alt AS node_data_field_image_field_image_alt, node_comment_statistics.comment_count AS node_comment_statistics_comment_count, node_data_field_author.field_author_value AS node_data_field_author_field_author_value, node_data_field_audio1.field_audio1_fid AS node_data_field_audio1_field_audio1_fid FROM node node LEFT JOIN file_revisions file_revisions ON node.vid = file_revisions.vid LEFT JOIN files files ON file_revisions.fid = files.fid INNER JOIN users users ON node.uid = users.uid LEFT JOIN content_field_image node_data_field_image ON node.vid = node_data_field_image.vid LEFT JOIN node_comment_statistics node_comment_statistics ON node.nid = node_comment_statistics.nid LEFT JOIN content_field_author node_data_field_author ON node.vid = node_data_field_author.vid WHERE (node.type IN ('newswire')) ORDER BY node_created_created DESC LIMIT 0, 10 in /home/philcal/public_html/includes/database.mysql.inc on line 172.
user warning: Unknown table 'node_data_field_audio1' in field list query: SELECT node.nid, node.created AS node_created_created, node.title AS node_title, node.changed AS node_changed, files.filemime AS files_filemime, users.name AS users_name, users.uid AS users_uid, node.created AS node_created, node_data_field_image.field_image_fid AS node_data_field_image_field_image_fid, node_data_field_image.field_image_title AS node_data_field_image_field_image_title, node_data_field_image.field_image_alt AS node_data_field_image_field_image_alt, node_comment_statistics.comment_count AS node_comment_statistics_comment_count, node_data_field_author.field_author_value AS node_data_field_author_field_author_value, node_data_field_audio1.field_audio1_fid AS node_data_field_audio1_field_audio1_fid FROM node node LEFT JOIN file_revisions file_revisions ON node.vid = file_revisions.vid LEFT JOIN files files ON file_revisions.fid = files.fid INNER JOIN users users ON node.uid = users.uid LEFT JOIN content_field_image node_data_field_image ON node.vid = node_data_field_image.vid LEFT JOIN node_comment_statistics node_comment_statistics ON node.nid = node_comment_statistics.nid LEFT JOIN content_field_author node_data_field_author ON node.vid = node_data_field_author.vid WHERE (node.type IN ('newswire')) ORDER BY node_created_created DESC LIMIT 0, 20 in /home/philcal/public_html/includes/database.mysql.inc on line 172.
Any help would be appeciated!
This is a great module and I'd love to be able to use it correctly.
Comment #4
acouch commentedI meant that I created an 'audio' field in the first sentence above not 'image' field. Thnx
Comment #5
acouch commentedI was able to resolve this.
The dev release did fix the page not rendering issue.
I was able to get rid of the error messages above by manually deleting the entry in the views table for the audio field i had created and then clearing the the views cache.
Again, this is a great mod, really key for what I'm trying to do.
I think the media as a node by itself vs. attached to a node is an interesting discussion but I am glad to have the flexibility to do either.
Comment #6
vm commented