- log_rd2("UNREC_ERROR:".var_export(debug_backtrace()));
- return (sprintf('the_end=true; window.onunload = null; window.onbeforeunload = null; document.location.assign("index.php");'));
+ log_rd2("BLOCKING_ERROR UNREC: ".($is_unrecoverable ? "TRUE" : "FALSE"));
+ return (sprintf(($is_unrecoverable ? 'the_end=true; ' : '').'window.onbeforeunload = null; window.onunload = null; document.location.assign("index.php");'));
}
function page_sync($sess, $page, $table_idx, $table_token)
}
function page_sync($sess, $page, $table_idx, $table_token)
// anche se non ce ne dovrebbe essere mai la necessità
if (($proxy_step = User::load_step($sess)) == FALSE) {
log_only2("R");
// anche se non ce ne dovrebbe essere mai la necessità
if (($proxy_step = User::load_step($sess)) == FALSE) {
log_only2("R");
// Aggiorna l'expire time lato server
$S_load_stat['U_first_loop']++;
if (($user = User::load_data($proxy_step['i'], $sess)) == FALSE) {
Room::unlock_data($sem);
ignore_user_abort(FALSE);
// Aggiorna l'expire time lato server
$S_load_stat['U_first_loop']++;
if (($user = User::load_data($proxy_step['i'], $sess)) == FALSE) {
Room::unlock_data($sem);
ignore_user_abort(FALSE);
else {
// wait 20 secs, then restart the xhr
ignore_user_abort(FALSE);
else {
// wait 20 secs, then restart the xhr
ignore_user_abort(FALSE);
if (($user = $room->get_user($sess, $idx)) == FALSE) {
Room::unlock_data($sem);
ignore_user_abort(FALSE);
if (($user = $room->get_user($sess, $idx)) == FALSE) {
Room::unlock_data($sem);
ignore_user_abort(FALSE);
$S_load_stat['U_heavy']++;
if (($user = User::load_data($proxy_step['i'], $sess)) == FALSE) {
Room::unlock_data($sem);
ignore_user_abort(FALSE);
$S_load_stat['U_heavy']++;
if (($user = User::load_data($proxy_step['i'], $sess)) == FALSE) {
Room::unlock_data($sem);
ignore_user_abort(FALSE);
log_rd2("LOGOUT BYE BYE!!");
log_auth($user->sess, "Explicit logout.");
log_rd2("LOGOUT BYE BYE!!");
log_auth($user->sess, "Explicit logout.");
$S_load_stat['R_the_end']++;
if (($room = Room::load_data()) == FALSE) {
Room::unlock_data($sem);
ignore_user_abort(FALSE);
$S_load_stat['R_the_end']++;
if (($room = Room::load_data()) == FALSE) {
Room::unlock_data($sem);
ignore_user_abort(FALSE);
if (($user = $room->get_user($sess, $idx)) == FALSE) {
Room::unlock_data($sem);
ignore_user_abort(FALSE);
if (($user = $room->get_user($sess, $idx)) == FALSE) {
Room::unlock_data($sem);
ignore_user_abort(FALSE);