I want to install the deco theme and I get the following error
* Could not guess the ftp directory for drupal.
* Unable to install deco
Then there is the problem, that the installation of deco is already in the queue and the plugin manager wants to install it all the time.
A Function and a button to clean the queue would help.
Comments
Comment #1
Anonymous (not verified) commentedWe are actually in the process of fixing those two issues. Jabapyth has been working on a completely new search / queue interface. (A rather nice one at that.) I am (with time left between classes) trying to move all of the guess work onto a configuration page. Hopefully shouldn't be too much longer.
Comment #2
Anonymous (not verified) commentedThe "settings" page now allows you to enter the ftp path to your Drupal installation. If you give it a path, it will use the one you supply rather than trying to guess it. (This is in dev.)
Comment #3
magoo commentedI have the same issue using 1.2.
The module logs in on my FTP server but I get the same errors as mentioned in the original issue report.
Some information:
- ftp account is working
- if ftp account root is XXX
- drupal is installed in XXX/d6
I tried to put /d6 in the "FTP path" on the setup page without any better results
thanks in advance,
--
magoo
Comment #4
jabapyth commentednow it still says "unable to guess drupal install path"?
If you've entered a custom path in your pm_settings page, then that means that the directory you entered was invalid (i know, the error isn't very descriptive. I just committed a patch to fix this).
Comment #5
magoo commentedwith dev 1.X of today :
When I remove my setting for the FTP path I get:
What do you test to validate that the directory exists?
Comment #6
jabapyth commentedThere was an error in our directory checking. I've sent up a patch.
Comment #7
magoo commentedOk,
As it is still not working, I looked at the test you're doing for the user provided path and found this:
This will usually not work as ftp paths (absolute) are usually not correlated with system path and in the example of "ftp path" you request the beginning slash.
You need to test the presence of the directory in the ftp connection and not the filesystem.
here is my version starting on line 111:
Your tests are commented out.
btw, another modification I suggest:
in "plugin_manager/plugin_manager.admin.inc" change line 678 to:
tell me what you think about all this!
--
magoo
Comment #8
jabapyth commentedumm its still not working? look in the current CVS code: ive gotten rid of the whole "is_dir($ftp_path)" thing, which didnt work. Sorry for you to have spent all that effort... >.<
I guess the devel build hadn't updated at the time you looked at it.
Comment #9
magoo commentedOkay!
Strange it did not update the 1.X package faster. Maybe it is a daily job.
Comment #10
jabapyth commentedyes, I believe it does update daily. Deploying directly from CVS is you best chance at getting the *absolute latest* updates, but its usually not necessary.
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #12
mrnags commentedInstead of copying the plugin manager module to "\drupal\modules" directory (this is where the default drupal modules go!), try copying the module to "drupal\sites\all" and install. This will solve the issue.
Comment #13
Anonymous (not verified) commentedThanks for this advice, it was help me to resolve this issue.
May be it would be a good idea to include this advice into module description?
Comment #14
alleycat7 commented#12 Thanks for the advice.
Just one thing: the plugin manager folder should be placed in "drupal\sites\all\modules".