Переслалstarchik писал(а):не получил...........

http://wiki.flintnet.ru/doku.php?id=urf ... dmin_tablejamaikaoleg писал(а):большое спс,сработало
вопрос подскажите а функция rpcf_set_radius_attr\rpcf_get_radius_attr
планируется ? для получения\выставления радиусатрибутов
Код: Выделить всё
<?php
require_once("/netup/utm5/urfa/URFAClient.php");
$urfa_admin = new URFAClient_Admin("user","пароль","192.168.8.204","11758",true,true);
$account_id='1';
$account=$urfa_admin->rpcf_get_accountinfo($account_id); //-0x4024
// print_r($account);
$account['unlimited']="1";
$d_unlim=$urfa_admin->rpcf_save_account(1, $account, 0, 0, 0); // 0x2032
?>
Код: Выделить всё
Error calling function rpcf_save_account
Код: Выделить всё
ERROR : Oct 12 22:59:53 b2bfcb90 RPCServer@0.0.0.0: Exception in void* rpcf_save_account(void*): #22
Warn : Oct 12 22:59:53 b2bfcb90 RPCConn[SSL]<init@192.168.8.204>: Session closed
Код: Выделить всё
Info : Oct 12 22:59:53 b2bfcb90 RPCServer@0.0.0.0: Client connecting: 192.168.8.204:37073
Info : Oct 12 22:59:53 b2bfcb90 RPCConn: Connection from: 192.168.8.204:37073 new Session Key <a9e3954e9f2e3d3737696fe29bcaae36>
Info : Oct 12 22:59:53 b2bfcb90 RPCConn: Card user <init@192.168.8.204> is connecting
?Debug : Oct 12 22:59:53 b2bfcb90 DBA:Ctx: Looking for urgent DB context
?Debug : Oct 12 22:59:53 b2bfcb90 DBA Groups: Group: -5 from 1
?Debug : Oct 12 22:59:53 b2bfcb90 DBA:Ctx: Pushing back urgent DB context
-Stats : Oct 12 22:59:53 b2bfcb90 DBA Groups: Stats: Uptime: 00:00:00. Events: 0; Errors: 0
?Debug : Oct 12 22:59:53 b2bfcb90 StreamManager: connection <41> created
Info : Oct 12 22:59:53 b2bfcb90 RPCConn[SSL]<init@192.168.8.204>: Access granted to [SSL]<init@192.168.8.204> (UID: -5)
?Debug : Oct 12 22:59:53 b2bfcb90 RPCConn[SSL]<init@192.168.8.204>: SSL type requested: SSLv3(4)
?Debug : Oct 12 22:59:53 b2bfcb90 RPCConn[SSL]<init@192.168.8.204>: Call: 0x2030 (rpcf_get_accountinfo)
?Debug : Oct 12 22:59:53 b2bfcb90 RPCConn[SSL]<init@192.168.8.204>: Real Call: 0x2030 (rpcf_get_accountinfo)
?Debug : Oct 12 22:59:53 b2bfcb90 RPCConn[SSL]<init@192.168.8.204>: Call 0x2030 (rpcf_get_accountinfo) finished...
?Debug : Oct 12 22:59:53 b2bfcb90 RPCConn[SSL]<init@192.168.8.204>: Stream cleared
?Debug : Oct 12 22:59:53 b2bfcb90 RPCConn[SSL]<init@192.168.8.204>: Call: 0x2032 (rpcf_save_account)
?Debug : Oct 12 22:59:53 b2bfcb90 RPCConn[SSL]<init@192.168.8.204>: Real Call: 0x2032 (rpcf_save_account)
ERROR : Oct 12 22:59:53 b2bfcb90 RPCServer@0.0.0.0: Exception in void* rpcf_save_account(void*): #22
?Debug : Oct 12 22:59:53 b2bfcb90 RPCConn[SSL]<init@192.168.8.204>: Call 0x2032 (rpcf_save_account) finished...
?Debug : Oct 12 22:59:53 b2bfcb90 RPCConn[SSL]<init@192.168.8.204>: Stream cleared
Warn : Oct 12 22:59:53 b2bfcb90 RPCConn[SSL]<init@192.168.8.204>: Session closed
?Debug : Oct 12 22:59:53 b2bfcb90 RPCConn[SSL]<init@192.168.8.204>: Session Key <a9e3954e9f2e3d3737696fe29bcaae36> stored for UID -5 from <192.168.8.204>
?Debug : Oct 12 22:59:53 b2bfcb90 StreamManager: connection <41> closed
?Debug : Oct 12 22:59:53 b2bfcb90 RPCConn[SSL]<init@192.168.8.204>: Session closed...
Код: Выделить всё
$accountinfo = $urfa_admin->rpcf_get_accountinfo(736);
Код: Выделить всё
Error calling function rpcf_get_accountinfo
****************************************