Page 1 of 1

list status report email with html attachment instead of csv

PostPosted: Tue Aug 16, 2022 10:04 pm
by jayboo876
Ran the "Lists Statuses Report" report from the admin gui and was able to click the "download full report" link to download a nice csv report. So, I then hover over the link and copied its content (below) and pasted the exact url into the automated report setup. However, when automated report runs, I keep getting report in html format instead of the same csv I got from the gui. I checked the AST_LISTS_stats.php on the webserver (and all servers just to be sure) and the if statement ( if ($file_download>0 || $file_download=="ALL") {) seems to indicate that the file should be csv once these values are set. Any thoughts on how to fix this, really need the csv attachment. Thanks.

https://x.x.x.x/vicidial/AST_LISTS_stats.php?DB=0&list[]=205&list[]=206&SUBMIT=SUBMIT&file_download=ALL

installation
generic vicibox10 iso, ast16 update, cluster mode, virtual servers

Re: list status report email with html attachment instead of

PostPosted: Wed Aug 17, 2022 6:26 pm
by carpenox
try removing DB=0 and the [] brackets after list and combine the 2 so its separate by comma like this:

https://x.x.x.x/vicidial/AST_LISTS_stat ... wnload=ALL

Also. get off VPS severs, they wont work correctly and will forever give you problems, the software is FREE, dont be cheap and spend some money on a real dedicated server from OVH or Ionos

Good luck

Chris

Re: list status report email with html attachment instead of

PostPosted: Wed Aug 17, 2022 9:42 pm
by jayboo876
carpenox wrote:try removing DB=0 and the [] brackets after list and combine the 2 so its separate by comma like this:

https://x.x.x.x/vicidial/AST_LISTS_stat ... wnload=ALL

Also. get off VPS severs, they wont work correctly and will forever give you problems, the software is FREE, dont be cheap and spend some money on a real dedicated server from OVH or Ionos

Good luck

Chris


Unfortunately still receiving html attachment after using your method

Re: list status report email with html attachment instead of

PostPosted: Thu Aug 18, 2022 12:17 pm
by carpenox
try adding this: &file_download=1