Skip to content
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

Web UI not loading #228

Open
Eddcapone opened this issue Oct 17, 2023 · 3 comments
Open

Web UI not loading #228

Eddcapone opened this issue Oct 17, 2023 · 3 comments

Comments

@Eddcapone
Copy link

I called this:

http://localhost/?SPX_KEY=dev&SPX_UI_URI=/

and it just loads my website instead of the profiler UI.

@NoiseByNorthwest
Copy link
Owner

I need more information, for instance the PHP logs at the moment you hit this url.

@aragon999
Copy link

I just ran into the same issue, and came across this issue while debugging.

The issue itself for me was not related to php-spx itself, but rather that I only added the php handler to files which end with .php, i.e. AddHandler php-script .php.

Hence the extension was not loaded directly on localhost. But for example I have a phpinfo.php file in my webroot folder, hence http://localhost/phpinfo.php/?SPX_KEY=dev&SPX_UI_URI=/ worked for me (note the trailing slash after the extension).

@JoshuaBehrens
Copy link

For me just today was the issue, that I was whitelisting by 127.0.0.1 although I went by a different IP address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants