• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Help Needed: Crash Report Issue in Captive Portal

Scheduled Pinned Locked Moved Captive Portal
4 Posts 2 Posters 159 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E
    Ernest018
    last edited by Jan 16, 2025, 2:17 AM

    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.

    27378847-668d-4229-b35a-9296752bf439-image.png

    G 1 Reply Last reply Jan 16, 2025, 7:49 AM Reply Quote 0
    • G
      Gertjan @Ernest018
      last edited by Jan 16, 2025, 7:49 AM

      @Ernest018

      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 ?

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      E 2 Replies Last reply Jan 16, 2025, 9:37 AM Reply Quote 0
      • E
        Ernest018 @Gertjan
        last edited by Jan 16, 2025, 9:37 AM

        @Gertjan

        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.

        43aa74b6-052e-47c4-a138-4f9c68f3fb37-image.png

        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

        1 Reply Last reply Reply Quote 0
        • E
          Ernest018 @Gertjan
          last edited by Jan 16, 2025, 9:50 AM

          @Gertjan

          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

          1 Reply Last reply Reply Quote 1
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received