Error with Audio Module Install (audio.module code error)

aligreene - October 14, 2009 - 01:55
Project:Audio
Version:6.x-1.0-unstable5
Component:Code
Category:support request
Priority:normal
Assigned:aligreene
Status:active
Description

Hi there,

I've installed the audio module with getid3 and it installed without any errors. But when I upload a file, the token info doesn't read the file correctly and I get an error:

warning: Invalid argument supplied for foreach() in /sites/all/modules/audio/audio.module on line 551.

This line in the code is: foreach ($node->audio_tags as $tag => $value) {

But I don't know what needs to change here.

I see there's a patch for this here: http://drupal.org/node/563954

But I'm not sure how to, or where to put this patch ... Can someone help?

The Audio Module creates a download link no problem, but the audio just doesn't show on the page to play, and errors appear for the when you click the add to playlist link.

Thanks,
ali

#1

VM - October 14, 2009 - 02:33

audio module is listed as unstable

directions to apply patches = http://drupal.org/patch/apply

 
 

Drupal is a registered trademark of Dries Buytaert.