Fop d'ont show channels [resolved]

I had to reinstall FreePbx and asterisk in my server, because another application modified /etc/asterisk files.
I use an openvox a800 card with 2 lines and 6 terminals.
I have saved /etc/zaptel.conf and /etc/asterisk/zapata.conf.
I have compiled the same zaptel sources as the 1st time and newer asterisk and freepbx:
zaptel-1.4.10.1
asterisk-1.4.22
asterisk-addons-1.4.7
libpri-1.4.7
freepbx-2.5.1
I have reconfigured mi trunks and channels but i have disconnected the pstn lines and terminals until everithing is fine again.
Everithing looks fine except for fop. There are no channels and trunks are flashing green/red.
How can i fix fop?

I am not sure if my /etc/asterisk/zapata.conf is fine:
It is the default file with these added lines:
#include zapata-channels.conf
#include zapata_additional.conf
zapata-channels.conf file is the zaptelconf generated config. i have removed everithing except for the 2 lines:
;;; line="7 OPVXA1200/0/6"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 7
context=default

;;; line="8 OPVXA1200/0/7"
signalling=fxs_ks
callerid=asreceived
group=1
context=from-pstn
channel => 8
context=default

I think zapata_additional.conf is for freepbx and have channels config:
;;;;;;[601]
signalling=fxo_ks
pickupgroup=
[email protected]
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <601>
busydetect=no
busycount=7
accountcode=
channel=>1
and so on for all 6 channel

In asterisk command line i get this to “zap show channels”:
CLI> zap show channels
Chan Extension Context Language MOH Interpret
pseudo from-internal es default
1 from-internal es default
2 from-internal es default
3 from-internal es default
4 from-internal es default
5 from-internal es default
6 from-internal es default
7 from-pstn es default
8 from-pstn es default

Is it correct to include those files at the end zapata.conf?

Thanks for your help

The problem was i have 2 panel directories. I have deleted /var/www/panel and configured zapata.conf with the line ports, and now everithing shows as expected.
Thanks

I have found that starting fop from link in freepbx (http://192.168.1.1/asterisk/admin/panel.php) i get only 2 trunks flashing red/green, but if i go to fop througt welcome page (http://192.168.1.1/asterisk/panel/) i get my 6 pstn channels and 2 sip channels (solid green) wich are configured in freepbx plus 4 parking lots wich are not configured and no trunks.
How is that possible?