So... I have to uninstall the iOS app every time I close it, and even after re-installing, if I press the phone icon in the bottom right hand it locks the app and I have to exit.
I have now attached the following code to OpenVBX to attempt to find out what has occurred
$payload = json_encode(
[
'GET' => $_GET,
'POST' => $_POST,
'SERVER' => $_SERVER,
'RAW' => @stream_get_contents('php://input'),
],
JSON_PRETTY_PRINT
);
file_put_contents(__DIR__.'/logs/'.date('Y-m-d H.i.s').'.json', $payload);
this produces the following file _NOTE Hashes obscure personal information_
{
"GET": [
],
"POST": [
],
"SERVER": {
"USER": "www-data",
"HOME": "\/var\/www",
"FCGI_ROLE": "RESPONDER",
"QUERY_STRING": "",
"REQUEST_METHOD": "GET",
"CONTENT_TYPE": "",
"CONTENT_LENGTH": "",
"SCRIPT_FILENAME": "\/usr\/share\/nginx\/vhosts\/###############\/public\/index.php",
"SCRIPT_NAME": "\/index.php",
"PATH_INFO": "",
"PATH_TRANSLATED": "\/usr\/share\/nginx\/vhosts\/###############\/public",
"REQUEST_URI": "\/messages\/inbox\/0?max=25&offset=0",
"DOCUMENT_URI": "\/index.php",
"DOCUMENT_ROOT": "\/usr\/share\/nginx\/vhosts\/###############\/public",
"SERVER_PROTOCOL": "HTTP\/1.1",
"GATEWAY_INTERFACE": "CGI\/1.1",
"SERVER_SOFTWARE": "nginx\/1.4.6",
"REMOTE_ADDR": "###############",
"REMOTE_PORT": "57994",
"SERVER_ADDR": "##################",
"SERVER_PORT": "443",
"SERVER_NAME": "#####################",
"HTTPS": "on",
"REDIRECT_STATUS": "200",
"HTTP_HOST": "##################",
"HTTP_X_OPENVBX_CLIENT": "iPhone (iPhone OS 8.3)",
"HTTP_AUTHORIZATION": "Basic ######################################",
"HTTP_ACCEPT_ENCODING": "gzip, deflate",
"HTTP_ACCEPT": "application\/json",
"HTTP_ACCEPT_LANGUAGE": "en-gb",
"HTTP_X_OPENVBX_CLIENT_VERSION": "1.0",
"HTTP_CONNECTION": "keep-alive",
"HTTP_USER_AGENT": "OpenVBX\/1.0.2 CFNetwork\/711.3.18 Darwin\/14.0.0",
"PHP_SELF": "\/index.php",
"PHP_AUTH_USER": "################",
"PHP_AUTH_PW": "################",
"REQUEST_TIME_FLOAT": 1436911590.8499,
"REQUEST_TIME": 1436911590
},
"RAW": false
}
So... I have to uninstall the iOS app every time I close it, and even after re-installing, if I press the phone icon in the bottom right hand it locks the app and I have to exit.
I have now attached the following code to OpenVBX to attempt to find out what has occurred
this produces the following file _NOTE Hashes obscure personal information_
{ "GET": [ ], "POST": [ ], "SERVER": { "USER": "www-data", "HOME": "\/var\/www", "FCGI_ROLE": "RESPONDER", "QUERY_STRING": "", "REQUEST_METHOD": "GET", "CONTENT_TYPE": "", "CONTENT_LENGTH": "", "SCRIPT_FILENAME": "\/usr\/share\/nginx\/vhosts\/###############\/public\/index.php", "SCRIPT_NAME": "\/index.php", "PATH_INFO": "", "PATH_TRANSLATED": "\/usr\/share\/nginx\/vhosts\/###############\/public", "REQUEST_URI": "\/messages\/inbox\/0?max=25&offset=0", "DOCUMENT_URI": "\/index.php", "DOCUMENT_ROOT": "\/usr\/share\/nginx\/vhosts\/###############\/public", "SERVER_PROTOCOL": "HTTP\/1.1", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_SOFTWARE": "nginx\/1.4.6", "REMOTE_ADDR": "###############", "REMOTE_PORT": "57994", "SERVER_ADDR": "##################", "SERVER_PORT": "443", "SERVER_NAME": "#####################", "HTTPS": "on", "REDIRECT_STATUS": "200", "HTTP_HOST": "##################", "HTTP_X_OPENVBX_CLIENT": "iPhone (iPhone OS 8.3)", "HTTP_AUTHORIZATION": "Basic ######################################", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT": "application\/json", "HTTP_ACCEPT_LANGUAGE": "en-gb", "HTTP_X_OPENVBX_CLIENT_VERSION": "1.0", "HTTP_CONNECTION": "keep-alive", "HTTP_USER_AGENT": "OpenVBX\/1.0.2 CFNetwork\/711.3.18 Darwin\/14.0.0", "PHP_SELF": "\/index.php", "PHP_AUTH_USER": "################", "PHP_AUTH_PW": "################", "REQUEST_TIME_FLOAT": 1436911590.8499, "REQUEST_TIME": 1436911590 }, "RAW": false }