FreePBX upgrade errors

Running Ubuntu 10.04. I have asterisk instaled and running, but I’m running into freepbx issues. I have it installed, but whenever I try to download/upload modules and apply changes I get this error:

exit: 1

Warning: Directive ‘register_long_arrays’ is deprecated in PHP 5.3 and greater in Unknown on line 0

Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking for /etc/amportal.conf …OK
Bootstrapping /etc/amportal.conf …OK
Parsing /etc/amportal.conf …OK
Parsing /etc/asterisk/asterisk.conf …OK
Connecting to database…OK
Connecting to Asterisk manager interface…OK
[FATAL] SELECT custom_exten, description FROM custom_extensions [nativecode=1017 ** Can’t find file: ‘custom_extensions’ (errno: 2)]SQL -
SELECT custom_exten, description FROM custom_extensions

1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

Any ideas?