Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Upgrading font-your-face (fontsquirrel) 1.x to 2.10 on a multisite Drupal 6 server using drush 6.10 produces an error There was an error saving font Deutsch Gothic from Font Squirrel
After adding some debugging code, it seems that drush updatedb
tries to store the fonts into /usr/share/php/drush/sites/site.name.example/files/fontyourface/fontsquirrel
, probably because fontsquirrel.module
uses dirname($_SERVER['SCRIPT_FILENAME'])
Comment | File | Size | Author |
---|---|---|---|
#1 | fontyourface-fontsquirrel_drush-2118993-1.patch | 959 bytes | bart.hanssens |
Comments
Comment #1
bart.hanssens CreditAttribution: bart.hanssens commentedQuick and dirty patch.
But now another issues pops up (see #2048175: Zip font have directory, the module doesnot create folder and cannot extract font file, same issue but in D7 instead of D6)
Comment #2
bart.hanssens CreditAttribution: bart.hanssens commentedComment #3
Neslee Canil Pinto