Cannot to export Inbound daily report after migration

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Cannot to export Inbound daily report after migration

Postby saulortega » Mon Feb 23, 2015 6:49 pm

Hello.

I recently migrated Vicidial to a new server with Vicibox 6.0.2 (without any update).

Now when I want to download a inbound daily report of a date before the migration, it appears instead download the CSV:

Image


The dates after migration can be downloaded. Before not. The online report for dates before migration is shown fine, the problem is only when I try download it.

Is there any way to fix it without update Vicidial?
saulortega
 
Posts: 118
Joined: Mon Jul 29, 2013 11:46 am

Re: Cannot to export Inbound daily report after migration

Postby mav2287 » Thu Feb 26, 2015 9:00 am

The band-aid super cheat way to do it is when you see this page do a File->Save and save it as a .csv and then just click "Back" when you are done. That is the no effort deal with the way it is way.

The RIGHT way to go and try to see what is causing this then fix it is to go in and start looking at things like the .htacess file and the file permissions. Most times I have seen things like this it is one of those two. That said updating Vicidial may solve that for you, but there are no guarantees.
ViciBox5.x86_64-5.0.3.preload from .iso upgraded to 13.1 | VERSION: 2.10-444c BUILD: 150129-0828 | 1.8.32.2-vici | Dual Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel twin quad core 3Ghz Xeon chips | 32gb of RAM
mav2287
 
Posts: 256
Joined: Thu Oct 03, 2013 6:47 pm

Re: Cannot to export Inbound daily report after migration

Postby saulortega » Wed Mar 11, 2015 10:45 am

I just noticed that it happen only with one specific in-group.

In the source code of the page, appears it:

Code: Select all
<!-- 0+=0.00 //-->
<!-- 0+=0.00 //-->
<!-- 0+=0.00 //-->
<!-- 0+=0.00 //-->
<!-- 0+=0.00 //-->
<!-- 0+=0.00 //-->
<!-- 0+=0.00 //-->
<!-- 0+=59.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=0.00 //-->
<!-- 59+=59.00 //-->
<!-- 118+=111.00 //-->
<!-- 229+=67.00 //-->
<!-- 296+=56.00 //-->
<!-- 352+=0.00 //-->
<!-- 352+=0.00 //-->
<!-- 352+=0.00 //-->
<!-- 352+=0.00 //-->
<!-- 352+=0.00 //-->
<!-- 352+=0.00 //-->
<!-- 352+=0.00 //-->
<!-- 352+=0.00 //-->
<!-- 352+=81.00 //-->
<!-- 433+=47.00 //-->
<!-- 480+=149.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=0.00 //-->
<!-- 629+=64.00 //-->
<!-- 693+=0.00 //-->
<!-- 693+=59.00 //-->
<!-- 752+=0.00 //-->
<!-- 752+=0.00 //-->
<!-- 752+=0.00 //-->
<!-- 752+=0.00 //-->
<!-- 752+=0.00 //-->
<!-- 752+=0.00 //-->
<!-- 752+=0.00 //-->
<!-- 752+=0.00 //-->
<!-- 752+=0.00 //-->
<!-- 752+=0.00 //-->
<!-- 752+=0.00 //-->
<!-- 752+=0.00 //-->
<!-- 752+=0.00 //-->
<!-- 752+=55.00 //-->
<!-- 807+=63.00 //-->
<!-- 870+=0.00 //-->
<!-- 870+=150.00 //-->
<!-- 1020+=125.00 //-->
<!-- 1145+=104.00 //-->
<!-- 1249+=121.00 //-->
<!-- 1370+=131.00 //-->
<!-- 1501+=133.00 //-->
<!-- 1634+=124.00 //-->
<!-- 1758+=164.00 //-->
<!-- 1922+=0.00 //-->
<!-- 1922+=0.00 //-->
<!-- 1922+=79.00 //-->
<!-- 2001+=56.00 //-->
<!-- 2057+=0.00 //-->
<!-- 2057+=0.00 //-->
<!-- 2057+=0.00 //-->
<!-- 2057+=0.00 //-->
<!-- 2057+=0.00 //-->
<!-- 2057+=210.00 //-->
<!-- 2267+=225.00 //-->
<!-- 2492+=157.00 //-->
<!-- 2649+=165.00 //-->
<!-- 2814+=157.00 //-->
<!-- 2971+=94.00 //-->
<!-- 3065+=56.00 //-->
<!-- 3121+=62.00 //-->
<!-- 3183+=86.00 //-->
<!-- 3269+=60.00 //-->
<!-- 3329+=0.00 //-->
<!-- 3329+=0.00 //-->
<!-- 3329+=83.00 //-->
<!-- 3412+=0.00 //-->
<!-- 3412+=0.00 //-->
<!-- 3412+=0.00 //-->
<!-- 3412+=0.00 //-->
<!-- 3412+=0.00 //-->
<!-- 3412+=0.00 //-->
<!-- 3412+=0.00 //-->
<!-- 3412+=0.00 //-->
<!-- 3412+=104.00 //-->
<!-- 3516+=54.00 //-->
<!-- 3570+=0.00 //-->
<!-- 3570+=101.00 //-->
<!-- 3671+=100.00 //-->
<!-- 3771+=130.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
<!-- 3901+=0.00 //-->
"Inbound Daily Report","2015-03-11 10:39:36"
Selected in-groups: xxxxxxxxxxxxxxx
"Time range 1 days:","2015-02-19 00:00:00 to 2015-02-19 23:59:59"

"","TOTAL","TOTAL","TOTAL","TOTAL","TOTAL","AVG","AVG","AVG","TOTAL","TOTAL","TOTAL"
"","CALLS","CALLS","AGENTS","CALLS","ABANDON","ABANDON","ANSWER","TALK","TALK","WRAP","CALL"
"SHIFT DATE-TIME RANGE","OFFERED","ANSWERED","ANSWERED","ABANDONED","PERCENT","TIME","SPEED","TIME","TIME","TIME","TIME"
...
saulortega
 
Posts: 118
Joined: Mon Jul 29, 2013 11:46 am

Re: Cannot to export Inbound daily report after migration

Postby saulortega » Wed Mar 11, 2015 10:58 am

Solution:

In AST_inbound_daily_report.php, comment this line:
Code: Select all
print "<!-- $FtotANSWERSspeed+=$qs[$i] //-->\n";
saulortega
 
Posts: 118
Joined: Mon Jul 29, 2013 11:46 am

Re: Cannot to export Inbound daily report after migration

Postby mflorell » Wed Mar 11, 2015 11:18 am

Or you could upgrade to the latest svn/trunk, this bug was fixed last month.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 96 guests