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

    Cannot generate Vouchers

    Scheduled Pinned Locked Moved Captive Portal
    10 Posts 3 Posters 1.3k 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.
    • N
      NickM
      last edited by

      Hello,
      I am using latest pfsense version, i activated the voucher option in the captive portal but i see no generate vouchers button. I have tried in 3 different browsers (IE, Chrome and Mozilla).
      Is there another way i can generate the vouchers? Is there a file where you can add or manually generate vouchers?

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Huh? What button? Please, read some docs.

        https://doc.pfsense.org/index.php/Captive_Portal_Vouchers

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan
          last edited by

          @doktornotor:

          Huh? What button? Please, read some docs.

          https://doc.pfsense.org/index.php/Captive_Portal_Vouchers

          The doc talks about a lot of things  :D
          But nothing about this button:

          After clicking the indicated button, you will see a small blue round button next to it. Click it to see your vouchers-code.

          Capture-14856.PNG
          Capture-14856.PNG_thumb

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

          1 Reply Last reply Reply Quote 0
          • N
            NickM
            last edited by

            This is what i am trying to explain, i don't see that freaking button. I have version 2.2.2 stable.

            vouchers.jpg
            vouchers.jpg_thumb

            1 Reply Last reply Reply Quote 0
            • N
              NickM
              last edited by

              @doktornotor:

              Huh? What button? Please, read some docs.

              https://doc.pfsense.org/index.php/Captive_Portal_Vouchers

              Now you see what button you prick? Maybe you need to read some docs.

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                Extremely mature. Welcome on ignore list.

                1 Reply Last reply Reply Quote 0
                • N
                  NickM
                  last edited by

                  @doktornotor:

                  Extremely mature. Welcome on ignore list.

                  Like i give a crap. Your answer was one of a child.
                  Here, read some more:

                  
                  								 [![add voucher](/themes/pfsense_ng/images/icons/icon_plus.gif "add voucher")](services_captiveportal_vouchers_edit.php?zone=guests)	
                  

                  Although i cannot see it in the webpage, i was able to find the button in the code and work around it.

                  1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan
                    last edited by

                    @NickM:

                    Although i cannot see it in the webpage, i was able to find the button in the code and work around it.

                    :o
                    No "+" button ?

                    As soon as i check "Enable Vouchers" and Save at the bottom of the page, the "+" appears.

                    What version of pfSense are you using ?? Any packages installed ?

                    If it is 2.2.2 without packages, consider you setup as broken. Reinstall…..

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

                    1 Reply Last reply Reply Quote 0
                    • N
                      NickM
                      last edited by

                      @Gertjan:

                      @NickM:

                      Although i cannot see it in the webpage, i was able to find the button in the code and work around it.

                      :o
                      No "+" button ?

                      As soon as i check "Enable Vouchers" and Save at the bottom of the page, the "+" appears.

                      What version of pfSense are you using ?? Any packages installed ?

                      If it is 2.2.2 without packages, consider you setup as broken. Reinstall…..

                      As i said in the first post, i am using the latest pfsense version (2.2.2 Stable). I didn't have any issues while installing so i don't see it as broken. The only package i installed was nano (i really hate vi).
                      Yes, i don't see the plus button and while i was able to workaround that missing button and use the code link, vouchers still don't work. Even when i try testing box freezes.
                      Also, i am using pfsense in virtual enviroment (VirtualBox).

                      1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan
                        last edited by

                        This html code https://github.com/pfsense/pfsense/blob/master/usr/local/www/services_captiveportal_vouchers.php#L510
                        is present in your browser ?
                        Line "510" is executed ?

                        A browser cache problem ?
                        The image file $g['theme']}/images/icons/icon_plus.gif => /themes/pfsense_ng/images/icons/icon_plus.gif exists ? It has the correct owner and rights ?

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

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.