HTTP Status Code 302! = 200????

I have made it around all the other errors i have received. most were a problem with the SDK and windows 7. Now I am seeing the HTTP Status 302! = 200 error when i attempt to sign in. What is causing this?!?

 

Thanks in advance,

Michael

Quote · 18 Jul 2011

It should be 200 HTTP code answer from your server, but instead there is 302 HTTP code - it' redirect. Please make sure that the url you entered is the exact url without redirection, and xmlrpc folder is accessible without redirection too.

Rules → http://www.boonex.com/terms
Quote · 19 Jul 2011

Hi,

The site url is redirected properly, but showing same error as above.

Thank you

Quote · 17 Oct 2011

Please make sure that the url you entered is the exact url without redirection, and xmlrpc folder is accessible without redirection too.

Hi,

The site url is redirected properly, but showing same error as above.

Thank you

 

Rules → http://www.boonex.com/terms
Quote · 17 Oct 2011

This could also happen if you are redirecting to "https://" ... the app forces you to use "http://" so if you add a url with "https://" in it or redirect to "https://" it will automatically try to change it to http and if it can't it will give you an error.

If you are trying to redirect to "https" then ...

 

Solution:

Go to "../src/com/boonex/oo" and open up "LoginActivity.java"

Then find

sUrl = "http://" + sUrl;

And replace with

sUrl = "https://" + sUrl;

 

Or you can lock the app to your site url:

http://www.boonex.com/forums/#topic/HOWTO-lock-the-app-to-connect-to-one-site-only-.htm

 

I hope this helps

Quote · 4 Nov 2011

One more solution I have discovered: sometimes domain is tuned to redirect from yoursite.com to www.yoursite.com (or vice versa), so if you entered yoursite.com in the app it simply redirects you and you receiving this error.

http://boonexpert.com
Quote · 18 Jan 2012

So I'm having this same issue...and I'm guessing it's because the template I use redirects to a splash page for logging in.

 

Does that mean as long as I'm using this template with the login/join splash page, the mobile app will be completely useless for me?

cammodelconnexxxion.com - my first Dolphin based site. 18+ - adult content
Quote · 8 Oct 2012

Splash page should have some condition to avoid this problem, please report this to template/splash page developer. 

So I'm having this same issue...and I'm guessing it's because the template I use redirects to a splash page for logging in.

 

Does that mean as long as I'm using this template with the login/join splash page, the mobile app will be completely useless for me?

 

Rules → http://www.boonex.com/terms
Quote · 8 Oct 2012

Will do - thanks :)

cammodelconnexxxion.com - my first Dolphin based site. 18+ - adult content
Quote · 9 Oct 2012

I have just changed my site from HTTP to HTTPS and now getting the same error. Where can I find this file so that I can make the changes recommended?

Quote · 12 Aug 2016

@Profesize
Try to change "check correct hostname" code in inc/header.inc.php file to the following:

//check correct hostnamea
$aUrl = parse_url( $site['url'] );
$iPortDefault = 'https' == $aUrl['scheme'] ? '443' : '80';
if ( isset($_SERVER['HTTP_HOST']) and 0 != strcasecmp($_SERVER['HTTP_HOST'], $aUrl['host']) and 0 != strcasecmp($_SERVER['HTTP_HOST'], $aUrl['host'] . ':' . (!empty($aUrl['port']) ? $aUrl['port'] : $iPortDefault)) ) {
    $sPort = empty($aUrl['port']) || 80 == $aUrl['port'] || 443 == $aUrl['port'] ? '' : ':' . $aUrl['port'];
    header( "Location:{$aUrl['scheme']}://{$aUrl['host']}{$sPort}{$_SERVER['REQUEST_URI']}", true, 301 );
    exit;
}
Rules → http://www.boonex.com/terms
Quote · 17 Aug 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.