OJS unable login via Smartphone nor tablet

I have OJS installed and upgraded from 3.0.2 to latest 3.1.1
I can login via desktop komputer, but when using smartphone i unable to login, my username and password are correct.
this is my error log.

[Fri Apr 13 00:09:46.849635 2018] [proxy_fcgi:error] [pid 11144] [client 54.36.148.53:25180] AH01071: Got error ‘PHP message: ojs2: 404 Not Found\n’
[Fri Apr 13 06:18:35.212862 2018] [proxy_fcgi:error] [pid 11102] [client 54.36.148.28:20398] AH01071: Got error ‘PHP message: ojs2: 404 Not Found\n’
[Fri Apr 13 06:48:36.626609 2018] [proxy_fcgi:error] [pid 29470] [client 54.36.148.43:16112] AH01071: Got error ‘PHP message: ojs2: 404 Not Found\n’
[Fri Apr 13 07:02:31.568963 2018] [proxy_fcgi:error] [pid 29477] [client 54.36.148.69:27086] AH01071: Got error ‘PHP message: ojs2: 404 Not Found\n’
[Fri Apr 13 07:07:25.047020 2018] [proxy_fcgi:error] [pid 29615] [client 54.165.90.203:43088] AH01071: Got error ‘PHP message: PHP Warning: Smarty error: unable to read resource: “file:0/plugins/generic/usageStats/templates/outputFrontend.tpl” in /var/www/clients/client1/web9/web/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1094\n’

Hi @acahya

Hmmm… I do not know why you cannot login… but that last warning message seems to be this issue: getTemplatePath basePath · Issue #3556 · pkp/pkp-lib · GitHub. Thus could you apply this change in your code: pkp/pkp-lib#3556 fix basePath in getTemplatePath() · pkp/pkp-lib@4a8caca · GitHub, and see if that fixes it or at least that last message?

Best,
Bozana

1 Like

I have fix the plugin.inc.php as you told me. but still canot login via smartphone/mobile phone

this is the error :

[Tue Apr 24 14:56:22.306851 2018] [proxy_fcgi:error] [pid 11056] [client 114.125.74.10:38933] AH01071: Got error ‘PHP message: PHP Warning: Smarty error: unable to read resource: "file:0/plugins/generic/usageStats/templates/outputFrontend.tpl" in /var/www/clients/client1/web9/web/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1094\n’, referer: https://scholar.google.co.id/

Hmmm… this seems to be the same message… Maybe you could try to clear the OJS cache… Hmmm…

I have clear data cache on Administration backend try to login and nothing happen again.
then i clear template cache neither happen again. its strange. (do i have to delete the cache folder on ojs file?)
is it any ojs setting that forbid from login via mobile phone?

Hmm… I do not know… Maybe @NateWr can help?

Hi @acahya, can you share a link to the site where you’re having trouble and let me know exactly what devices and browsers you’re having trouble logging in with? (For example, iOS 8/Safari or Android/Chrome?)

If I have a similar device, I’ll try replicate the problem on your site.

Thanks for The Reply
I used Android Phone and using Chrome browser
the url : http://jurnal.htp.ac.id/index.php/keskom
i wiil give the username to try via message. Thanks Before

Hi @acahya,

Thanks for sending me the details privately as well. I was able to login on my device without any problems. You may be running into caching issues in your phone’s browser. You can follow the steps here to clear the cache there:

https://support.google.com/accounts/answer/32050?co=GENIE.Platform%3DAndroid&hl=en

I follow the step to clear the data on the chrome browser, and login to the ojs and stil cant login, but when i change browser to firefox its login.

thanks for the suggestion.

I am also having the same issue, it wont login with google chrome via samsung S8, @NateWr kindly look into this, thanks.

Hi @adilhk,

If you share a link to your site, I’ll register and try to login on my own android device with chrome.

www.jmedsci.com @NateWr

Hi @adilhk, I’m getting a 502 server temporarily unavailable error when I try to visit the site.

Please try now, I checked it, its working

@NateWr please try now, changed my hosting. It wont login the page on google chrome whereas on firefox it does logs in (displays correctly when viewed Horizontally and all jumbled up when voewd vertically
Screenshot_20180521-110005Screenshot_20180521-105850Screenshot_20180521-103420

I’m sorry, I may have misunderstood your question. It looks like you’re able to login fine. Unfortunately, the editorial backend is not designed to be easy to use on a mobile device. What you’re seeing – the jumbled up view on a narrow screen – is normal.

We do hope to improve this in the future, but we get very few requests for better mobile compatibility. It seems the vast majority of users are not performing editorial actions on their phones.

Okay, thanks for the reply. I hope in future it becomes mobile friendly. An author would submit with a computer/laptop but for checking the status of his already submitted article it would be much easier to login via a smartphone and check details.