Closed (fixed)
Project:
getID3()
Version:
6.x-1.4
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2009 at 06:39 UTC
Updated:
20 Aug 2011 at 07:40 UTC
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
Comment #1
sunnyinspain commentedComment #2
robloachMake sure you install GetID3 1.7.7:
http://getid3.sourceforge.net/
Comment #3
sunnyinspain commentedHi
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
Comment #4
sunnyinspain commentedHi
Forget my last posting. My file structure was messed up and I think that caused the issues.
Thanks
Comment #5
gorav.singal commentedI'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
Comment #6
kevinqin commentedI am facing the same problem in installing Getid3, any help?
Comment #7
escoles commentedGetting 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/getid3Here are the errors I'm getting:
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?
Comment #8
escoles commentedOK, 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.
Comment #9
drewish commentedat 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.
Comment #11
IanMerwin commentedI 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:
So just remember I said that -- They recommend you delete the demos folder for security purposes!
This completes our trip -- Thank your for flying....
Hope this helps... Bon-Apetite.. Doood!
Comment #12
IanMerwin commentedThe getID3() module cannot find the getID3 library
I noticed this issue was closed.. but.... I had the same issue today (June 28th, 2009)
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... =(
Comment #13
mattwmc commentedI 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!
Comment #14
scott859 commented@IanMerwin (#11)
Thanks for the detailed instructions, worked great for me.
Comment #15
kasha_x commentedcheers @IanMerwin
one thing though...on my latest install, I had to nest the library into another getid3 folder and it worked.
Comment #16
lawrence commentedPost #11 worked perfectly. My GetID3 library is now working perfectly, thanks and kudos to you!
Comment #17
alar commentedI 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?
Comment #18
stina808 commentedI'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.
Comment #19
drewish commentedThe correct place for the external getid3 library is now sites/all/libraries/getid3.
The instructions in INSTALL.txt have been updated to reflect this:
Comment #20
zenasprime commentedEven after everyone's suggestions I am still getting...
...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/getid3I've also tried drewish's suggestion on #19 with which i get the following error...
With which I changed my path to
sites/all/libraries/getid3/getid3What confuses me about #19 is...
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 directorysites/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...
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/getid3but if i go toadmin/reports/statusit shows up again.Comment #21
vm commentedExtract 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.
Comment #22
zenasprime commentedWhen 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...HOWEVER, at
admin/settings/getid3everything 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 forsites/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.Comment #23
zenasprime commentedIgnore that last bit about the permissions, I was in error. The permissions on that file are read/write-able for the web server.
Comment #24
vm commentedsites/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.
Comment #25
drewish commentedzenasprime, 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.
Comment #26
zenasprime commentedI 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.
Comment #27
zenasprime commentedDrew... if you say to unzip into the
sites/modules/getid3directory, how do your files get into thesites/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 intosites/modules/getid3there'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.Comment #28
drewish commentedread 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.
Comment #29
zenasprime commentedOkay 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.
Comment #30
hanief84 commentedI'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...
Comment #31
jasperguy commentedOkay, 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.
Comment #32
lawrence commentedEither works I suppose, but I believe it's preferred that you use the sites/all/libraries directory. It really does make managing GetID3 easier.
Comment #33
ˇh2nk commentedThanks to #11
Helped me out.
Good instructions
Comment #34
countZZero-1 commented@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
Comment #35
simonmeaden commentedOK 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.
Comment #36
mgcomm2010 commentedFIX 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
Comment #37
brucehvn commentedI 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.
Comment #38
phunster commentedJust wanted to confirm this solution. My setup is similar to #37 "chmod 755 getid3" worked for me.
Comment #39
JC8008 commentedThanks, great trip, finally works
Comment #40
diaxpro commentedWork for me thx!
Comment #41
cayenne commentedI 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!
Comment #42
ksmaheshkumar commentedThanks its worked 4 me