Node displays blank page

roleychiu - April 17, 2008 - 01:22
Project:Media Field
Version:5.x-1.0
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

I've enabled the Audio File module and uploads fine and displays the node entry to confirm the upload is finished. If i hit refresh, the page shows blank.

All my other nodes on my site show up fine.
I can't even view the node when i go to Recent Posts.

I can go to node/#/edit and see the entry, but viewing the node displays blank. The only time i got to see the node entry was immediately after upload. If i try viewing it again either by refreshing or navigating to it again, it shows blank page.

Any hints on a fix?

I'm on Drupal 5.3 using Medial Field 5.x-10 PHP 4.3.9

#1

roleychiu - April 17, 2008 - 01:33

Also: I followed the instructions in the readme and inserted the getid3 files into /misc/lib and removed the demos and helperapps subdirectories as suggested.

#2

ukdg_phil - April 19, 2008 - 17:16

Hi roleychiu

I've had the same issue with the Audio Field from the 5.x-1.0 Media Field using drupal 5.7 (you should really update to the latest stable version!).

I found it was due to the 'multimediafile.inc' not being loaded.

It is called via a 'require_once' call within the 'audiofield_field' hook, I'm not sure if that makes its functions available globally or not, whilst being included within a function.

But when the 'audiofield_field_formatter' function is called (line 312 of audiofield.module) the inc file is not available.

As a temp fix I added the same require_once line within the 'audiofield_field_formatter' function, adding it in after line 315:

require_once(drupal_get_path('module', 'audiofield') .'/multimediafile.inc');

I suppose you could load it at the top of the module file instead, but that would means its loaded on every page, even if its not needed.

Not sure if someone with more experience with drupal & cck could advise on the correct fix?

#3

Rhino - May 2, 2008 - 08:45

I have the latest stable version of drupal 5.7 and am running into the same problem. Adding that line after after line 315 did not help.

#4

roleychiu - May 15, 2008 - 20:32

I solved my issues by using an older version of filefield. It allows me to upload media files and i decide how i want to use them in my contemplate.

the new verseions of filefield require PHP 5.x which my host doesn't have so i had to use an earlier version of filefield that would work on php 4.3.9. and everything works fine. hope this tip helps some people.

#5

VeryMisunderstood - May 29, 2008 - 00:18
Status:active» closed

This seems like a dead issue to me. Closing, if problem persists reopen.

using the 5.x-dev version released in June 07 I can't confirm this problem.

#6

vivianspencer - May 29, 2008 - 23:36

I was having exactly the same problem, I added the code above after line 315 and it works fine now

Many thanks

#7

VeryMisunderstood - May 30, 2008 - 11:43
Status:closed» active

#8

a_c_m - June 26, 2008 - 07:56
Status:active» fixed

This bug was also mentioned in http://drupal.org/node/146955 (which also talked about another bug, which is now fixed), this bug was fixed in HEAD way back in 2/21/07, good news is you shouldn't have to wait much longer for a release with the bug fix in it ;)

#9

Anonymous (not verified) - July 10, 2008 - 08:02
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.