Page 1 of 1

vdc_db_query Warning: Missing argument 7 for user_authoriza

PostPosted: Mon Apr 25, 2016 2:30 pm
by maxol
Hi,

In Agent web client on Other Agents Status:
I Get this Warning.
Warning: Missing argument 7 for user_authorization(), called in /srv/www/htdocs/agc/vdc_db_query.php on line 942 and defined in /srv/www/htdocs/agc/functions.php on line 37

On vdc_db_query line 942
$auth_message = user_authorization($user,$pass,'',0,1,0);

Missing one argument.

On functions.php line 37
function user_authorization($user,$pass,$user_option,$user_update,$bcrypt,$return_hash,$api_call)


SVN Update 2522
VERSION: 2.12-549a
BUILD: 160404-0940
Asterisk 1.8.32.3-vici
LOCAL Server and SIP GSM gateway (local)
Firewall :Off
Local Agents : Not through WAN
Intel(R) Xeon(R) CPU 5160 @ 3.00GHz (QuardCore) & 8 GB Ram ECC
Vicibox-6.0.4

Re: vdc_db_query Warning: Missing argument 7 for user_autho

PostPosted: Tue Apr 26, 2016 5:16 am
by mflorell
Is this causing any actual errors or problems?

I would suggest turning off PHP warnings in php.ini, because there are a lot of them.