Where do you get the audio_import modules?
First I got this message:
audio import
Import multiple audio files and save them as audio nodes. The files will be moved from their location into the audio module's files directory.
You need to configure the import directory on the audio import module's settings page.
Then when I clicked the settings page link:
audio_import
Configure the audio import module's settings.
The directory /tmp/audio does not exist.
Import path: *
The directory to import audio nodes from. Drupal will need to have write access to this directory so we can move the file.
I have no audio_import module.
This is my very first drupal installation so I may be doing something wrong, but I came across another post where the responder said to report it as a bug.
Thank you.
Suzan
Comments
Comment #1
drewish CreditAttribution: drewish commentedaudio_import.module comes bundled with the audio module. if you've got a recent version of the audio module, you've got a copy of audio import, and based on your error messages you've got audio import installed.
did you try changing the import directory setting to point to a directory on your system?
Comment #2
EducateforLife CreditAttribution: EducateforLife commentedHi,
I'm having the same problem with the audio import.
tmp/audio does not exist.
Import path: *
I've created it, set permissions, created it in several other dirs just in case the root was wrong, and pointed it to existing happily working dirs, all to no avail.
I hope someone can point me in the right direction.
Cheers
Ed
Comment #3
EducateforLife CreditAttribution: EducateforLife commentedAh ok sorry.
Drupal auto configing made it look like it wanted a relative path, but I gave it a complete path as shown when testing getid3 (go to www.yoursite.com/drupalfolder/modules/audio/getid3/demos/demo.browse.php to find it)
and now it works a treat.
Comment #4
drewish CreditAttribution: drewish commentedah, i'll add some better documentation to the module to make that clear.
Comment #5
looplog CreditAttribution: looplog commentedjust wondering what is going on here. I've tried both relative and absolute paths, and neither seems to get me where I want to go. Do I need an absolute path relative to root of the server? At present, audio import only recognises /tmp/ as the directory, and won't find anything else...
Comment #6
drewish CreditAttribution: drewish commentedyou *should* be able to use path's relative to drupal's root directory or absolute paths to anywhere on the system. you'll need to have write access to the directory though (the file is moved, not copied).
Comment #7
looplog CreditAttribution: looplog commentedhmm, i tried all of the above and no can do I'm afraid. /tmp/ is the only directory I am able to use, no matter the permissions I set.
Comment #8
suzan24k CreditAttribution: suzan24k commentedI tried changing the import directory to a longer path and importing / uploading audios are still not working for me. I'm quite sure I have the permissions correct but I am definitely unclear about where the path is looking. It looks like the import settings page validated the directory path too before I tried to import.
When I went to the Create Content / Audio / set up and click the [Preview] button, Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6652 bytes) in /home/suzan24k/invisible-coach/includes/image.inc on line 269
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1955 bytes) in /home/suzan24k/invisible-coach/includes/database.mysql.inc on line 349.
Earlier when I tried to do a test upload I got the error below. I do not understand how to fix the below error either. It is my set up?
Fatal error: audio_write_id3tags(): Failed opening required 'write.php' (include_path='.:/usr/local/share/pear:/usr/local/lib/php') in /home/suzan24k/invisible-coach/modules/audio/audio_getid3.module on line 222
Thank you so much for the help so far. I am learning useful information.
Suzan
Comment #9
drewish CreditAttribution: drewish commentedComment #10
drewish CreditAttribution: drewish commentedlooks like i screwed up the formating on those blockquote tags. hopefully it's understandable.
Comment #11
drewish CreditAttribution: drewish commentedComment #12
suzan24k CreditAttribution: suzan24k commentedWhen I see the red updated, does that mean I need to re-download and install the audio module?
Thank you.
Suzan
Comment #13
drewish CreditAttribution: drewish commentedno that means that someone's posted a new comment since you last looked at the issue.
Comment #14
suzan24k CreditAttribution: suzan24k commentedMy getid3 module path is: modules/audio/getid3/getid3/
I put that in the audio settings form. Is this where I need to put the longer path name?
Comment #15
suzan24k CreditAttribution: suzan24k commentedI tried putting: /home/suzan24k/invisible-coach/modules/audio/getid3/getid3/
in the getid3 directory for setup and still get this error:
Fatal error: audio_write_id3tags(): Failed opening required 'write.php' (include_path='.:/usr/local/share/pear:/usr/local/lib/php') in /home/suzan24k/invisible-coach/modules/audio/audio_getid3.module on line 222
Any more clues? Thank you for any help.
Suzan
Comment #16
suzan24k CreditAttribution: suzan24k commentedSince I had no reply I spent more time reading other people's audio issues and decided that I too downloaded the audio module about the same time another person started having somewhat similar audio module problems. Eventually, they downloaded a newer version and fixed their problems. So, I did the same and had success making it through these problems.
Thanks for helping. I am on to another audio module issue. I will post in the support forum.
Much appreciation.
Suzan
Comment #17
drewish CreditAttribution: drewish commentedsorry i wasn't able to be more helpful, glad you got it working.
Comment #18
Ben Finklea CreditAttribution: Ben Finklea commentedI was having the same issue. I resolved it by removing the beginning slash. Like this:
tmp/audio/
That seemed to fix the problem.
Comment #19
bpedigo CreditAttribution: bpedigo commentedThank you sprysoft -- that fixed it for me too -- just remove the first slash:
tmp/audio/
That fixed my problem.
Comment #20
drewish CreditAttribution: drewish commentedyou know that /tmp/audio is relative to the server's root and tmp/audio is in the drupal directory right?
Comment #21
bpedigo CreditAttribution: bpedigo commentedOh, yeah...naturally. :)
Actually, thank you for teaching me something new today. Good to know, as I'm still a unix n00b. Thanks for your comments.
Comment #22
drewish CreditAttribution: drewish commentedbpedigo, re-reading my comment now i realize that while i'd ment it to be informative, it came off a little harsh. i was just trying to clairify why it worked.
Comment #23
(not verified) CreditAttribution: commented