Hi

After installing GETID3() I get the following message. Both the file location and php files do not exist. Can you help?

Tim

* The getid3() module cannot find the getID3 library used to read and write ID3 tags. The site administrator will need to verify that it is installed and then update the settings.
* The getID3 files getid3.php and write.php could not be found in the sites/default/modules/getid3/getid3/getid3 directory.

Comments

sunnyinspain’s picture

Assigned: sunnyinspain » Unassigned
robloach’s picture

Make sure you install GetID3 1.7.7:
http://getid3.sourceforge.net/

sunnyinspain’s picture

Hi

Many thanks for the quick reply. I uninstalled the previous version of GetID3 and loaded 1.7.7. All was looking ok as I now have what appears to be the correct files. However, I am still getting the error below:

* The getid3() module cannot find the getID3 library used to read and write ID3 tags. The site administrator will need to verify that it is installed and then update the settings.
* The getID3 files getid3.php and write.php could not be found in the vv directory.

I tried to chage the directory from "sites/default/modules/getid3/getid3" to "sites/default/modules/getid3/" but it still comes up with the same error (with the change in directory structure of course)

Many thanks in advance

sunnyinspain’s picture

Status: Active » Closed (fixed)

Hi

Forget my last posting. My file structure was messed up and I think that caused the issues.

Thanks

gorav.singal’s picture

Version: 6.x-1.1 » 6.x-1.0
Priority: Normal » Critical
Status: Closed (fixed) » Active

I'm facing the same error while installing getid3() module. I tried above solution also, but it didn't work for me.

Please help

Thanks in Advance

kevinqin’s picture

I am facing the same problem in installing Getid3, any help?

escoles’s picture

Getting the same issue, in 6x-1.2. (Should we change the version on this issue?)

The path I'm trying to use is:

sites/all/modules/getid3/getid3/getid3

Here are the errors I'm getting:

The getID3() module cannot find the getID3 library used to read and write ID3 tags. The site administrator will need to verify that it is installed and then update the settings.
The getID3 files getid3.php and write.php could not be found in the sites/all/modules/getid3/getid3/getid3 directory.

getid3.php and write.php are definitely in sites/all/modules/getid3/getid3/getid3. I've verified it.

Tried this first w/ getid3 v. 1.7.9, then tried 1.7.7 per above -- no change in behavior.

Is there a file permission we need to set or something?

escoles’s picture

OK, I may understand why so many people are seeing this problem (including me): We're not reading the paths in our own directories carefully enough.

The default path in the module config is:

sites/all/modules/getid3/getid3/getid3

If you unzip the 1.7.7 package, it creates a directory called "getid3". However, if you unzip the 1.7.9 package (which you'd probably do if you hadn't read this thread and it's admonition to use 1.7.7) you get a directory called "getid3-1.7.9", so you'd have to rename it to get a generic directory name.

That's where I went wrong. That it was called "getid" instead of "getid3" totally escaped my notice. Feel like a bit of a schlub on this.

So, this isn't my issue and I can't clear it, but I suggest that folks go back and folder by folder check out the path elements, because when I did that, it seemed to be OK on 6x-1.2.

drewish’s picture

Version: 6.x-1.0 » 6.x-1.2
Category: bug » support
Status: Active » Fixed

at this point i think this is just a support request. it's just a bit confusing to have multiple layers of directories with the same name but the code works correctly.

Status: Fixed » Closed (fixed)

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

IanMerwin’s picture

I had the same issue as well. If you are getting the erros as mentioned above...
Do this in this order and you will NOT have a problem.
Here is how I solved it:

  1. I started with a clean slate... ( removed the getid3 directory from sites/all/modules )
  2. obtained the latest/recommended version of the getID3 module
  3. extract the files and put it in sites/all/modules -- so you should now have (name/structure is critical)
    • sites/all/modules/getid3
    • sites/all/modules/getid3/getid3.info
    • sites/all/modules/getid3/.. etc.....
  4. get the latest recommended (I chose the latest stable version) of the library as is recommended for the module HERE
  5. extract it (mine was getid3-1.7.9.zip)
  6. AND rename it (the library containing folder) to "getid3" (get rid of version info in the name)
  7. copy/move (your choice) that folder (the library you just renamed) to the "sites/all/modules/getid3" folder
  8. verify the following structure:
    • sites/all/modules/getid3/
    • sites/all/modules/getid3/demos
    • (NOTE: you should get a message about deleting the "demos" directory for security purposes at the end of these steps)
      So just remember I said that -- They recommend you delete the demos folder for security purposes!
    • sites/all/modules/getid3/getid3
    • sites/all/modules/getid3/getid3/getid3 (inside here you should see a boat-load of module.****.php files)
    • sites/all/modules/getid3/helperapps
  9. STOP! - don't do it! I know that looks ridiculous and your itching to clean that up (the /blah/blah/blah) and move the files up one directory and clean it up.... just ignore the redundancy and move on.... trust me.....
  10. Go to your site module page ("http://website.com/admin/build/modules") and go down to the "other" section
  11. Make sure you have "GetID3()" enabled (check box and save changes)
  12. Go here in your web browser (on your site of course) "http://website.com/admin/settings/getid3"
  13. NOW... you will probably get the message (If not skip down a few steps)
    Your getID3 library is insecure! The demos distributed with getID3 contains code which creates a huge security hole. Remove the demos directory (*_your path to your install _*/sites/all/modules/getid3/getid3/demos) from beneth Drupal's directory.
    
  14. This simply means that you need to delete the "demos" folder from here: sites/all/modules/getid3/demos
  15. Soo.... go to your file browser and get rid of said folder (the "demos" folder that is)
  16. Go back to your browser and refresh it... "VOILA" the message should dissapear...
  17. And now... you should see a message that reads something like -
    To use this module you'll need to download the library from the getID3 website and extract the contents into the module's getid3 directory. Currently, the recommended version of the getID3 library is 1.7.7.
    
  18. I ignored that because "A" I already had the library downloaded and installed with NO errors NOW, and "B" The current recommended version (stable) is 1.7.9.... so the message is miss-leading
  19. You should see a section on that page (still.."admin/settings/getid3" )that reads:
    Version:
    1.7.9-20090308
  20. Which tell us that we have the module enabled and it's referencing the correct library...
  21. This completes our trip -- Thank your for flying....

    Hope this helps... Bon-Apetite.. Doood!

IanMerwin’s picture

The getID3() module cannot find the getID3 library

I noticed this issue was closed.. but.... I had the same issue today (June 28th, 2009)

The getID3() module cannot find the getID3 library used to read and write ID3 tags. The site administrator will need to verify that it is installed and then update the settings.
The getID3 files getid3.php and write.php could not be found in the sites/all/modules/getid3/getid3/getid3 directory.

I have posted my solution..... see #11
Note: I re-posted to try to get this to go to the top (as a reply to #1) -- apparently replies aren't nested... =(

mattwmc’s picture

I have the same problem.

However, there is no demo file in version 6.x-1.2 and the modules folder is in the root for my version of drupal 6.13**

I did create a folder in the sites/all/modules but still didn't work.

And never saw this: [quote](inside here you should see a boat-load of module.****.php files)[/quote]

Any ideas? Thanks.

**Edited - maybe because I am using 6.13 and not 1.2, lol? I'll try the dev.

**dev worked as did your directions, thanks!

scott859’s picture

@IanMerwin (#11)

Thanks for the detailed instructions, worked great for me.

kasha_x’s picture

cheers @IanMerwin

one thing though...on my latest install, I had to nest the library into another getid3 folder and it worked.

lawrence’s picture

Post #11 worked perfectly. My GetID3 library is now working perfectly, thanks and kudos to you!

alar’s picture

I see the boat-load of php modules. I am content :-)
Thanks!

--
So really all you need to know is where getid3-1.7.9.zip is unzipped right?

stina808’s picture

I'm new to Drupal so please forgive my question/comment. I tried #11 above but was still running into problems. Drupal kept insisting that I use the path sites/all/libraries/getid3/getid3 so I finally created a libraries directory and put my unzipped getid3-1.7.9.zip folder there (but still was sure to rename it to getid3). This seemed to be the only thing that worked for me.

drewish’s picture

The correct place for the external getid3 library is now sites/all/libraries/getid3.

The instructions in INSTALL.txt have been updated to reflect this:

INSTALL
-------
1. Place the entire getid3 directory into your modules directory
   (sites/all/modules is the usual location).
2. Create a new folder for the getID3 library at:
     cd YOUR-DRUPAL-ROOT
     mkdir -p sites/all/libraries/getid3
3. Go to http://www.getid3.org/ and download the latest stable version
   (currently 1.7.9) into the new directory:
     cd sites/all/libraries/getid3
     wget "http://downloads.sourceforge.net/project/getid3/getID3%28%29%201.x/1.7.9/getid3-1.7.9.zip"
4. Unzip the contents of the zip file into sites/all/modules/getid3/ so that
   write.php is located in sites/all/libraries/getid3/getid3/:
     unzip getid3-1.7.9.zip
5. Delete the demos directory:
     rm -r demos/
6. Go to Administer > Site building > Modules and enable the GetID3 module.
7. Go to Administer > Settings > getID3. If you see the version you just
   downloaded, the module is installed correctly.
zenasprime’s picture

Component: Documentation » User interface
Priority: Normal » Critical

Even after everyone's suggestions I am still getting...

The getID3() module cannot find the getID3 library used to read and write ID3 tags. The site administrator will need to verify that it is installed and then update the settings.
The getID3 files getid3.php and write.php could not be found in the sites/all/modules/getid3/getid3/getid3 directory.

...I've followed #11 several times both before i came to this topic and after I read it here. For this solution my path was sites/all/modules/getid3/getid3/getid3

I've also tried drewish's suggestion on #19 with which i get the following error...

The getID3() module cannot find the getID3 library used to read and write ID3 tags. The site administrator will need to verify that it is installed and then update the settings.

With which I changed my path to sites/all/libraries/getid3/getid3

What confuses me about #19 is...

Unzip the contents of the zip file into sites/all/modules/getid3/ so that
write.php is located in sites/all/libraries/getid3/getid3/:

How do you unzip the zip the file into one directory sites/all/modules/getid3/ so that the file write.php is in an entirely different directory sites/all/libraries/getid3/getid3/. Did you forget to say to move the directory to the new directory? This step is very confusing.

Edit:

After a refresh I'm getting the original error again...

warning: opendir(sites/all/modules/getid3/getid3) [function.opendir]: failed to open dir: Permission denied in /Library/WebServer/Documents/WebSites/beta.zenapolae.com/includes/file.inc on line 895.

Edit #2:

AFter another refresh I am error free. I don't get it but at least it working. My final state was as described in #19.

Edit #3:

Scratch that... I get no error when I'm looking at admin/settings/getid3 but if i go to admin/reports/status it shows up again.

vm’s picture

Component: User interface » Documentation
Priority: Critical » Normal

Extract getid3() library onto your desktop.

this will give you a getid3 folder
inside the top level getid3 first level folder is second level getid3 folder which holds the library
just upload that second level folder to sites/all/libraries/

doing so will properly provide the path as set at default.

zenasprime’s picture

Component: User interface » Documentation
Priority: Critical » Normal

When you say the path as set at default are you referring to sites/all/modules/getid3/getid3/getid3? If so, that does not work.

currently I have my directories as follows...

sites/all/modules/getid3 -the module
sites/all/libraries/getid3 -the library as described by #21

I still get the following error at admin/reports/status...

warning: opendir(sites/all/modules/getid3/getid3) [function.opendir]: failed to open dir: Permission denied in /Library/WebServer/Documents/WebSites/beta.zenapolae.com/includes/file.inc on line 895.

HOWEVER, at admin/settings/getid3 everything looks good (ie no error messages). This leads me to believe that the write.php files is now being found but what is this permissions error about for sites/all/modules/getid3/getid3? When I check permissions on file.inc and indeed the webserver does not have rw access to this file. If i set the file to have rw for the server, I get a bunch of unrelated module errors.

zenasprime’s picture

Ignore that last bit about the permissions, I was in error. The permissions on that file are read/write-able for the web server.

vm’s picture

sites/all/modules/getid3/getid3

^ why is that two levels deep?

I'd also ensure you update to getid3.module 1.3 which is the latest version.

drewish’s picture

zenasprime, i literally wrote those instructions by copying and pasting the commands i'd used so the closer you are able to follow them the more likely it is to work for you. the unzip program i used created the directory structure i presented. if yours ends up in a different structure either move it to match the expected of alter the path you're using.

zenasprime’s picture

I really don't know why it's two levels deep. My best guess is that when you unzip the directories, that is how they come. I haven't altered anything other then to move the module and library directories to the indicated locations. I have not added or deleted any of the directory structures from how they are when downloaded.

zenasprime’s picture

Drew... if you say to unzip into the sites/modules/getid3 directory, how do your files get into the sites/all/libraries. Perhaps I'm totally not understanding what it is you are saying but that doesn't make any logical sense to me. If I unzip into sites/modules/getid3 there's no mechanism for those files to get stashed into a completely different directory. I mean no disrespect, I could be a complete idiot here, but still, that shouldn't happen.

drewish’s picture

read my comments on #19 very closely. first we create 'sites/all/libraries/getid3' then we switch into it, we download the getid3 zip file into that directory, unzip zip it there and then remove the demos subdirectory.

zenasprime’s picture

Okay that makes more sense. Sorry I didn't read it that way at first. To clarify from eariler, that's exactly what I have done and it seems like the error where it couldn't find the files has been cleared up. Now I'm faced with this permissions issue. I'm not actually sure if it's impeding any functionality, however, as I haven't tested an upload yet.

Also, I want to note that I've had the module installed previously and it wasn't until this current update that I stared having this particular issue.

I'm still having problems with Audio Import that I was having in previous versions, but I have no idea if this is a related issue or not.

hanief84’s picture

I'm using Drupal 6.15 at the moment and everything went good! Here's what I've done!

http://hanief.blogspot.com/2010/02/drupal-getid3-module-cannot-find-geti...

jasperguy’s picture

Okay, I followed #11, it works, but you still have to change the path in the settings section of getid3

This was shown: sites/all/libraries/getid3/getid3

I changed to: modules/getid3/getid3

It states relative to the root.

Hope this helps someone.

lawrence’s picture

Either works I suppose, but I believe it's preferred that you use the sites/all/libraries directory. It really does make managing GetID3 easier.

ˇh2nk’s picture

Thanks to #11
Helped me out.

Good instructions

countZZero-1’s picture

@IanMerwin

Dude:

If every fix were that well detailed the world would be a much better place.

Thank you for your help.

Karl A. Krogmann

simonmeaden’s picture

OK I am still getting this problem and I can't see what I am doing wrong. I set the tree up as in the readme file. I downloaded 1.7.9 today.

sites/all/libraries/getid3/demos
sites/all/libraries/getid3/getid3 - all the php files here
sites/all/libraries/getid3/helperapps

The path is set to 'sites/all/libraries/getid3/getid3' but I still get these messages.

* The getID3() module cannot find the getID3 library used to read and write ID3 tags. The site administrator will need to verify that it is installed and then update the settings.
* The getID3 files getid3.php and write.php could not be found in the sites/all/libraries/getid3/getid3 directory.

However the various php files are in this directory. If I call 'php sites/all/libraries/getid3/getid3/write.php' in a shell from the drupal root directory I get the error 'getid3.php MUST be included before calling getid3_writetags' which implies that the file write.php is there.
I must be doing something wrong but I can't figure out what.

mgcomm2010’s picture

Version: 6.x-1.2 » 6.x-1.3

FIX For getid3 problems in drupal 6.x
at least this is what worked for me

put getid3 folder on /sites/all/libraries/getid3 (this is the one downloaded from http://www.getid3.org/) mine is version 1.7.9

now put getid3 folder into /sites/all/modules/ (this is the one downloaded fom http://drupal.org/project/getid3 ) mine is version getid3-6.x-1.3.tar.gz

brucehvn’s picture

I had this same problem today. As it turns out when unzipping the getid3 zip file from sourceforge into the sites/all/libraries/getid3 folder, it created the getid3 sub folder with 700 permissions. Since my installation files are all set to owner root, group apache, I needed to do a "chmod 755 getid3" and all is well now.

phunster’s picture

Just wanted to confirm this solution. My setup is similar to #37 "chmod 755 getid3" worked for me.

JC8008’s picture

Thanks, great trip, finally works

diaxpro’s picture

Work for me thx!

cayenne’s picture

I nominate Ian Merwin for King of the World for a day.

Thanks for this. I had to do the step of clicking "save configuration" twice. The advice to ignore the warning did the trick.

Thanks!

ksmaheshkumar’s picture

Version: 6.x-1.3 » 6.x-1.4

Thanks its worked 4 me