Help Needed: Crash Report Issue in Captive Portal
-
Hi everyone,
I'm encountering a recurring issue with the Captive Portal on my pfSense setup. The system has generated a crash report after a system update to 24.11, and I'm unsure how to proceed with fixing it.
-
That looks like someone changed something somewhere.
Check the 'source'. Here is the original : https://github.com/pfsense/pfsense/blob/master/src/etc/inc/captiveportal.inc
The function get_captive_portal_logo() is declared on line ... 45 ! not 46.
So your file on your pfSense is different ? My pfSense /etc/inc/captiveportal.inc, for the first few lines, the same as what I found on github.
I've 24.11 also btw.Be ware : the version on https://github.com/pfsense/pfsense/blob/master/src/etc/inc/captiveportal.inc can be different, as pfSense development is ongoing.
Anyway, your file has one line more in the first 44 lines.
Which one ?Also : your are using the default, build in login page etc ?
When you throw "Can not redeclare get_captive_portal_logo" into the forum search button, you find this.
The function get_captive_portal_logo() was declared some where else in the past and moved into /etc/inc/captiveportal.inc afterwards (years ago).
Do you use any 'home made' stuff ?
-
Thanks for your response,
I already replace the captiveportal.inc from the original file : https://github.com/pfsense/pfsense/blob/master/src/etc/inc/captiveportal.inc
It still shows same error when im trying to print a voucher.
Also : your are using the default, build in login page etc ? No, i have customized login page.
Do you use any 'home made' stuff ? im using Voucher-template-printer-2.4.4
-
I read the thread from @DanieleIT . I saw a new Version at bottom.
Everything works properly now with voucher-template-printer-2.6.0.
Thank you for your help