Page 1 of 1

ViciBox Update, All went well until...

PostPosted: Sat May 16, 2015 2:29 pm
by Nefariousparity
I was contacted to upgrade and maintain this system. It is currently a single server preload install running the latest version of Vicidial, and asterisk. This server is behind a firewall\router. However when I tail apache error log, upon trying to monitor an agent I am getting this error

[php5:error] [pid 8317] [client *.*.*.*:56491] PHP Fatal error: Cannot redeclare lookup_gmt() in /srv/www/htdocs/vicidial/functions.php on line 421, referer:

Server information
Vicibox6.0 preload
Updated

VERSION: 2.12-485a
BUILD: 150512-2225
© 2015 ViciDial Group

Version: 2.12b0.5
SVN Version: 2321
DB Schema Version: 1411
DB Schema Update Date: 2015-05-15 19:25:10

Kind Regards!

-Chris

**Update**

When I look up functions.php in vicidial I see this in the CHANGES: notes last one

150514-1522 - Added lookup_gmt function, copied from agc/functions.php

====^ That seems to be the exact issue I am having.
I go to realtime reports, I click on report display options. I set it up to listen to agent, and when I click link it does nothing. However I get the above error in /var/log/apache2/error.log

Re: ViciBox Update, All went well until...

PostPosted: Sun May 17, 2015 8:13 am
by mflorell
You will need to upgrade to the latest svn/trunk, this was fixed yesterday.

Re: ViciBox Update, All went well until...

PostPosted: Tue May 19, 2015 1:16 pm
by Nefariousparity
Wow, thank you Mr Florrel. Thank you. You know as a interim fix, I took functions.php from a 1 version behind, and used that. There was a huge code difference. For instance the new version was like 1297 lines of code, the version before GMT add on was 400+ or something. It fixed the issue. Of course a bandaid. I like to do stuff right! Thanks MFlorell. You are awesome!