*FIXED* update-fixes remove avantfax icon

jucha

New Member
Joined
Mar 12, 2008
Messages
29
Reaction score
0
I have piaf 2061 (64 bits) and incredfax 2 instaled. Works very good.

Today 1 ran yum update, and saw tha php was uptaded.
Test all page freepbx, then avantfax but login with maint failed.
I ran update fixes and click YES, but avantfax icon was removed.
but i can to login to avantfax http://myip/avantfax/admin

Two problems:
1. yum update (php)
2. update-fixes removes avantfax icon.
 
hmm damn! Will look at it

Remember

1. Never run yum update outside of update-source. (There is never ANY reason to run update unless you are trying to get the a particular version of Centos. Even then only run under update-source.

2. Not sure how you got incredible fax 2 installed on anything less than Centos 6.2 I will check our code for errors.

3, Initial login to avantfax is (AS IT SAYS IN THE FINAL SCREEN OF THE INSTALL-INCREDPBX2)

Username: maint
Password: password

Notice it is NOT WHAT YOU SET AS YOUR MAINT PASSWORD WHEN YOU INSTALLED PBX IN A FLASH.

4. PHP update should make NO difference as I have been running the update for a while on our development machines.

5. update-fixes could very well remove the avantfax icon.

6. If your maint login to avantfax failed how did you get in?

7. Next time you have a problem and want support you MUST post an unedited screen capture of status in your first post.

Tom
 
7. i agree.

PBX in a Flash PURPLE Status Program
──────────────────────────────────────────────────────────────────────────────
┌────────────────────────System Information───────────────────────────┐
│ Asterisk = ONLINE | Dahdi = ONLINE | MySQL = ONLINE │
│ SSH = ONLINE | Apache = ONLINE | Iptables = ONLINE │
│ Fail2ban = ONLINE | Internet = ONLINE | Ip6Tables = ONLINE │
│ Disk Free = ADEQUATE| Mem Free = ADEQUATE| NTPD = ONLINE │
│ SendMail = ONLINE | Samba = OFFLINE | Webmin = ONLINE │
│ Ethernet0 = ONLINE | Ethernet1 = N/A | Wlan0 = N/A │
│ │
│ PIAF Installed Version = 2.0.6.1 Running on *VMWARE* │
│ FreePBX Version = 2.9.0.9 │
│ Running Asterisk Version = 1.8.8.0 │
│ Asterisk Source Version = 1.8.8.0 │
│ Dahdi Source Version = 2.5.0.2+2.5.0.2 │
│ Libpri Source Version = 1.4.12 │
│ IP Address = 192.168.5.131 on eth0 │
│ Operating System = CentOS release 6.2 (Final) │
│ Kernel Version = 2.6.32-131.21.1.el6.x86_64 - 64 Bit │
│ │
└─────────────────────────────────────────────────────────────────────┘

6. There are errors in /var/log/httpd/error_log

[Fri Jan 13 15:22:14 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __set() must have public visibility and cannot be static in /var/www/html/avantfax/includes/AFUserAccount.php on line 800
[Fri Jan 13 15:22:14 2012] [error] [client 192.168.5.1] PHP Warning: Unknown: open(/var/lib/php/session/sess_5s3n1r00ovp2fe6ieaqjtpa862, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Fri Jan 13 15:22:14 2012] [error] [client 192.168.5.1] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
[Fri Jan 13 15:22:22 2012] [error] [client 192.168.5.1] PHP Warning: session_start(): open(/var/lib/php/session/sess_5s3n1r00ovp2fe6ieaqjtpa862, O_RDWR) failed: Permission denied (13) in /var/www/html/avantfax/includes/functions.php on line 133, referer: http://192.168.5.131/avantfax/
[Fri Jan 13 15:22:22 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __unset() must have public visibility and cannot be static in /var/www/html/avantfax/includes/FormRules.php on line 461, referer: http://192.168.5.131/avantfax/

After update-fixes

[Sat Jan 14 11:28:27 2012] [error] [client 192.168.5.1] PHP Deprecated: Function split() is deprecated in /var/www/html/menu.php on line 31, referer: http://192.168.5.131/index.php
[Sat Jan 14 11:28:27 2012] [error] [client 192.168.5.1] PHP Deprecated: Function split() is deprecated in /var/www/html/menu.php on line 31, referer: http://192.168.5.131/index.php
[Sat Jan 14 11:42:19 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __unset() must have public visibility and cannot be static in /var/www/html/avantfax/includes/FormRules.php on line 461
[Sat Jan 14 11:42:19 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __isset() must have public visibility and cannot be static in /var/www/html/avantfax/includes/FormRules.php on line 472
[Sat Jan 14 11:42:19 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __get() must have public visibility and cannot be static in /var/www/html/avantfax/includes/FormRules.php on line 486
[Sat Jan 14 11:42:19 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __set() must have public visibility and cannot be static in /var/www/html/avantfax/includes/FormRules.php on line 507
[Sat Jan 14 11:42:19 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __unset() must have public visibility and cannot be static in /var/www/html/avantfax/includes/AFUserAccount.php on line 754
[Sat Jan 14 11:42:19 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __isset() must have public visibility and cannot be static in /var/www/html/avantfax/includes/AFUserAccount.php on line 767
[Sat Jan 14 11:42:19 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __get() must have public visibility and cannot be static in /var/www/html/avantfax/includes/AFUserAccount.php on line 783
[Sat Jan 14 11:42:19 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __set() must have public visibility and cannot be static in /var/www/html/avantfax/includes/AFUserAccount.php on line 800
[Sat Jan 14 11:42:27 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __unset() must have public visibility and cannot be static in /var/www/html/avantfax/includes/AFUserAccount.php on line 754, referer: http://192.168.5.131/avantfax/admin/
[Sat Jan 14 11:42:27 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __isset() must have public visibility and cannot be static in /var/www/html/avantfax/includes/AFUserAccount.php on line 767, referer: http://192.168.5.131/avantfax/admin/
[Sat Jan 14 11:42:27 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __get() must have public visibility and cannot be static in /var/www/html/avantfax/includes/AFUserAccount.php on line 783, referer: http://192.168.5.131/avantfax/admin/
[Sat Jan 14 11:42:27 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __set() must have public visibility and cannot be static in /var/www/html/avantfax/includes/AFUserAccount.php on line 800, referer: http://192.168.5.131/avantfax/admin/
[Sat Jan 14 11:42:27 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __unset() must have public visibility and cannot be static in /var/www/html/avantfax/includes/FormRules.php on line 461, referer: http://192.168.5.131/avantfax/admin/
[Sat Jan 14 11:42:27 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __isset() must have public visibility and cannot be static in /var/www/html/avantfax/includes/FormRules.php on line 472, referer: http://192.168.5.131/avantfax/admin/
[Sat Jan 14 11:42:27 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __get() must have public visibility and cannot be static in /var/www/html/avantfax/includes/FormRules.php on line 486, referer: http://192.168.5.131/avantfax/admin/
[Sat Jan 14 11:42:27 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __set() must have public visibility and cannot be static in /var/www/html/avantfax/includes/FormRules.php on line 507, referer: http://192.168.5.131/avantfax/admin/
[Sat Jan 14 11:42:27 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __unset() must have public visibility and cannot be static in /var/www/html/avantfax/includes/AFUserAccount.php on line 754, referer: http://192.168.5.131/avantfax/admin/
[Sat Jan 14 11:42:27 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __isset() must have public visibility and cannot be static in /var/www/html/avantfax/includes/AFUserAccount.php on line 767, referer: http://192.168.5.131/avantfax/admin/
[Sat Jan 14 11:42:27 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __get() must have public visibility and cannot be static in /var/www/html/avantfax/includes/AFUserAccount.php on line 783, referer: http://192.168.5.131/avantfax/admin/
[Sat Jan 14 11:42:27 2012] [error] [client 192.168.5.1] PHP Warning: The magic method __set() must have public visibility and cannot be static in /var/www/html/avantfax/includes/AFUserAccount.php on line 800, referer: http://192.168.5.131/avantfax/admin/
 
This is an avantfax problem as opposed to a PBX in a Flash problem. Please open a support ticket with them.


Does your system send and receive faxes? I suspect this is an interaction with PHP 5.3 however that is what the base install of the 2.0.6.X is so we all have to live with it. If it is broke then I have no idea. Update-fixes does not modify anything in the avantfax folder at all! However I will look and see of there is something there that might possibly effect things.

The problem with removing the advantfax icon no longer occurs.

Good luck

Tom
 
I lost the Avantfax icon on the main menu after running update-programs and update-fixes on my x64 20621 PIAF. I can send and receive faxes and get to Avantfax by direct url but the button on the main menu has vanished.

Since you have fixed the issue that removes the icon, is there an easy way to add the icon back to the main menu screen?
 
cp -vf /usr/src/incredfax2files/ico_fax.png /var/www/html/welcome/ico_fax.png
sed -i '/asteridex/ i\1,Fax,./avantfax,Avantfax,ico_fax.png' /var/www/html/welcome/.htindex.cfg
 
Add the following line:

1,Fax,./avantfax,Avantfax,ico_fax.png

to the file /var/www/html/welcome/.htindex.cfg. Here is what the first few line of this file looks like on my system:

1,recordings,./recordings,Voicemail & Recordings,ico_recordings.png
1,panel,./panel,Flash Operator Panel,ico_fop.png
1,meetme,./meetme,MeetMe Conference,ico_meetme.png
1,Fax,./avantfax,Avantfax,ico_fax.png
2,asteridex,./asteridex4,Nerd Vittles AsteriDex,ico_asteridex.png
 

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top