Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2021-09-14 15:23:20

Pégase
Member
Registered: 2021-09-14
Posts: 12

New install, unable to log in

Hello guys,

I am trying to set up a forum using fluxbb. I bought an adress and a place where to put files with IONOS (former 1&1 i suppose). Everytime the log in step fails : I can see for a second a message saying "Logged in..." and next second it is refreshed to the index of the forum, not logged in.

I tried first to set up punbb, and now with fluxbb i got the same problem. I also tried to use the "App Center" of Ionos which allows to install a CMS from their website, still the same.

I guess I didn't enable some kind of option but I just don't know... If anyone can help it would be great.
Thank you for reading.

Bye !

Offline

#2 2021-09-14 19:21:58

Elementair
Member
Registered: 2020-02-28
Posts: 51

Re: New install, unable to log in

Hi
PunBB and fluxBB uses cookies to manage sessions, maybe your browser is not allowing cookies to be stored.

Offline

#3 2021-09-14 20:26:19

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,735
Website

Re: New install, unable to log in

Yes, that could be the reason. Or maybe even incorrect variables in config.php?


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#4 2021-09-15 03:53:42

Pégase
Member
Registered: 2021-09-14
Posts: 12

Re: New install, unable to log in

Well, my browser do accept cookies, i need them to remember passwords and stuff like everyone else i guess.

Here is my congif.php file :

$p_connect = false;

$cookie_name = 'pun_cookie_bae232';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = '5418e56c4019de75';

define('PUN', 1);

I can also say that I tried PHPBB and it worked perfectly fine... I guess you are right about the cookie problem, on punbb version he gave a message about it when I tried to log in.

I thought It would come from IONOS and a specific option, but as long as it works with PHPBB I just don't know...

Offline

#5 2021-09-15 10:51:35

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,507
Website

Re: New install, unable to log in

Note that the forum domain does not change after login (redirect). _Example.com_ and _www.example.com_ are different sites for the browser.

P.S. congif.php contains confidential information. If you use fluxbb/punbb, reinstall them to update the data in congif.php.

Offline

#6 2021-09-15 11:49:12

Pégase
Member
Registered: 2021-09-14
Posts: 12

Re: New install, unable to log in

I hid sensitive informations like DB and DB password in the text I sent you... I don't understand what you're saying "reinstall them". What are you talking about ?

I also tried both ways, with and without the www. None one them work.

Offline

#7 2021-09-15 11:53:23

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,507
Website

Re: New install, unable to log in

>What are you talking about ?

$cookie_seed = '5418e56c4019de75';

Open the browser console, turn on the continuous display of information in it (so that it does not clear during redirecting) and see the browser warnings/errors in it during login.

Offline

#8 2021-09-15 12:21:53

Pégase
Member
Registered: 2021-09-14
Posts: 12

Re: New install, unable to log in

Here is what I get using the browser console :

Page layout may be unexpected due to Quirks Mode
One or more documents in this page is in Quirks Mode, which will render the affected document(s) with quirks incompatible with the current HTML and CSS specifications.
Quirks Mode exists mostly due to historical reasons. If this is not intentional, you can add or modify the DOCTYPE to be `<!DOCTYPE html>` to render the page in No Quirks Mode.

I don't get anything written in the blank space, but I can click one "1 issue". When I do so, "some problems no longer generate console message" is written.

Offline

#9 2021-09-16 01:23:10

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,507
Website

Re: New install, unable to log in

You are viewing the forum in Internet Explorer?

About "Page stuck in Quirks Mode" https://stackoverflow.com/questions/716 … uirks-mode

See the availability of installed cookies for your forum and their content.
The identification cookie has the following format:

User number (1 - guest, 2 - first admin, ...)
%7C
hash 1
%7C
timestamp (number)
%7C
hash 2

Offline

#10 2021-09-17 04:02:53

Pégase
Member
Registered: 2021-09-14
Posts: 12

Re: New install, unable to log in

I'll check it this afternoon.

I'm using Chrome and I tried with Firefox as well.

Offline

#11 2021-09-17 11:40:12

Pégase
Member
Registered: 2021-09-14
Posts: 12

Re: New install, unable to log in

Ok I'm sorry but I don't know where to find the cookies format.

I don't know if there is any link but I also got this written at the top of the board :

Deprecated: Function get_magic_quotes_runtime() is deprecated in /homepages/28/d884251777/htdocs/include/common.php on line 79

Deprecated: Function get_magic_quotes_gpc() is deprecated in /homepages/28/d884251777/htdocs/include/common.php on line 83

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d884251777/htdocs/include/common.php:79) in /homepages/28/d884251777/htdocs/header.php on line 14

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d884251777/htdocs/include/common.php:79) in /homepages/28/d884251777/htdocs/header.php on line 15

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d884251777/htdocs/include/common.php:79) in /homepages/28/d884251777/htdocs/header.php on line 16

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d884251777/htdocs/include/common.php:79) in /homepages/28/d884251777/htdocs/header.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d884251777/htdocs/include/common.php:79) in /homepages/28/d884251777/htdocs/header.php on line 20

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d884251777/htdocs/include/common.php:79) in /homepages/28/d884251777/htdocs/header.php on line 30

I guess I'll go back to PHPBB even if I wanted to install flux...

Offline

#12 2021-09-17 11:51:38

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,507
Website

Re: New install, unable to log in

Use phpbb if you have it working wink

Offline

#13 2021-09-17 14:11:54

cpnsqpnts
New member
Registered: 2021-09-06
Posts: 4

Re: New install, unable to log in

Pégase wrote:

Ok I'm sorry but I don't know where to find the cookies format.

I don't know if there is any link but I also got this written at the top of the board :

Deprecated: Function get_magic_quotes_runtime() is deprecated in /homepages/28/d884251777/htdocs/include/common.php on line 79

Deprecated: Function get_magic_quotes_gpc() is deprecated in /homepages/28/d884251777/htdocs/include/common.php on line 83

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d884251777/htdocs/include/common.php:79) in /homepages/28/d884251777/htdocs/header.php on line 14

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d884251777/htdocs/include/common.php:79) in /homepages/28/d884251777/htdocs/header.php on line 15

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d884251777/htdocs/include/common.php:79) in /homepages/28/d884251777/htdocs/header.php on line 16

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d884251777/htdocs/include/common.php:79) in /homepages/28/d884251777/htdocs/header.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d884251777/htdocs/include/common.php:79) in /homepages/28/d884251777/htdocs/header.php on line 20

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d884251777/htdocs/include/common.php:79) in /homepages/28/d884251777/htdocs/header.php on line 30

I guess I'll go back to PHPBB even if I wanted to install flux...

The deprecated errors are due to FluxBB not being updated to run on PHP versions greater than 7.4.

There are a few files that you need to update to make it work. I think Vismans fork has the fixes.


long time lurker on punbb/fluxbb

Offline

#14 2021-09-17 16:54:15

Pégase
Member
Registered: 2021-09-14
Posts: 12

Re: New install, unable to log in

I don't give a shit about those writings I just want to have that board working... Cookie problem but how to solve it ?? I guess it's actually pretty commun or stupid and I'm noob so I am asking

Offline

#15 2021-09-17 19:25:41

Elementair
Member
Registered: 2020-02-28
Posts: 51

Re: New install, unable to log in

Fluxbb should almost work out of the box... maybe you can give your forum web adress and a test user that someone here can identify you issue.
Or try Visman fork which work well with latest version of php and mysql.

and if you re really fed up, then just go with phpbb.

Offline

#16 2021-09-18 07:52:31

Pégase
Member
Registered: 2021-09-14
Posts: 12

Re: New install, unable to log in

Yes the adress is http://www.terradex.eu

Feel free to register and try it.

Offline

#17 2021-09-18 14:44:31

Gil
Member
From: France
Registered: 2008-05-10
Posts: 183

Re: New install, unable to log in

@Pegase,

Try to add a info.php file in your root directory, with the phpinfo content:

<?php
phpinfo();
?>

The info.php URL will then give you a lot of information: PHP version, configuration, libraries and also if and how the sessions are managed. I'm not an expert, but it helped me a few times in the past.

Offline

#18 2021-09-18 21:12:55

Pégase
Member
Registered: 2021-09-14
Posts: 12

Re: New install, unable to log in

I created the info.php file you can check it by yourself. http://www.terradex.eu/info.php.

I don't know what else I can do ;'(

Offline

#19 2021-09-19 08:23:32

Gil
Member
From: France
Registered: 2008-05-10
Posts: 183

Re: New install, unable to log in

PHP Version 7.4.23

The functions get_magic_quotes_runtime and .._gpc have been deprecated as of PHP 7.4.0.
As far as I know, some other used functions are deprecated in 7.2.

Then at least, you could try to change the PHP version of your server from 7.4 to 7.1.x (seems OK) or older (5.6.40 is OK).

Offline

#20 2021-09-19 09:22:54

Pégase
Member
Registered: 2021-09-14
Posts: 12

Re: New install, unable to log in

With IONOS I have to pay to use an older version than 7.3 !

Offline

#21 2021-09-19 10:35:09

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,507
Website

Re: New install, unable to log in

Pégase wrote:

With IONOS I have to pay to use an older version than 7.3 !

use phpbb or https://github.com/MioVisman/FluxBB_by_ … master.zip

Offline

#22 2021-09-19 10:56:20

Gil
Member
From: France
Registered: 2008-05-10
Posts: 183

Re: New install, unable to log in

Pégase wrote:

With IONOS I have to pay to use an older version than 7.3 !

Ouch... I thought that IONOS / 1&1 was an acceptable web host... But is actually a real scam... I can see that many people discovered that they were paying for an "extended support" without knowing it... A shame sad

Last edited by Gil (2021-09-19 10:56:29)

Offline

#23 2021-09-19 10:57:38

Pégase
Member
Registered: 2021-09-14
Posts: 12

Re: New install, unable to log in

OK I installed your version without any problem thanks a lot Visman !!!

Offline

#24 2021-09-19 11:02:13

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,507
Website

Re: New install, unable to log in

@Gil

Pégase wrote:

With IONOS I have to pay to use an older version than 7.3 !

This firm does the right thing. See graph: https://www.php.net/supported-versions.php

Offline

#25 2021-09-19 11:19:35

Pégase
Member
Registered: 2021-09-14
Posts: 12

Re: New install, unable to log in

Thanks again Wisman, I got questions about plugins now I'd like to install one which would display some news... I just tried to install one I found on the webiste but it only creates a page news.html without any style.

Do I create a new topic in the dedicated forum or we can talk here ?

Offline

Board footer

Powered by FluxBB