Am I doing somthing wrong to be getting the below warnings, I get the same results without the --force-version as well
[root@asterisk1 src]# ./install_amp --force-version=2.0.1
-bash: ./install_amp: No such file or directory
[root@asterisk1 src]# cd freepbx
[root@asterisk1 freepbx]# ./install_amp --force-version=2.0.1
Checking for PEAR DB..OK
Checking for PEAR Console::Getopt..OK
Forcing upgrade from version 2.0.1
Checking user..OK
Checking for /etc/amportal.conf..OK
Reading /etc/amportal.conf..OK
Checking for /etc/asterisk/asterisk.conf..OK
Reading /etc/asterisk/asterisk.conf..OK
Checking for Asterisk 1.2..OK
Checking for selinux..OK
Connecting to database..OK
Installing new AMP files..OK
Configuring install for your environment..OK
Setting permissions on files..OK
Checking for upgrades..1 found
Upgrading to 2.1beta1..
-> Running SQL script /usr/src/freepbx/upgrades/2.1beta1/tables.sql
-> Running PHP script /usr/src/freepbx/upgrades/2.1beta1/upgrade.php
-> Running PHP script /usr/src/freepbx/upgrades/2.1beta1/tables.php
Upgrading to 2.1beta1..OK
Generating AMP configs..
Generating Configurations.conf..
Checking for PEAR DB..OK
Checking for PEAR Console::Getopt..OK
Checking for /etc/amportal.conf..OK
Reading /etc/amportal.conf..OK
Reading /etc/asterisk/asterisk.conf..OK
Connecting to database..OK
<br />
<b>Warning</b>: array_keys(): The first argument should be an array in <b>/var/www/html/admin/modules/pinsets/functions.inc.php</b> on line <b>11</b><br />
<br />
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/var/www/html/admin/modules/pinsets/functions.inc.php</b> on line <b>11</b><br />
<br />
<b>Warning</b>: array_keys(): The first argument should be an array in <b>/var/www/html/admin/modules/pinsets/functions.inc.php</b> on line <b>11</b><br />
<br />
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/var/www/html/admin/modules/pinsets/functions.inc.php</b> on line <b>11</b><br />
<br />
<b>Warning</b>: Missing argument 1 for generateconf() in <b>/var/www/html/admin/modules/pinsets/functions.inc.php</b> on line <b>22</b><br />
<br />
<b>Warning</b>: fopen(/etc/asterisk/): failed to open stream: Is a directory in <b>/var/lib/asterisk/bin/retrieve_conf</b> on line <b>321</b><br />
Please Reload Asterisk by visiting http:///admin
Generating AMP configs..OK
Restarting Flash Operator Panel../var/www/html/panel/safe_opserver: line 5: 14468 Terminated ./op_server.pl
OK
Please Reload Asterisk by browsing your server.