Hello,

i´ve this errors:

# warning: ftp_chdir() [function.ftp-chdir]: Invalid number of arguments. in /var/www/virtual/***/htdocs/sites/all/modules/plugin_manager/ftp.backend.inc on line 142.
# warning: ftp_chdir() [function.ftp-chdir]: Invalid number of arguments. in /var/www/virtual/***/htdocs/sites/all/modules/plugin_manager/ftp.backend.inc on line 145.

but the modules are installed.

Comments

derjochenmeyer’s picture

I can confirm this issue.

# warning: ftp_chdir() [function.ftp-chdir]: Invalid number of arguments in /usr/www/users/testuser/sites/all/modules/plugin_manager/ftp.backend.inc on line 142.
# warning: ftp_chdir() [function.ftp-chdir]: Invalid number of arguments in /usr/www/users/testuser/sites/all/modules/plugin_manager/ftp.backend.inc on line 145.
# warning: ftp_chdir() [function.ftp-chdir]: Invalid number of arguments in /usr/www/users/testuser/sites/all/modules/plugin_manager/ftp.backend.inc on line 145.
# warning: ftp_chdir() [function.ftp-chdir]: Invalid number of arguments in /usr/www/users/testuser/sites/all/modules/plugin_manager/ftp.backend.inc on line 145.
# warning: ftp_chdir() [function.ftp-chdir]: Invalid number of arguments in /usr/www/users/testuser/sites/all/modules/plugin_manager/ftp.backend.inc on line 145.
# warning: ftp_chdir() [function.ftp-chdir]: Invalid number of arguments in /usr/www/users/testuser/sites/all/modules/plugin_manager/ftp.backend.inc on line 145.
# warning: ftp_chdir() [function.ftp-chdir]: Invalid number of arguments in /usr/www/users/testuser/sites/all/modules/plugin_manager/ftp.backend.inc on line 145.
# warning: ftp_chdir() [function.ftp-chdir]: Invalid number of arguments in /usr/www/users/testuser/sites/all/modules/plugin_manager/ftp.backend.inc on line 145.
# warning: ftp_chdir() [function.ftp-chdir]: Invalid number of arguments in /usr/www/users/testuser/sites/all/modules/plugin_manager/ftp.backend.inc on line 145.
# warning: ftp_chdir() [function.ftp-chdir]: Invalid number of arguments in /usr/www/users/testuser/sites/all/modules/plugin_manager/ftp.backend.inc on line 145.

...

Successfully installed admin_menu_dropdown.
jabapyth’s picture

Hmmm.... thats strange. Are you sure you're using version 1.4?
In both the cvs and 1.4 tarball, I see "ftp_chdir($connect,'');" at those lines, which is the correct number of arguments (And I've got a working install currently, with no such errors). Could It be a PHP version/configuration issue? Whats your PHP version?

harrybw’s picture

I am getting the same error:

warning: ftp_chdir() [function.ftp-chdir]: Invalid number of arguments in /var/www/web8/web/sites/all/modules/plugin_manager/ftp.backend.inc on line 145.

Using PHP 5.2.6-5

jabapyth’s picture

Assigned: Unassigned » jabapyth
Status: Active » Fixed

This has now been fixed, and you should be able to get it in the CVS.

Status: Fixed » Closed (fixed)

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

eigentor’s picture

Well, I get the same error...
Had the "Could not guess Drupal path" before and added a slash in front of the ftp path. Now it installed, but threw this error.

NickLitten’s picture

yes - i can confirm the same problem....

everything LOOKS like its installing ok when using plugin manager but I just get lots the same error message displayed....