Pbdirectory?

I just updated my modules, (56 to be exact, or something like that…) and now pbdirectory is broken. It says:
The following modules are disabled because they are broken:
pbdirectory
You should go to the module admin page to fix these.
Added 0 minutes ago
(freepbx.modules_broken)

Any help? FreePBX 2.5.1.1

PBX in a Flash Version 1.3 Daemon Status


  • Asterisk * ONLINE * Zaptel * ONLINE * MySQL * ONLINE *
  • SSH * ONLINE * Apache * ONLINE * Iptables * ONLINE *
  • Fail2ban * ONLINE * IP Connect* ONLINE * Ip6tables * ONLINE *
  • BlueTooth * ONLINE * Hidd * ONLINE * NTPD * ONLINE *
  • Sendmail * ONLINE * Samba * ONLINE * Webmin * ONLINE *
  • Ethernet0 * ONLINE * Ethernet1 * N/A * Wlan0 * N/A *

  • Running Asterisk Version : Asterisk 1.4.21.2
  • Asterisk Source Version : 1.4.21.2
  • Zaptel Source Version : 1.4.12.1
  • Libpri Source Version : 1.4.7
  • Addons Source Version : 1.4.7

pbx.local on 192.168.1.24 - eth0
CentOS release 5.2 (Final) :32 Bit Kernel: 2.6.18-92.1.6.el5
[email protected]:~ $

I fixed this by opening a linux shell and issuing these commands.

cd /var/www/html/admin/modules/pbdirectory/
rm -rf *
exit

Then go to the module page in FreePBX and re-install pbdirectory.

The files went away, but now when I try to install it, it says it is broken, So I uninstalled it. It disappeared from the module menu. How do I get it back?