Login failed

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
carl078
Posts: 15
Joined: Sun Oct 02, 2022 5:04 pm

Login failed

Post by carl078 » Sun Oct 02, 2022 5:21 pm

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/

User avatar
Arvid
FlatPress Coder
Posts: 558
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Login failed

Post by Arvid » Sun Oct 02, 2022 6:01 pm

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

carl078
Posts: 15
Joined: Sun Oct 02, 2022 5:04 pm

Re: Login failed

Post by carl078 » Sun Oct 02, 2022 6:16 pm

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...

carl078
Posts: 15
Joined: Sun Oct 02, 2022 5:04 pm

Re: Login failed

Post by carl078 » Sun Oct 02, 2022 6:30 pm

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!

User avatar
Arvid
FlatPress Coder
Posts: 558
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Login failed

Post by Arvid » Tue Oct 11, 2022 1:16 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests