• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Product key bug with hostinfo.php in version 1.5.4

Scheduled Pinned Locked Moved Solved
Bug Reports
2
2
403
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
    nextechinc
    last edited by Aug 11, 2018, 6:32 PM

    Found and fixed a bug, just hoping it can get committed to future releases. I’m writing some post download scripts and the product key wasn’t decoding properly. So I just copied over this line from route.class.php, and all is well now.

    Line 172 of hostinfo.php should be:

    if (mb_detect_encoding($test_base64, 'utf-8', true)) {
    

    Rather than:

    if (mb_detect_encoding($test_base64)) {
    
    1 Reply Last reply Reply Quote 1
    • S
      Sebastian Roth Moderator
      last edited by Dec 7, 2018, 6:26 PM

      @nextechinc Thanks for posting! Sorry we have lost track of this. I just added your suggested change to the dev-branch. Will be in the next release.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        1/2
        Last post

      113

      Online

      12.2k

      Users

      17.4k

      Topics

      155.5k

      Posts
      Copyright © 2012-2024 FOG Project