I am getting this error,
Drush was unable to export FirePHP to .../sites/all/modules/devel/FirePHPCore

When trying to enable the module.

I'm running a Ubuntu 11.10 server. I do most PHP management through PEAR.

#10 devel-firephp_warn_instead_of_error-1360630-4.patch507 bytesfester88
PASSED: [[SimpleTest]]: [MySQL] 2 pass(es).
[ View ]


moshe weitzman’s picture

Category:bug» support
Status:Active» Fixed

It is a one-time harmless warning. Devel's drush integration is trying to download a library for you but you likely will never need it.

Mazer.Rackham’s picture

Never mind. Quick Google search fixed me up right quick. Thank you for the help Moshe!

Status:Fixed» Closed (fixed)

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

fester88’s picture

I am also seeing this error when enabling Devel through Drush, but I am automating build of my solution which looks for errors output by Drush. Having Devel report this as an error causes my builds to report a failure.
If it is only considered a minor warning, could it please be logged with an message type of 'warning' rather than 'error'?

fester88’s picture

Status:Closed (fixed)» Active

Assigning this issue back to active, please see my last post.

salvis’s picture

Sounds reasonable. Would you like to post a patch?

Mithrandir’s picture

if drush_shell_exec('svn export http://firephp.googlecode.com/svn/branches/Library-FirePHPCore-0.3 ' . $path) fails, this message will appear.

It will fail if your server does not have the 'svn' command - so on apt-get enabled systems, you just do an
apt-get install subversion
and you can re-install FirePHP (for debugging messages in Firebug) with
drush devel-download

saidij1976’s picture

Thank you Mithrandir, that solved my problem.

asteroid.miner’s picture

Install the library by hand

I got this error to go away, on Windows 7, by creating the directory
and then putting the library there:

[00:43] g:/dev/site/rel/r1_0/www/sites/all/libraries/FirePHPCore> ls
FirePHP.class.php  FirePHP.class.php4  LICENSE  fb.php  fb.php4

Drush is happy:

/www> drush pm-enable devel
devel is already enabled.                                                   [ok]
There were no extensions that could be enabled.                             [ok]
FirePHP already present. No download required.                              [ok]

The FirePHPCore library is here:


Moshe >> Devel's drush integration is trying to download a library
Moshe >> for you but you likely will never need it.

Moshe, what is the use case for FirePHP?

Just curious.

fester88’s picture

new507 bytes
PASSED: [[SimpleTest]]: [MySQL] 2 pass(es).
[ View ]

Here is a patch to change the log type from 'error' to 'warning' as requested.
This is my first patch so hopefully I got it right :)

salvis’s picture

Status:Active» Needs review
moshe weitzman’s picture

Status:Needs review» Reviewed & tested by the community

looks good.

salvis’s picture

Status:Reviewed & tested by the community» Fixed

Pushed to D8 and D7 -dev.


Status:Fixed» Closed (fixed)

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

craigmc’s picture

Might be good to list the unstated dependency on SVN for this to work with drush. That's what was causing the issue in my build-- hadn't installed subversion...

salvis’s picture


Please open a new issue for this.

remi’s picture

Drush needs Subversion to get FirePHP:

Install Subversion, disable Devel, reenable Devel. This should do it.

remi’s picture

Issue summary:View changes

removed full path for security purposes