Codoforum related discussions
Error with lohin.php with CF 4.8.1

@admin

Hallo Admin,

I updated CF to latest version and now I run into the following problem:

Notice: Undefined property:
CODOF\User\Login::$username in /var/www/web24746577/html/nw/board/admin/modules/login.php on line 35

Warning:
Cannot modify header information - headers already sent by output started at
/var/www/web24746577/html/nw/board/admin/modules/login.php:35) in /var/www/web24746577/html/nw/board/admin/modules/login.php on line 42

Would You be so kind and help me solve that problem please?

Kind regards, Andy

@admin Hallo Admin, I updated CF to latest version and now I run into the following problem: **Notice: Undefined property:** CODOF\User\Login::$username in /var/www/web24746577/html/nw/board/admin/modules/login.php on line 35 **Warning: Cannot modify header information - headers already sent by output started at** /var/www/web24746577/html/nw/board/admin/modules/login.php:35) in /var/www/web24746577/html/nw/board/admin/modules/login.php on line 42 Would You be so kind and help me solve that problem please? Kind regards, Andy

45 years old and still not smarter lol

Check my GitHub Repos: https://github.com/WebCrew

My CrazyMates Account: https://crazymates.de/Crazymate

Cute but Evil Community: https://cute-but-evil.de

Hi,

Can you open admin/modules/login.php and replace:

$_SESSION[UID . 'A_loggedin_username'] = $login->username;

with

$_SESSION[UID . 'A_loggedin_username'] = $login->identifier;

We will release this minor fix as v4.8.2 today.

Hi, Can you open admin/modules/login.php and replace: ``` $_SESSION[UID . 'A_loggedin_username'] = $login->username; ``` with ``` $_SESSION[UID . 'A_loggedin_username'] = $login->identifier; ``` We will release this minor fix as v4.8.2 today.
Necessity is the mother of all inventions!

@admin You`re awesome - thank You.

@admin You`re awesome - thank You.

45 years old and still not smarter lol

Check my GitHub Repos: https://github.com/WebCrew

My CrazyMates Account: https://crazymates.de/Crazymate

Cute but Evil Community: https://cute-but-evil.de

22
2
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft