|
|
@ -181,9 +181,8 @@ else |
|
|
|
$response['user'][] = [ |
|
|
|
$response['user'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => sprintf( |
|
|
|
_('User data mismatch protocol with error: %s data: %s'), |
|
|
|
_('User data mismatch protocol with error: %s'), |
|
|
|
print_r($error, true), |
|
|
|
print_r($error, true) |
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
@ -195,10 +194,7 @@ else |
|
|
|
{ |
|
|
|
{ |
|
|
|
$response['user'][] = [ |
|
|
|
$response['user'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => _('Node accepting approved users only') |
|
|
|
_('Node accepting approved users only: %s'), |
|
|
|
|
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
continue 2; |
|
|
|
continue 2; |
|
|
@ -211,10 +207,7 @@ else |
|
|
|
{ |
|
|
|
{ |
|
|
|
$response['user'][] = [ |
|
|
|
$response['user'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => _('Could not init user profile') |
|
|
|
_('Could not init user profile: %s'), |
|
|
|
|
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
continue 2; |
|
|
|
continue 2; |
|
|
@ -326,9 +319,8 @@ else |
|
|
|
$response['magnet'][] = [ |
|
|
|
$response['magnet'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => sprintf( |
|
|
|
_('Magnet data mismatch protocol with error: %s data: %s'), |
|
|
|
_('Magnet data mismatch protocol with error: %s'), |
|
|
|
print_r($error, true), |
|
|
|
print_r($error, true) |
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
@ -340,10 +332,7 @@ else |
|
|
|
{ |
|
|
|
{ |
|
|
|
$response['magnet'][] = [ |
|
|
|
$response['magnet'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => _('User data relation not found for magnet'), |
|
|
|
_('User data relation not found for magnet: %s'), |
|
|
|
|
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
continue 2; |
|
|
|
continue 2; |
|
|
@ -354,10 +343,7 @@ else |
|
|
|
{ |
|
|
|
{ |
|
|
|
$response['magnet'][] = [ |
|
|
|
$response['magnet'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => _('Node accepting approved magnets only') |
|
|
|
_('Node accepting approved magnets only: %s'), |
|
|
|
|
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
continue 2; |
|
|
|
continue 2; |
|
|
@ -609,9 +595,8 @@ else |
|
|
|
$response['magnetComment'][] = [ |
|
|
|
$response['magnetComment'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => sprintf( |
|
|
|
_('Magnet comment data mismatch protocol with error: %s data: %s'), |
|
|
|
_('Magnet comment data mismatch protocol with error: %s'), |
|
|
|
print_r($error, true), |
|
|
|
print_r($error, true) |
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
@ -623,10 +608,7 @@ else |
|
|
|
{ |
|
|
|
{ |
|
|
|
$response['magnetComment'][] = [ |
|
|
|
$response['magnetComment'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => _('Node accepting approved magnet comments only: %s') |
|
|
|
_('Node accepting approved magnet comments only: %s'), |
|
|
|
|
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
continue 2; |
|
|
|
continue 2; |
|
|
@ -637,10 +619,7 @@ else |
|
|
|
{ |
|
|
|
{ |
|
|
|
$response['magnetComment'][] = [ |
|
|
|
$response['magnetComment'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => _('Magnet comment data relation not found for: %s') |
|
|
|
_('Magnet comment data relation not found for: %s'), |
|
|
|
|
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
continue 2; |
|
|
|
continue 2; |
|
|
@ -711,9 +690,8 @@ else |
|
|
|
$response['magnetDownload'][] = [ |
|
|
|
$response['magnetDownload'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => sprintf( |
|
|
|
_('Magnet download data mismatch protocol with error: %s data: %s'), |
|
|
|
_('Magnet download data mismatch protocol with error: %s'), |
|
|
|
print_r($error, true), |
|
|
|
print_r($error, true) |
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
@ -725,10 +703,7 @@ else |
|
|
|
{ |
|
|
|
{ |
|
|
|
$response['magnetDownload'][] = [ |
|
|
|
$response['magnetDownload'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => _('Magnet download data relation not found') |
|
|
|
_('Magnet download data relation not found for: %s'), |
|
|
|
|
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
continue 2; |
|
|
|
continue 2; |
|
|
@ -783,9 +758,8 @@ else |
|
|
|
$response['magnetStar'][] = [ |
|
|
|
$response['magnetStar'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => sprintf( |
|
|
|
_('Magnet star data mismatch protocol with error: %s data: %s'), |
|
|
|
_('Magnet star data mismatch protocol with error: %s'), |
|
|
|
print_r($error, true), |
|
|
|
print_r($error, true) |
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
@ -797,10 +771,7 @@ else |
|
|
|
{ |
|
|
|
{ |
|
|
|
$response['magnetStar'][] = [ |
|
|
|
$response['magnetStar'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => _('Magnet star data relation not found') |
|
|
|
_('Magnet star data relation not found for: %s'), |
|
|
|
|
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
continue 2; |
|
|
|
continue 2; |
|
|
@ -856,9 +827,8 @@ else |
|
|
|
$response['magnetView'][] = [ |
|
|
|
$response['magnetView'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => sprintf( |
|
|
|
_('Magnet view data mismatch protocol with error: %s data: %s'), |
|
|
|
_('Magnet view data mismatch protocol with error: %s'), |
|
|
|
print_r($error, true), |
|
|
|
print_r($error, true) |
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
@ -870,10 +840,7 @@ else |
|
|
|
{ |
|
|
|
{ |
|
|
|
$response['magnetView'][] = [ |
|
|
|
$response['magnetView'][] = [ |
|
|
|
'status' => false, |
|
|
|
'status' => false, |
|
|
|
'message' => sprintf( |
|
|
|
'message' => _('Magnet view data relation not found for: %s') |
|
|
|
_('Magnet view data relation not found for: %s'), |
|
|
|
|
|
|
|
print_r($remote, true) |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
continue 2; |
|
|
|
continue 2; |
|
|
|