-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debian/Apache/PHP: Cannot leave Demo Mode #468
Comments
Same Problem. |
Found the solution by carefully reading the docs (https://github.com/afaqurk/linux-dash#if-using-php) again: ... So in my case, demo.js was picked up by accessing http://HOSTNAME/linux-dash/. Real data was shown by accessing http://HOSTNAME/linux-dash/app/ |
I know but it doesn't work with PHP 7.2 or 7.3. No data is read. |
i found the problem |
@r0max solved the issue. I've pointed my webserver to / by accident and it loaded the demo data. changing to /app solved the issue. |
Summary:
This issue is similar to #428 and #434, but reading those issues has not helped me.
My goal is to run linux-dash in Apache/PHP configuration. I tried pointing apache to both
Either way, the result is the same - demo data is displayed instead of real data.
Steps to reproduce:
/app
(relative to the worktree root)/
URL in the browserExpected behavior:
Actual behavior:
Environment:
Notes:
I also tried running the gulpfile as suggested in the other issues. It seems to block after this output (probably listening):
The shell API seems to return the correct JSON data (e.g. users). So the problem must be something rather straightforward somewhere in the JS.
The text was updated successfully, but these errors were encountered: