This page is for common issues happening on the phpFox Mobile apps and our solutions

ISSUE 1: After installing RESTful API and Mobile API apps, we download and use phpFox Mobile Apps to log in our site but have error "Ops. Can not login"

Causes and Solutions

If you are using Apache server, perhaps the HTTP:Authorization header is disabled on your server. For security, our mobile apps use OAuth2 Authorization to authenticate mobile apps and server API. The OAuth2 requires HTTP:Authorization header  and SSL to be enabled. Therefore, you should contact your hosting provider for help to enable HTTP:Authorization header

Or you can add following rules in .htaccess  to hotfix the issue by yourself

RewriteCond %{HTTP:Authorization} ^(.*) 
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]

 

In case you followed our solution but the issue still happens, please feel free to submit tickets in our Client Area in order for us to help take further investigation.