Page 1 of 1
Warning: rsort() expects parameter 1 to be array, null given
Posted:
Sun Apr 25, 2010 8:03 pm
by jselvin
Hi,
When I click on the link for the audio chooser, the following appears:
Warning: rsort() expects parameter 1 to be array, null given in /var/www/vicidial/non_agent_api.php on line 382
VERSION: 2.2.0-236
BUILD: 100413-2328
Bug??
Kind regards
Jimmy Selvin
Posted:
Sun Apr 25, 2010 8:43 pm
by mflorell
Usually means your Audio Store is Empty.
Posted:
Mon Apr 26, 2010 8:55 am
by whispercomm
Hello,
this is the same error I am getting - but I know that 2 audio files are available (but they don't appear in the directory, which is confusing) as I have recorded them through the system and then successfully referenced them in In-group settings.
Posted:
Mon Apr 26, 2010 11:57 am
by mflorell
What are the permissions of your audio store web directory?
Posted:
Mon Apr 26, 2010 1:18 pm
by whispercomm
read and write across the board.
it seems to be working now that we've added some files - but the ones are making through the system seem to be getting saved somewhere else?
Posted:
Mon Apr 26, 2010 2:08 pm
by mflorell
You do have to seed the audio store with your default sounds if you want them to show up:
/usr/share/astguiclient/ADMIN_audio_store_sync.pl --upload –debug