Page 1 of 1

Audio Chooser Not Opening

PostPosted: Fri Jan 22, 2016 12:37 pm
by khuff
I'm having issues getting the audio chooser to open. I'm trying to change one of the after hours messages in one of my ingroups. I've been able to do it before granted it's been a while. Whenever I click on it nothing happens but I do get an error in my javascript console:
Code: Select all
Uncaught ReferenceError: launch_chooser is not defined
Voicemail Chooser and MOH Chooser do the same thing but with their own errors. Not sure how long it has been like this but the most recent change was doing an upgrade from SVN last month. The current SVN revision is: 2442, and it is dated 2015-12-26.

Any input or troubleshooting advice would be appreciated.

Thanks,
Kevin

Re: Audio Chooser Not Opening

PostPosted: Fri Jan 22, 2016 1:48 pm
by mflorell
Have you checked your apache error_log?

Re: Audio Chooser Not Opening

PostPosted: Fri Jan 22, 2016 3:09 pm
by khuff
When I load the ingroup page I do get 100's of errors all the same:

Code: Select all
[Fri Jan 22 14:05:03 2016] [error] [client 10.10.13.25] PHP Warning:  readdir() expects parameter 1 to be resource, boolean given in /srv/www/htdocs/vicidial/non_agent_api.php on line 787, referer: http://10.10.10.10/vicidial/admin.php?ADD=31&campaign_id=inbound


I did notice when testing that the audio chooser does work on the campaign page it is just the Ingroup page that has the problem. Voice mail chooser works on the DID page so may be something related to the error.

Re: Audio Chooser Not Opening

PostPosted: Mon Jan 25, 2016 2:43 pm
by khuff
Any ideas? I"m going to try and upgrade the SVN again tonight as it seems there has been quite a few updates since the last time, but I"m not sure if this will help. So I'm really just shooting in the dark. Since other pages have no issue loading the chooser, it makes me think that is some code related issue with the ingroup portion. But I'm not sure where else to dig around for the problem. Any additional help would be greatly appreciated.

Re: Audio Chooser Not Opening

PostPosted: Wed Jan 27, 2016 9:01 am
by khuff
SVN upgrade did not work. Currently at revision 2475. The errors in apache seem to have gone away, but still getting the javascript error when trying to open any of the "choosers" from the ingroup page. It works on the other pages seems the ingroup page is the only place that is having the problem. If anyone has an additional things I can try I'd really appreciate it.

Re: Audio Chooser Not Opening

PostPosted: Fri Jan 29, 2016 12:32 pm
by khuff
Still haven't sorted out the problem but I was able to get my sound files set by getting the id from the sound chooser on the campaign page and then pasting that value into the ingroup's field for that sound file.