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

setup fails #54

Closed
atomGit opened this issue Oct 4, 2023 · 4 comments
Closed

setup fails #54

atomGit opened this issue Oct 4, 2023 · 4 comments

Comments

@atomGit
Copy link

atomGit commented Oct 4, 2023

attempted to test LnBlog v2.3.1 in a local environment - after unzipping and the initial configuration page, this...

http://localhost:8081/?action=fssetup

HTTP/1 500 Internal Server Error
Date: Wed, 04 Oct 2023 00:01:22 GMT
Server: Apache/2.4.57 (Unix) PHP/8.2.10
@pageer
Copy link
Owner

pageer commented Oct 8, 2023

Hi @atomGit, thanks for reporting this!

I'm able to reproduce this by running the setup with php -S localhost:8081. It looks like this is a bug in the CSRF detection. Basically, it's not accounting for the port number in the URL. Normally I test on a local Apache instance running on port 80, so this doesn't show up.

This should be an easy fix. I'll put up a patch release soon.

@pageer pageer closed this as completed in 978b7f5 Oct 8, 2023
@pageer
Copy link
Owner

pageer commented Oct 8, 2023

This should be fixed in release 2.3.2.

@atomGit
Copy link
Author

atomGit commented Oct 8, 2023

thank you Peter :)

@pageer
Copy link
Owner

pageer commented Oct 8, 2023

You're quite welcome! 😄 Thank you again for taking the time to file a bug report. I appreciate it.

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

2 participants