sc project on android plateform with phpserver

Hello,

I try to run a project on Android but with SQLITE and PHPserver, this project is working perfect on LAMP or WAMP with mysql.

I first change my project for working with sqlite and on my windows development pc , everything works.
After deploying on android tablette, it open the 1st login app (app_login.php), I enter my login and pwd but when I push to enter I have this error :

The requested resource /app_login_mob.php was not found on this server.

On url I see : 192.168.1.34:8080/app_login_mob.php normally it must be 192.168.1.34:8080/app_login/app_login_mob.php

The problem is that I cannot debug on android , and on pc everything works !!!

Someone has a experience with that ?
Where can I found this url variable ?

Thanks
Nac

Afaik there’s no such variable. In general the system takes care of the rootfolder. If you have uploaded it in root\myapp then all urls generated would be relative to the myapp. if that doesn’t work I think you need to dive into your webserver settings as I suspect this is causing the issue, not scriptcase.
\

You can use Chrome and the Developer Tools with Android, the same way as you would normally do in the browser to inspect/run JavaScript code, which may help you to debug and figure out what is happening:
https://developers.google.com/web/tools/chrome-devtools/remote-debugging/

I will check that

Thanks

After mutliple test , I’m sure is in scriptcase, I try to explain :

when I run my 1st app, 192.168.1.34:8080/app_login/app_login.php, it open well but I enter my login and pwd and after validate, it goes to 192.168.1.34:8080/app_login_mob.php and give the error message.

But, if I run as 1st app 192.168.1.34:8080/app_login/app_login_mob.php , all applications works !!!

Hope it will be helpfull
Thanks
Nac