Warning: rsort() expects parameter 1 to be array, null given

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Warning: rsort() expects parameter 1 to be array, null given

Postby jselvin » Sun Apr 25, 2010 8:03 pm

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
jselvin
 
Posts: 37
Joined: Fri Mar 19, 2010 7:25 pm

Postby mflorell » Sun Apr 25, 2010 8:43 pm

Usually means your Audio Store is Empty.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby whispercomm » Mon Apr 26, 2010 8:55 am

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.
whispercomm
 
Posts: 25
Joined: Wed Apr 21, 2010 8:37 am

Postby mflorell » Mon Apr 26, 2010 11:57 am

What are the permissions of your audio store web directory?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby whispercomm » Mon Apr 26, 2010 1:18 pm

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?
whispercomm
 
Posts: 25
Joined: Wed Apr 21, 2010 8:37 am

Postby mflorell » Mon Apr 26, 2010 2:08 pm

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
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 300 guests