Page 1 of 1

Login failed

Posted: Sun Oct 02, 2022 5:21 pm
by carl078
Hello to everyone,
I installed today flatpress on raspberrypi. Installation worked and i can see first page.
I choose username, password, homepage and email.
When I try to login I entered username/password but when I click on Login button nothing happens.
The text in the two boxes were cleared and the page is ready to enter again username and password.

Note that I installed flatpress only for intranet use following this tutorial skipping the last step.
https://www.instructables.com/Raspberry ... og-server/

Re: Login failed

Posted: Sun Oct 02, 2022 6:01 pm
by Arvid
Carl, welcome to the FlatPress support forum!

The tutorial you went through seems good, but it's quite a few years old. It still references to FlatPress version 1.0 ("Solenne"), which is really old and will not run properly under current PHP versions.
But don't worry, simply get the latest FlatPress version 1.2.1 from the official FlatPress download page, unzip it and continue with step 5 of the tutorial.

Let us know if that worked for you!

All the best,
Arvid

Re: Login failed

Posted: Sun Oct 02, 2022 6:16 pm
by carl078
Thank you for your reply!
I forgot i downloaded the last release with git. It happened the same thing.
I think it could be something related with local server?

I add more information about my installation process.

I tried to enter the hostname in the Home page field but it does not work. The message is:

"http://dietpi/myblog/ is not a valid URL"

Then I tried to replace the hostname (dietpi) with the IP and it worked. It is not nice but I had not the "not valid URL" error anymore.

Now I can't login...

Re: Login failed

Posted: Sun Oct 02, 2022 6:30 pm
by carl078
UPDATE: the one on github didn't work for me.
The one on your site (that you suggested to me) worked! Thank you very much!

Re: Login failed

Posted: Tue Oct 11, 2022 1:16 pm
by Arvid
Glad I could help. If you download the latest development snapshot from GitHub (i.e., the "master" branch), you'll most likely get an unfinished and propably unstable development version.

You'll always find the latest final release on our official download page - or on our GitHub releases page. Currently, if you have 1.2.1, you're up to date :)

All the best,
Arvid