Font Awesome Manager

Font Awesome Manager 1.2.7

No permission to download
It seems check-square is on the list for "Regular" icons, but not solid.
Good catch :)

I've updated the package to include this icon by default - uprading existing installations is not necessary if icon check-square is already on the list of solid icons or if it is not required as a solid icon (beause of a non-standard style).
 
why am i getting the website forbidden error?

  • GuzzleHttp\Exception\ClientException: Client error: GET https://transfonter.org resulted in a 403 Forbidden response: <html> <head><title>403 Forbidden</title></head> <body bgcolor="white"> <center><h1>403 Forbidden</h1></center> <hr> (truncated...)
  • src/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
  • Generated by: Unknown account
  • Dec 28, 2022 at 2:04 PM

Stack trace​

#0 src/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 src/vendor/guzzlehttp/promises/src/Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 src/vendor/guzzlehttp/promises/src/Promise.php(153): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL)
#3 src/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 src/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Promise\TaskQueue->run(true)
#5 src/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 src/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending()
#7 src/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 src/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#9 src/vendor/guzzlehttp/guzzle/src/Client.php(131): GuzzleHttp\Promise\Promise->wait()
#10 src/vendor/guzzlehttp/guzzle/src/Client.php(89): GuzzleHttp\Client->request('get', 'https://transfo...', Array)
#11 src/addons/Kirby/FontAwesomeManager/Processor/Transfonter.php(75): GuzzleHttp\Client->__call('get', Array)
#12 src/addons/Kirby/FontAwesomeManager/Processor/Transfonter.php(308): Kirby\FontAwesomeManager\Processor\Transfonter->getUserId()
#13 src/addons/Kirby/FontAwesomeManager/Helper.php(223): Kirby\FontAwesomeManager\Processor\Transfonter->createSubsets(Array, '/usr/www/dcu/pu...', Array)
#14 src/addons/Kirby/FontAwesomeManager/Job/FontAwesome.php(809): Kirby\FontAwesomeManager\Helper->createSubsets(Array)
#15 src/addons/Kirby/FontAwesomeManager/Job/FontAwesome.php(133): Kirby\FontAwesomeManager\Job\FontAwesome->rebuildFontFiles(Array, Array)
#16 src/XF/Job/Manager.php(258): Kirby\FontAwesomeManager\Job\FontAwesome->run(5.16918)
#17 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 5.16918)
#18 src/XF/Job/Manager.php(84): XF\Job\Manager->runJobEntry(Array, 5.16918)
#19 job.php(43): XF\Job\Manager->runQueue(false, 8)
#20 {main}

Request state​

array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(96) "https://www.dallascowboysuniverse.com/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
why am i getting the website forbidden error?
As already pointed out by @Tracy Perry:
You've set FAM to use Transfonter.org; this does not work any longer (without trickery) since about January 2022.
I've still left this option as it is the only usable option in some cases, but it will most liekly be removed in a future update.

If you can you should use pyftsubset, if this is not possible to have to fake the user agent.
 
When installing this for the first time an error was displayed informing me that to use pyftsubset I needed 'brotli'

This was then installed ....

# pip install brotli

...and all ran well.

https://github.com/google/brotli



I just thought I'd let you know in case anyone else reported this,

Regards,
 
When installing this for the first time an error was displayed informing me that to use pyftsubset I needed 'brotli'

[...]

I just thought I'd let you know in case anyone else reported this
That might very well be the case.

Being a Debian guy I am not familiar with other (RPM-based) distributions, but @eva2000 has published an article on how to install pyftsubset on CentOS which might contain useful information.

This article is linked in FAQ How can I install pyftsubset?.

If information is missing in the FAQ please let me know and i'll be gald to add any missing bits :)
 
Damn I read the last sentence to late and already upgraded, now it's not working and I had to disable the ADD on.

Is there anywhere I can download the previous version again?
 
@Kirby after upgrade to v1.2.5 i got this error and a blank index page. What should i do? :oops:

Code:
An exception occurred: [ErrorException] [E_WARNING] Undefined array key "enabled" in src/addons/Kirby/FontAwesomeManager/Listener.php on line 429

XF::handlePhpError() in src/addons/Kirby/FontAwesomeManager/Listener.php at line 429
Kirby\FontAwesomeManager\Listener::appPubComplete() in src/XF/Extension.php at line 69
XF\Extension->fire() in src/XF/App.php at line 2990
XF\App->fire() in src/XF/Pub/App.php at line 478
XF\Pub\App->complete() in src/XF/App.php at line 2486
XF\App->run() in src/XF.php at line 524
XF::runApp() in index.php at line 20
 
@Kirby

There is a major issue here for anyone using Mazzly's 'Addon Update Notifier' as they will not see the warning re pyftsubset... Existing users that currently use pyftsubset should not upgrade yet!

Perhaps this upgrade should be put on hold for the time being
 
@mcatze
There is a slight issue with the upgrade code (I'll provide a patch for this soon), but it should be easy to fix this error - just go to FAM options and save them without any changes.

@fionix
What exactly does "now it's not working" mean?

@webbouk
I guess that's an issue for users of this Add-on and should probably be addressed by its author.
 
@fionix
What exactly does "now it's not working" mean?
He probably has pyftsubset installed:

Code:
[*]ErrorException: [E_WARNING] Undefined array key "enabled"
[*]
[*]src/addons/Kirby/FontAwesomeManager/Listener.php:429

Code:
#0 src/addons/Kirby/FontAwesomeManager/Listener.php(429): XF::handlePhpError(2, '[E_WARNING] Und...', '/home/nginx/dom...', 429)
#1 src/XF/Extension.php(69): Kirby\FontAwesomeManager\Listener::appPubComplete(Object(XF\Pub\App), Object(XF\Http\Response))
#2 src/XF/App.php(2990): XF\Extension->fire('app_pub_complet...', Array, NULL)
#3 src/XF/Pub/App.php(478): XF\App->fire('app_pub_complet...', Array)
#4 src/XF/App.php(2486): XF\Pub\App->complete(Object(XF\Http\Response))
#5 src/XF.php(524): XF\App->run()
#6 index.php(20): XF::runApp('XF\\Pub\\App')
#7 {main}
 
@Kirby I just uploaded 1.2.5.1 but the setting to change from the default transfonter.org to the other one returns an error:

The following sub-option(s) are unknown: enabled.

The setting remains on transfonter.org which then fills the error log with:

Client error: GET https://transfonter.org resulted in a 403 Forbidden response
 
@mcatze
There is a slight issue with the upgrade code (I'll provide a patch for this soon), but it should be easy to fix this error - just go to FAM options and save them without any changes
This was my first thought and since then no errors applies. Just for your information.
Anyway it is a great addon and also great support.
 
Top Bottom