Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
GUI access failed with error
« previous
next »
Print
Pages: [
1
]
Author
Topic: GUI access failed with error (Read 2303 times)
Andrew Berdnik
Newbie
Posts: 4
Karma: 1
GUI access failed with error
«
on:
May 30, 2024, 09:52:48 am »
After update to 24.1.7 web gui works fine. Next mornig connection to web gui fail with error displayed at browser:
Fatal error: Uncaught Error: Call to undefined function get_current_theme() in /usr/local/etc/inc/authgui.inc:349 Stack trace: #0 /usr/local/etc/inc/authgui.inc(265): display_login_form(NULL) #1 /usr/local/www/guiconfig.inc(115): require_once('/usr/local/etc/...') #2 /usr/local/www/index.php(31): require_once('/usr/local/www/...') #3 {main} thrown in /usr/local/etc/inc/authgui.inc on line 349
Any ideas how to fix that ?
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: GUI access failed with error
«
Reply #1 on:
May 30, 2024, 08:37:19 pm »
Try a different browser? Do SSH and console login still work?
Logged
Andrew Berdnik
Newbie
Posts: 4
Karma: 1
Re: GUI access failed with error
«
Reply #2 on:
May 31, 2024, 08:01:36 am »
Same error in other browsers.
SSH and console works fine.
Logged
franco
Administrator
Hero Member
Posts: 17675
Karma: 1613
Re: GUI access failed with error
«
Reply #3 on:
May 31, 2024, 08:32:17 am »
We don't have "get_current_theme" function in our code anymore so I think the error is at least understandable. Any idea what's using it?
If in doubt just try to reset the core package:
# opnsense-revert opnsense
Cheers,
Franco
Logged
StodaraHodan
Newbie
Posts: 2
Karma: 0
Re: GUI access failed with error
«
Reply #4 on:
July 09, 2024, 01:53:14 pm »
I have this same issue after installing a vanilla opnsense 24.1 from the image, and then struggeling with the update to the latest minor version, had to "pkg install opnsense" for the package manager to recognize that its actually installed, then after upgrade to 24.1.9 i cannot login to the webgui because of this error. i have not changed any meaningful setting after vanilla install, only activated ssh and root login.
also did opnsense-bootstrap, but didn't fix it.
Logged
franco
Administrator
Hero Member
Posts: 17675
Karma: 1613
Re: GUI access failed with error
«
Reply #5 on:
July 10, 2024, 08:19:40 am »
It still sounds like the files on the disk are not 100% the state they should be in.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
GUI access failed with error