500 error for User Stats report only

All installation and configuration problems and questions

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

500 error for User Stats report only

Postby doberUSA » Wed Apr 01, 2020 6:04 pm

1) Version of VICIDIAL: 2.14-735a ;BUILD: 200127-1620
2) loadavg: 0.03 0.14 0.15 1/286 5414
3) 9 ECUs, 2 vCPUs, 3.4 GHz, Intel Xeon Platinum 8124M, 4 GiB memory, 2 x 50 GiB SSD Storage Capacity
4) Codecs used: Viciphone web phone
5) VOIP
6) OS: Linux version 4.4.155-68-default

Hello,

For whatever reason the only report that does not work is user stats. Throws an instant 500 error.
Increased memory in php.ini just in case.
Checked permissions on file and folder. All are as should be.

Any idea why this report, and only this report, would not function?
doberUSA
 
Posts: 6
Joined: Tue Jan 28, 2020 8:07 pm

Re: 500 error for User Stats report only

Postby doberUSA » Wed Apr 01, 2020 6:23 pm

Found this in the logs:

PHP Fatal error: Allowed mem
ory size of 262144 bytes exhausted (tried to allocate 49152 bytes) in /srv/www/htdocs/agc/conf_exten_check.php on line 139, referer: domain/agc/vicidial.php
doberUSA
 
Posts: 6
Joined: Tue Jan 28, 2020 8:07 pm

Re: 500 error for User Stats report only

Postby doberUSA » Wed Apr 01, 2020 6:30 pm

and now this one a bunch: [php5:error] [pid 1197] [client 98.117.212.62:63127] PHP Parse error: syntax error, unexpected end of file in /srv/www/htdocs/vicidial/user_stats.php on line 1789, referer: domain/vicidial/admin.php?ADD=999999
doberUSA
 
Posts: 6
Joined: Tue Jan 28, 2020 8:07 pm

Re: 500 error for User Stats report only

Postby williamconley » Wed Apr 01, 2020 9:15 pm

get a fresh copy of the file. I suspect you edited it while trying to get it to work earlier. Or diff against the one in the trunk folder.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: 500 error for User Stats report only

Postby doberUSA » Thu Apr 02, 2020 2:28 pm

Thanks for that. I pulled down a new copy and just swapped it out and that fixed it. I guess next time I Won't waste hours trying to fix and will just replace. Appreciate it.
doberUSA
 
Posts: 6
Joined: Tue Jan 28, 2020 8:07 pm

Re: 500 error for User Stats report only

Postby williamconley » Thu Apr 02, 2020 2:48 pm

That was from experience. I've broken so many things while trying to fix something else I can't even begin to count them. And you described the symptom very clearly. 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 121 guests