"netjukebox requires cookies to login."

Windows related discussion about netjukebox
Locked
weed
User
Posts: 1
Joined: Thu Dec 27, 2018 4:12 pm

"netjukebox requires cookies to login."

Post by weed »

Hi and hello :-)

I have managed to install netjukebox on my Server 2016 machine (IIS10, PHP 7.2_x86, MySQL 8.0.13_x64). The automatic creation of the tables didn't work, but after I've imported netjukebox_61.sql, no more errors appeard. But I am still not able to log in (admin or anonymous):

Code: Select all

Login failed
netjukebox requires cookies to login.
Enable cookies in your browser and try again.
loginMySQL host: 127.0.0.1 via TCP/IP
File: C:\inetpub\wwwroot\hoerbar\include\initialize.inc.php
Line: 219
Cookies are enabled (I can reproduce this on all my machines, different browsers).

Things I've tried:
  • $cfg['anonymous_autologin'] = true; (no changes)
  • $cfg['debug'] = true; (no changes)
  • Check the table 'session' (it's empty)
What am I doing wrong?
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: "netjukebox requires cookies to login."

Post by wbartels »

I've imported netjukebox_61.sql
This is a installation bug introduced in netjukebox 6.57.12 and fixed in 6.57.13.

I have done a new netjukebox 6.57.13 installation on Linux.
I can't reproduce the problem, this year I have tested netjukebox on windows with Apache.

Can you send me a link to your site with a private message?
Then I can see with a browser debug tool if there is something wrong.
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: "netjukebox requires cookies to login."

Post by wbartels »

Update: I have successfully installed and logged in with netjukebox 6.57.13 on Windows 10 with Apache/PHP 7.30 (xampp-win32-7.3.0-0-VC15-installer).
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: "netjukebox requires cookies to login."

Post by wbartels »

but after I've imported netjukebox_61.sql, no more errors appeard. But I am still not able to log in (admin or anonymous):
Does the user $cfg['mysqli_user'] have write access?
I would advice to update to 6.57.13 (or later) and let netjukebox create the database.
Locked