ViciBox Update, All went well until...

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

ViciBox Update, All went well until...

Postby Nefariousparity » Sat May 16, 2015 2:29 pm

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
|| DB Schema Version: 1609 || Asterisk 11.25.1-vici || BUILD: 190902-0839 ||VERSION: 2.14-718a||SVN: 3133||10xTelephony||1x Database||1x Slave||1x Web||1x Archive||ViciBox v.8.0.1
Nefariousparity
 
Posts: 327
Joined: Wed Sep 12, 2012 7:01 pm

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

Postby mflorell » Sun May 17, 2015 8:13 am

You will need to upgrade to the latest svn/trunk, this was fixed yesterday.
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

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

Postby Nefariousparity » Tue May 19, 2015 1:16 pm

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!
|| DB Schema Version: 1609 || Asterisk 11.25.1-vici || BUILD: 190902-0839 ||VERSION: 2.14-718a||SVN: 3133||10xTelephony||1x Database||1x Slave||1x Web||1x Archive||ViciBox v.8.0.1
Nefariousparity
 
Posts: 327
Joined: Wed Sep 12, 2012 7:01 pm


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 34 guests