I've recently installed FileField podcast but am not getting the "FileField podcast" option in the Views "display type" dropdown menu. My modules admin shows that the module is installed and enabled. I'm using Views 6.x-2.0-rc3 and Drupal 6.3.

Thanks for the awesome instruction video on how to get podcasting working in Drupal 6 by the way ... if I could just make the RSS feed ...

Comments

brentsimpson’s picture

I forgot to note that when I try to create the podcast (as per the video) I get this warning message:

warning: in_array(): Wrong datatype for second argument in /srv/www/web5/web/drupal/modules/filefield/filefield.module on line 289.

but i can make the podcast regardless.

brentsimpson’s picture

quick fix! ... now I am getting the "FileField podcast" option in the Views but hitting "Add display" gives me this Javascipt error message:

An error occurred at /drupal/admin/build/views/ajax/add-display/Podcast

suydam’s picture

Status: Active » Fixed

Please try the newest ffpc (version 0.3).
This should solve your problem.

brentsimpson’s picture

I'm still getting exactly the same errors on two different drupal sites with very similar setups.

Drupal 6.3, Views 6.x-2.0-rc3, and CCK Content 6.x-2.0-rc4.

brentsimpson’s picture

Actually i've gotten rid of the first error (when creating a podcast node) by following the instructions here: http://drupal.org/node/295724

but still getting the Javascript Alert when trying to select the Filefield Podcast display in Views.

brentsimpson’s picture

Tried upgrading almost everything ... now on Drupal 6.4 but still getting the Javascript error in Views. Have used Firebug to get a closer look and this is actually what is going on:

Fatal error: Class 'views_plugin_display_feed' not found in /home/meolacre/public_html/waihekeradio/modules/ffpc/ffpc_plugin_display_ffpc.inc on line 5

Rob_Feature’s picture

Status: Fixed » Active

A new version is underway. The 0.3 version, as you found, doesn't work properly on all systems. So, watch for a 0.4 version soon. It will function slightly differently (due to the Views API changes) but it will give the same output....standby and watch the project page.

brentsimpson’s picture

Rob ... 0.4 has fixed the Javascript error on the Views page !! but i'm now at the same point as the other request and I don't have anything in my feed. You guys are doing great work though in getting timely releases/fixes out though and I thank you for it.

Rob_Feature’s picture

Yet another version is on it's way :)

The ViewsAPI change really came at a bad time for FFPC. It basically made it so we had to rewrite alot. There is work being done on it as I speak and I expect a new version (which works like the 0.1 version did) should be out shortly....

Standby...again. A good solution is coming. I promise!

brentsimpson’s picture

Rob ... that's done it. Nice work and thanks again.

Rob_Feature’s picture

Version: 6.x-0.1 » 6.x-0.5
Status: Active » Fixed

Fixed in version 6.x-0.5! Horray!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

jimsmith’s picture

Version: 6.x-0.5 » 6.x-0.6
Status: Closed (fixed) » Active

I see this issue was just closed, but I have the same problem. I'm not getting the display type and I'm using the following:

Drupal 6.5
Views 6.x-2.0-rc5
Filefield Podcast 6.x-0.6

Did things change again and break it?

Rob_Feature’s picture

Title: No Display Type FileField Podcast » Method of Adding FFPC Changed in 6.x-0.6

Thanks for reopening the issue. Because of the massive change in the Views API, FFPC 6.x-0.6 no longer works the same. We had to rewrite it to function differently. In theory the following is how you create a feed, although personally I haven't gotten it to work yet:

  1. Make sure you have all required modules installed and that you've created a CCK Content Type with a filefield for your podcast file.
  2. Now, go to the Views interface and create a new node type View.
  3. On the left Views sidebar, create a new View type of "Feed"
  4. For the style of your view, choose "Podcast Feed" and for your row style choose "Podcast Episode"
  5. Add your filefield which is where you uploaded your audio or video podcast file as a Views field
  6. Set the 'path' in the view to the URL that you want to use as your podcast feed
  7. Add any other filters you want to use such as content type, published, promoted to front page, etc (although none of this is required)
  8. Save your view. That's it. You can now visit the URL you set in your Views path to see your podcast which will include your filefield file as an enclosure.

All of this can be found in the FFPC Documentation. Please post back with success/failures with this new method.

jimsmith’s picture

I have tried that, but I run into this error:

Fatal error: Cannot access empty property in /[my-path-to-drupal]/drupal6/sites/all/modules/ffpc/ffpc_plugin_row_podcast.inc on line 86

Please let me add that I greatly appreciate your efforts with this module and your attempts to stay on top of the issue queue.

Rob_Feature’s picture

Make sure you're updated to the AT LEAST the following versions of the following modules including the latest FFPC (6.x-0.6 didn't work so swell), we're battling incompatibility across the board due to the Views API change:

  • FFPC 6.x-0.7
  • Filefield 6.x-3.x (dev release from Oct 11)
  • Views 6.x-2.0-rc5
  • CCK 6.x-2.0-rc10

If you're not using at least these versions you should upgrade. If you are using these versions and are getting this error, please report back.

jimsmith’s picture

I updated everything. It also appears that I made an error in my Views setup. I attempted to include a Title field in the field, but it appears that's what caused the problem. By removing that field, and leaving only the audio field, I now have a correctly formed podcast feed.

Thank you.

Rob_Feature’s picture

Status: Active » Closed (fixed)

I'm closing this issue...for new support questions or bugs, please open a new issue.