I am getting this error:

"The plugin manager cannot run because neither the tar executable nor the Archive/Tar package could be located."

I don't know what it means, nor could I find any kind of documentation that told me what it meant. How do I fix this? I am running the module from a local installation (through WAMP server) if that matters.

CommentFileSizeAuthor
#4 dos.png15.75 KBjaypan
#3 dos.png15.75 KBjaypan

Comments

jabapyth’s picture

Check this out #312426: Requirements.
The error means you are missing a PHP module that is required by Plugin Manager

jabapyth’s picture

Actually, more detailed instructions have just been added to the Plugin Manager page: http://drupal.org/project/plugin_manager, under FAQ.

jaypan’s picture

StatusFileSize
new15.75 KB

Ok, I installed the pear package, and after that the archive_tar library, and upon running the 'pear list' command, I can see that the package is installed (please see screenshot - maybe I'm mistaken), but I am still getting the same error.

jaypan’s picture

StatusFileSize
new15.75 KB
mauror’s picture

Did you restarted the server? It would be better if you could see the extension loaded in the output of phpinfo().

Why are you suffering like this? Switching to Linux has never been easier...

ozish’s picture

Status: Active » Fixed

Hakulicious, I am using version 6.x.1-8 of plugin manager, but that shouldn't matter since your problem isn't actually with plugin manager. The problem you're having is configuring Pear to run on your WAMP installation. I had the same problem as you, right up to the point of showing Archive_Tar 1.3.2 as installed.

I fixed it by adding the line:

include_path = ".;C:\wamp\bin\php\php5.2.6\PEAR"

to the appropriate section of php.ini, and then restarting all services.

Then I also added that same path to the Windows PATH environment variable.

Note that you'll also have to set up an FTP server (Filezilla is easy) to be able to connect via FTP to your WAMP server. Let me know if this helps.

Status: Fixed » Closed (fixed)

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

redhatmatt’s picture

Status: Closed (fixed) » Active

#2 comment seems to no longer be true. Where's the dang documentation?

redhatmatt’s picture

I added pear path in, and it is clearly good to go. Archive Tar is in the pear directory and is up to date.
Very angry with plugin manager right now, I need some help fixing these training wheels that I don't actually need but am stuck with this acquia package atm due to the client.

Anonymous’s picture

I'm sorry that you're having troubles with this. Unfortunately, I really do not believe it to be the problem of the Plugin Manager. Take a look at this line of code:

@include_once("Archive/Tar.php");

That is the line that imports Archive/Tar.php. The only time you will see that error is if Archive/Tar is not located in a place accessible / known to the plugin manager. Most likely it is still a problem with the path.

redhatmatt’s picture

php knows where the path is in phpinfo .:/usr/share/path
my path is also /usr/kerberos/sbin:/usr/kerberos/bin://sbin://bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/share/pear

how much more does a person have to go through...

jaypan’s picture

Are you trying to use this locally? I never was able to get it working locally, but I've never had a single issue trying to get it to work on my server. And if the problem is local, just download it - it's just as easy as using this module. This module's strength comes when you are working with a remote installation.

rfabbri’s picture

An easy solution for windows users to make it work who don't have or don't want to use PEAR.

Step 1 :

- Download latest unxutils from http://sourceforge.net/projects/unxutils/files/
- Unzip them or install into the c:\Logiciels\bin path

Step 2 :

- Edit the plugin_manager.module file of this module

Look for 2 lines containing the popen PHP command and modify like that according to the path chosen just before :

@popen("c:\\Logiciels\bin\\tar --version", "r");

Line 227 - modify like this :
popen("c:\\Logiciels\bin\\tar -zvxf $file_safe -C $dir_safe", "r");

The module should now be working

Not all solutions are based on php (like this project who is using tar) so why not using tar ???
Nice module downloading for Windows users : )

Anonymous’s picture

Title: The plugin manager cannot run because neither the tar executable nor the Archive/Tar package could be located. » Tar should never be missing
Version: 6.x-1.4 » 6.x-2.x-dev
Category: support » feature
Status: Active » Fixed

Most recent commit adds Archive_Tar to the plugin_manager.

Status: Fixed » Closed (fixed)

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

MoonChilde’s picture

I know this thread is closed, but the answers above either don't work, or arn't very clean.

In WAMP, although there is a PEAR subdirectory, PEAR is not installed with the Wampserver.

Check here:
http://phphints.wordpress.com/2008/08/26/installing-pear-package-manager...

(maybe Drupal should check this out, instead of leaving it up to wordpress :P

If the link is dead, search for:

php -d phar.require_hash=0 PEAR/go-pear.phar

Cheers