- I have set up the audio module on a drupal 5 installation with just one additional cck test field: source (not required and empty by default)

- I have set up the pathauto module to name audio nodes as "audio/[title]"

- I have set up the audio module to title audio nodes using "!title - !year"

- Whether I try to import one or more than one audio mp3 file, only the first gets imported, and the following error appears on screen:
"Fatal error: Cannot access empty property in /home/heritage/web/drupal5/modules/cck/content_pathauto.inc on line 48"

- I have tried setting the audio module's titling scheme to only !title or to a simple text string but the error remains and I think it prevents me from being able to do a mass import.

Please help!
ktnk.

Comments

drewish’s picture

/home/heritage/web/drupal5/modules/cck/content_pathauto.inc

makes me think this has something to do with the way CCK/pathauto is interacting with the audio module. try disabling pathauto and let me know if it works.

ktnk’s picture

Thanks drewish, that got rid of the fatal error and I can now do mass imports.
However, I did notice before disabling pathauto, that this problem interfered with other modules such as image+acidfree .
So, reenabling pathauto after my mass import is not an option.
And I really need that module because my whole site is structured with pathauto.
I guess I should continue this discussion in the pathauto page.

thanks,
ktnk.

drewish’s picture

Status: Active » Postponed (maintainer needs more info)

well can you re-enable it after you've done the import and have it generate URLs at that point?

greggles’s picture

I'm not totally sure that this is a audio problem instead of a cck problem. In fact, there is already an issue for this in the cck queue: http://drupal.org/node/138043

Let's just use this issue instead of having multiples.

@ktnk - do you also have this problem for non-audio module nodes?

yched’s picture

Project: Audio » Content Construction Kit (CCK)
Component: Miscellaneous » General

Moving this one to CCK, then ?

yched’s picture

Category: support » bug
dopry’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)