PHP errors/GUI problems in CRD and panel

Hello
i have several issues relating to php and the GUI. If you have any clues please let me know.

CRD
Notice: Undefined variable: skip_astman in /var/www/html/admin/header.php on line 117

Notice: A session had already been started - ignoring session_start() in /var/www/html/admin/cdr/cdr.php on line 3

Notice: Undefined variable: list_total_day in /var/www/html/admin/cdr/call-log.php on line 755
content is also out of alignment

PANEL
Notice: Undefined variable: skip_astman in /var/www/html/admin/header.php on line 117

content is also out of alignment

System Recordings
"Name this Recording" contains
Notice: Undefined variable: rname in /var/www/html/admin/modules/recordings/page.recordings.php on line 229

what version are you running?

From a quick check of $skip_astman in header.php it is defined above the include(‘header.php’) in config.php.

Concerning $rname in page.recordings.php, it is defined at the top of the file.

Given these, something sounds very wrong with your setup???

I am running freepbx-2.5.1

i just run install_amp, below are the errors i am getting and an output of the install. on the up side the alignment problems are gone. if you have any tips let me know

reports
Notice: A session had already been started - ignoring session_start()
Notice: Undefined variable: list_total_day in

system recording
when i edit a defined recording
Notice: Undefined variable: html_txt in
Notice: Undefined variable: html_txt in
there is html in the “Name this Recording:” box

install details
./install_amp
Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking user…OK
Checking if Asterisk is running…running with PID: 22978…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
Using asterisk as PBX Engine
Checking for Asterisk version…1.4.23.1
Checking for selinux…OK
Connecting to database…OK
Checking current version of AMP…2.5.1
Installing new FreePBX files…/etc/asterisk/cdr_mysql.conf has been changed from the original version.
Overwrite (y=yes/a=all/n=no/d=diff/s=shell/x=exit)? a
OK (513 files copied, 0 skipped)
Configuring install for your environment…amportal…freepbx_engine…done
apply username/password changes to conf files…done
creating missing #include files…OK
OK
Setting permissions on files…OK
Checking for upgrades…No upgrades found
Generating AMP configs…
Generating Configurations.conf, (if Asterisk is not running, you will get an error
In case of error, start Asterisk and hit the red bar in the GUI to generate the Configuraions.conf files
This account is currently not available.
Generating AMP configs…OK
Restarting Flash Operator Panel…OK
Checking dashboard…
Module successfully installed

The following error(s) occured:

  • Module is already enabled
    installed
    Checking framework…
    The following error(s) occured:
  • Module cannot be enabled
    enabled
    Checking featurecodeadmin…
    Module successfully installed

The following error(s) occured:

  • Module is already enabled
    installed
    Checking core…
    Checking if directdids need migrating…already done
    updating zap callgroup, pickupgroup…not needed
    checking for delay_answer field …already exists
    checking for pricid field …already exists
    Checking for Global var RECORDING_STATE…Already exists!
    Module successfully installed

The following error(s) occured:

  • Module is already enabled
    installed
    Checking music…

Module successfully installed

The following error(s) occured:

  • Module is already enabled
    installed
    Checking infoservices…
    Module successfully installed

The following error(s) occured:

  • Module is already enabled
    installed
    Checking recordings…
    checking for fcode field…already exists
    checking for fcode_pass field…already exists
    Module successfully installed

The following error(s) occured:

  • Module is already enabled
    installed
    Checking voicemail…
    Module successfully installed

The following error(s) occured:

  • Module is already enabled
    installed
    Checking customappsreg…
    Module successfully installed

The following error(s) occured:

  • Module is already enabled
    installed
    Please update your modules and reload Asterisk by browsing to your server.

  • Note: It’s possible that if you click the red ‘Update Now’ bar BEFORE *
  • updating your modules, your machine will start dropping calls. Ensure *
  • that all modules are up to date BEFORE YOU CLICK THE RED BAR. As long *
  • as this is observed, your machine will be fully functional whilst the *
  • upgrade is in progress. *

you seemed to have completely switched what ‘errors’ you are seeing. It helps if you are a bit more specific, as you were in your first post but which lacked information about specific versions you are running.

So please if you think there are more issues, post specifically what they are vs. a long dump of your install that takes time to read through by people who may be trying to help and seek out where there may be issues.

thanks

is there an uninstall script that will remove all traces of freepbx? if so then i could try doing a fresh install of it again

nope

instead of fixing the problem i install elastix.

The GUI works perfectly on here