I am having difficulties getting the module enabled because it doesn't seem to find the superfish library, which I installed in an sites/all/libraries/superfish folder. I've manually removed the superfish module folder because since it wasn't enabled, Drupal wouldn't uninstall it. The libraries module is installed and enabled. I reinstalled superfish, and it installed with no error messages, but when I went to enable it, it said I needed to install the superfish library. I've spent many hours trying to get this working, all for naught. I have very little installed in terms of modules. Could anything in my menus section be interfering with the install? I'm just working off the cuff here. I have Fusion installed as my base theme, if that helps at all. Someone said it might have to do with permissions, but given that the module won't even enable I can't change permissions.
Suggestions?
David
Comments
Comment #1
mehrpadin commentedHey David,
Did you receive my email?
Comment #2
jsscribe commentedsame issue for me, running on a test site with few modules enabled.
Comment #3
dberkowitz commentedI did receive your email, and thank you. However, I still seem to be unable to resolve the problem.
Comment #4
mehrpadin commentedOk, if possible please put them online and email me the URLs.
Comment #5
dberkowitz commentedNot even ready to put it online. I was trying to get the modules I'd like to use and the header/navigation laid out before moving to layout the remainder of the page.
Comment #6
DJake-2 commentedi have this problem too. ,on Drupal 7.10 Ubuntu 11.10 OS
Comment #7
mehrpadin commentedKomosta Jake,
Can you put it online so I can make sure the Superfish library is uploaded in the right place, e.g. http://example.com/sites/all/libraries/superfish/superfish.js brings us the main JavaScript file and so on.
Comment #8
DJake-2 commentedi dont have domain server right now =,=.. ,but asking if "I install superfish library at right place" Ans: Yes, /var/www/drupal/sites/all/libraries/superfish/superfish.js
/var/www/drupal/sites/all/libraries/superfish/jquery.bgiframe.min.js
/var/www/drupal/sites/all/libraries/superfish/jquery.hoverIntent.minified.js
/var/www/drupal/sites/all/libraries/superfish/sftouchscreen.js
/var/www/drupal/sites/all/libraries/superfish/supersubs.js
/var/www/drupal/sites/all/libraries/superfish/supposition.js
Comment #9
DJake-2 commentedWarning: opendir(.//sites/all/libraries/superfish): failed to open dir: Permission denied in file_scan_directory() (line 2026 of /var/www/drupal/includes/file.inc).
i just received this kind of error ==
Comment #10
mehrpadin commentedOk, then can you access these files from your browser or you receive a "403 Forbidden" error? If you do it's a permission issue, which can be solved easily: http://ocdevel.com/blog/proper-folder-permissions-drupal-ubuntu note that this can be for any OS, including Ubuntu.
Comment #11
DJake-2 commentedThanks a lot :) Mehrpadin, its all about the permission sadly i'm new @ ubuntu OS .
Comment #12
manjeet sarhaya commentedI am having difficulties getting the module enabled because it doesn't seem to find the superfish library, which I installed in an sites/all/libraries/superfish folder. I've manually removed the superfish module folder because since it wasn't enabled, Drupal wouldn't uninstall it. The libraries module is installed and enabled. I reinstalled superfish, and it installed with no error messages, but when I went to enable it, it said I needed to install the superfish library. I've spent many hours trying to get this working, all for naught. I have very little installed in terms of modules. Could anything in my menus section be interfering with the install? I'm just working off the cuff here. I have Fusion installed as my base theme, if that helps at all. Someone said it might have to do with permissions, but given that the module won't even enable I can't change permissions.
i need help for this issue...............
how to create libraries in drupal7?
when install a modules need to install in libraries but in drupal7 has no libraries folder we have install modules in /sites/all/modules but report errors is you need to create libraries/libraries are not found
like jwplayer
Comment #13
DJake-2 commentedas Mehrapdin post . ,the problem is solved
Comment #14
audster commentedI'm stumped too and I've been dorking around with the permissions for over an hour now...
I have installed all the required libraries, the jquery update and superfish modules with no errors or problems.
but when I go to the superfish page (admin>siteconfiguration>superfish) no error appears until I try to change the number of menus to "2" (from the default "4")
I'm getting this:
each of these files is set to -rw-r--r--
libraries and superfish folders are set to drwxr-xr-x
could you provide a more explicit answer - I didn't find that permissions post particularly helpful...
I'm stumped. The menus seem to be working but I keep getting this error when I want to change the number of menus...
any ideas?
Comment #15
DJake-2 commentedtry this permission as Mehrapdin post "http://ocdevel.com/blog/proper-folder-permissions-drupal-ubuntu" and it works!
Comment #16
ovunc commentedso is there any solution offer for this issue? i have same and it drives me crazy. i have all files in library but whenever i try to change number of menus form 4 to 8 same error appears. is there any alternate instead of superfish?
Comment #17
mehrpadin commentedMerheba Kenan,
Please read #7 and #10 :)
Comment #18
ovunc commentedthanks for ultimate quick respond :) i've read and i've tried to do something but all these things seemed for linux. okay, its been said for any os there.. then i've changed permissions on host but that message was not so clear.. i am very beginner for drupal or any web, html or php platform. only the reason that i've downloaded superfish it was written no more headache no more code writing etc. now i see its not %100 true :))
p.s. i've uninstalled and deleted superfish. i've deleted default setting files. i've deleted mysql database. then i've put everything back. i've activated library and jquery. then i've uploaded superfish. then activated then it worked!! all my seettings got back to default but superfish was important and all others don't matter.
Comment #19
kueblert commentedi have the same problem and tryed realy everything...this sucks...
got this message:
but this worked fine:
cge2.tkuebler.de/sites/all/libraries/superfish/jquery.hoverIntent.minified.js
so as it say in # 10
but the permission issue, i dindnt get it easily...i dont get it what i have to do?
my folder cge2/sites/all/libraries/superfish have the permission 755 so what else can i do???
Please help
Comment #20
mehrpadin commentedServus,
It looks like you've fixed it?
Comment #21
Steel Rat commentedI'm getting this problem too, and don't understand what the link in #10 is telling me to do.
I also don't see a v1.1 of the libraries, only 1.2 beta.
Comment #22
wordscribe43 commentedI'm also having this problem... followed all directions but I get a message that the Superfish libraries aren't installed (when clearly they are). Hoping for some clues and guidance. Like Steel Rat above, not really getting what the link in #10 is all about.
Comment #23
Steel Rat commentedI found out what the problem was for me. Apart from not reading thoroughly, I didn't place the libraries in the right place.
You need to create a "libraries" folder under sites>all. Same place as you'd put your contrib themes and modules. So, under sites>all, you'd have a libraries folder, a modules folder, and a themes folder. Place the Superfish libraries in the Libraries folder.
Comment #24
Sandor-2 commentedSame issue for me (Drupal 6.25). I solve it disabling the CKEditor for the /admin/settings/superfish page, and put the urls ONE PER LINE, not all in the same text line.
With this changes I resolve the problem ;)
Comment #25
jaredray commentedThanks Sandor! That worked for me as well (Drupal 6)
Comment #26
stallberg commentedMessage when trying to update drupal after enabling the superfish modul
"Superfish Module not recognizing Superfish Library
Please download the Superfish library from http://drupal.org/project/superfish."
It is a local installation on Windows:
Webserver Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1
I have the files in the following folders:
C:\websites\bflk_7\sites\all\modules\superfish - Version 2, June 1991
C:\websites\bflk_7\sites\all\modules\libraries\ - 7.x-1.x
C:\websites\bflk_7\sites\all\modules\libraries\superfish\ - The jQuery Superfish plug-in version 1.4.8 (I extracted the files from mehrpadin-Superfish-for-Drupal-1.0-4-g1571b1d.zip - I renamed the folder to "superfish")
I don't know what to do with the permissions - are they any diffrent from the permissions in the "C:\websites\bflk_7\sites\all\modules" folder?
I would be glad for suggestions about the cause of that message and how to solve it.
Comment #27
digitalwisdom commentedHi Sandor,
Could you explain exactly how to do this? Sorry im not very knowledgeable in this area :)
When i visit admin/settings/superfish It says 'CKEditor: the ID for excluding or including this element is boldy:admin/settings/superfish.edit-superfish-slp.'
Then i went to admin/settings/ckeditor and edited the global settings and pasted boldy:admin/settings/superfish.edit-superfish-slp in the exclude box however the CK editor is still available.. and i am still getting the File not found error.
Any ideas? I noticed most other listings have an astrix (*).. am i supossed to add that somewhere?
So frustrating!!
Thanks!
Comment #28
david137 commentedBasically, copy the Superfish directory to the sites/all/libraries folder and this will resolve the problem (Drupal 7.x).
Comment #29
vallab444 commentedThanks, Sandor. I followed your clues and could get Superfish working.
I re-installed Superfish module after disabling CKEditor. Following this, I could save the Superfish block configuration successfully. Enabling CKEditor afterwards didn't seem to hurt Superfish.
Not too sure what actually had gone wrong. I did my original install in these steps:
1. copied Superfish library files into sites/all/libraries/superfish
2. installed libraries and Superfish modules in one go
cheers
-vallab
Comment #30
mehrpadin commentedSo not a bug, I presume.
Comment #31
quano1 commentedoh, it's seem my bug is very similar this.
installation, superfish admin setting, display, etc.. no error display.
windowns-7 + wampServer + drupal-7.16 + superfish-1.8 + libraries-2x
superfish lib is in
\sites\all\modules\libraries
but when i debug : superfish.module
sorry all, i wasted a lot of times to fix this bug.... module libraries is in
sites/all/modules/
but the real libraries must stay atsites/all/
and after u install libraries module,u have to create a folder "libraries" in sites/all
then store all module's lib there.
mehrpadin thank you so much!
Comment #32
jcallanan commentedWhen downloaded, the libraries folder is not names superfish but instead is named something longer. I just renamed the folder to superfish (within sites/all/libraries) and it worked.
Comment #33
lauraleigh commentedRename the module with lowercase letters in the library form Superfish to superfish in sites/all/libraries.
Comment #34
pjmcghee commentedJust to throw my experience in, when i extracted the superfish library files to the sites/all/libraries folder, the folder name from the archive was xxxxSuperfishxxx...
I renamed it to Superfish and still had an issue. then, remembering that the KISS (keep it simple stupid) rule always needs to be accounted for, i remembered that Ubuntu has issues with capitalization. I changed the folder name from Superfish to superfish and it worked!
thanks lauraleigh!
Comment #35
ieltsblogger commentedvery new to Drupal, hence my dorkiness. I am experiencing the superfish libraries issue as described above.
where exactly am I looking for or creating these folders?
If my site is www.dork.com , would I be looking in www.dork.com/sites/all/libraries ? because that just gives me an error 403 permissions message.
Am I supposed to create the folder somewhere / or specify a path ?
Thanks in advance
ieltsblogger
Comment #36
ieltsblogger commentedor is there an alternative drop-down menu module?
I am using adaptive / Pixture Reloaded 7.x-3.0
Comment #37
fehin commentedThe capitalization of the first letter of the superfish library was my issue. Thanks pjmcghee for pointing it out.
Comment #38
doubleedesign commentedDisabling CKEditor and then re-enabling it when I had Superfish set up fixed it for me too.
ieltsblogger, I have found the Nice Menus module to be good too.
Comment #39
grahamvalue commentedIn my case, I was getting:
File not found: sites/all/libraries/superfish/jquery.hoverIntent.minified.js
Turns out it was because of the capital 'I' in intent.
Changing it to intent in the superfish config seems to have fixed it.
Or I guess you could rename the file.
Comment #40
fchandler commentedChanging uppercase "S" to lowercase on sites/all/libraries/superfish worked for me. D7.21, superfish-7.x-1.8.
Comment #41
Diane Bryan commentedieltsblogger -- In case you're still looking for the answer... every Drupal installation has a sites/all/ directory. If you have access to your site hosting via a file manager in the control panel, you should see that directory.
You may have to change the permissions on that sites/all/ directory. They call that a chmod. You need to make it readable and writable (755).. at least temporarily.
Once you can write to that directory, add a "libraries" subdirectory, if such does not exist yet. Make sure that is also writable (755).
Once it exists, you can change the permissions on the sites/all directory back to whatever it was before (maybe 555?), and you should still be able to add libraries to the libraries directory. That is where you'll upload the Superfish library (not the module), which has a longer name when you first download and unzip it. Rename that directory to just "superfish", all lowercase.
Your final structure should be:
sites/all/libraries/superfish/[all the files in the superfish library zip that you downloaded]
Good luck!
d
Comment #42
davidneedhamReally, the reason why we've all ended up here is due to documentation. Here's the installation instructions from README.txt:
From my perspective, here are the following gotchas that need to be described in this issue:
Note that is is NOT good enough to give the path to the superfish library directory. You must list each js file it's looking for. (This is lame, and could probably be it's own feature request.)
Are there other issues that could be resolved with this documentation?
Comment #43
davidneedham@ieltsblogger: I realize this is several months after you first asked the question, but here goes....
The place you should put the superfish library is on the server. You'll need to FTP to the server, find your drupal site, and upload it to (drupal)/sites/all/libraries/superfish. It's important that it's lower case, and you should make sure each of the .js files into that folder.
Next, open your website and go to admin/config/user-interface/superfish and copy/paste my second code snippet from comment #42 above.
Comment #44
garamani commentedThanks davidneedham
your advice helped me a lot.
I don't know why they've missed this critical step in their instructions!
I was typing the full path c:\...\sites\all\libraries\superfish/... which is wrong.
The addresses just need to follow this pattern: sites\all\libraries\superfish\
Comment #45
ykee commented@davidneedham
i paste ur snippet
Still got error message
local files tree
Comment #46
ykee commentedand got js error notification of "TypeError: Object #
has no method 'superfish'"Comment #47
go4unkwn commentedif you have in mind to use ckeditor and superfish you have to adapt the visability settings in the global profile of ckeditor. otherwise you get an error if you try to modify the number of blocks of superfish.
a) i use the module ckeditor-6.x-1.14 and ckeditor version 3.6.6.1.
b) i installed the superfisch module and all its requierments.
c) i installed superfish as it is explained on the modules page (where you can download the superfish module).
d) i adapted the visability settings in the global profile of ckeditor: i added "admin/settings/superfish*" in "Fields to exclude/include:" and set "Use inclusion or exclusion mode:" to "exclude".
kind regards
Comment #48
Milkrow commentedSandor's solution regarding the disabling of CKEditor seemed to be what I was looking for to solve this. I noticed that in the "source" of the text field which shows the paths...each line had some paragraph tags in there. I removed those and it worked fine. I was then able to save the configuration with the desired number of blocks. This was not a path nor a permissions issue. Look at the source for the text shown in that field and verify that it contains no other code or spaces.
Comment #49
jimmyhomesick commentedNot trying to be sophomoric here, but I'm definitely a Drupal noob. But I had the same issue and spent over an hour angrily working on this. Eventually i realized that when i renamed the Superfish Library directory (which currently downloads as 'Superfish-for-Drupal-1.x') to establish the example.com/sites/all/libraries/superfish/superfish.js path (creating the 'libraries' directory) I had renamed the library directory 'Superfish.' When I finally noticed this and changed it to the lowercase 'superfish' I could finally both connect to the library and access the menu styles which weren't previously appearing in my Superfish block settings.
To summarize: double check that your new sites/all/libraries directory exists and is named properly (as you do have to create this-or at least I did) and make sure you change the Superfish library name from 'Superfish-for-Drupal-1.x' to 'superfish.' Worked for me anyway.
Comment #50
mrahman252003 commentedFollowing command helped me for Linux localhost Drupal site.
sudo chmod -R 777 /var/www/drupal/sites/all (later the permissions can be changed back)
Comment #51
jeefers commentedI had to set permission on the libraries/superfish folder. I set them to 777 and then I changed the permissions on the sub folders for images, css, and styles to 755.
That worked for me .
I was getting errors until I changed the permissions on the sub folders as well.
Comment #52
Unionhill commentedMay be a bit silly....but I capitalized my superfish folder. Renamed with lower case...the library gets recognized
Comment #53
Patricia_W commentedI just discovered this error. My superfish library was correctly named and if I used the URL (copied from the error message) it was found. After some research I got rid of the error by changing the superfish settings "Path to Superfish library" from sites/all/libraries/superfish/ to sites/default/libraries/superfish/ and resolved it. I had moved all libraries, modules and themes to the default folder not realizing that it would cause problems. The strange thing is that Superfish was working properly so I do not understand why I was getting the error messages.
Comment #54
pinueve commentedthis worked for me, https://www.drupal.org/u/mydrupal2014_846824658246
Comment #55
ivnish