ok I managed to fix the problem with the connection it was to do with cookies by placing this code
$past = time() - 3600;foreach ( $_COOKIE as $key => $value ){ setcookie( $key, $value, $past, '/' );}
in client/index.php file. thanks for your advice, but I still have problem of jabbo...