Needs work
Project:
Icon API
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2014 at 11:08 UTC
Updated:
5 Nov 2015 at 16:38 UTC
Jump to comment: Most recent
Hi,
just saw that the integration with the Fontello module is broken since the icon beta4 version. I get this when trying to upload a zip file generated by fontello.com:
Warning: file_get_contents(temporary://icon_api_7c4955af54f3db50307f0dc2a7724e6a/config.json): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in fontello_icon_fontello_import_validate() (line 40 of /var/www/drupal_icon/sites/all/modules/contrib/fontello/fontello.module).
The uploaded archive file does not contain a config.json file. Ensure this is a proper archive file generated by Fontello.With the beta3 version it works.
Thanks
Comments
Comment #1
markhalliwellComment #2
markhalliwellCommitted ef1b1b8 to 7.x-1.x:
Comment #3
drupov commentedAnd it works, thanks!
Comment #6
candelas commentedHello
I tried with 7.x-1.0-beta5 and with last dev and I keep having this problem when I upload a .zip with Fontello 7.x-1.0.
I am in a localhost Ubuntu 12.04 Apache 2.0 PHP 5.3.10
Also if I try to upload a .tar, I get this error
Fatal error: Call to undefined method Archive_Tar::close() in /var/www/drupal/sites/all/modules/icon/includes/import.inc on line 134Since I could upload with version beta3 I used it to get the bundles and for the rest the dev is working well at the moment.
Thanks a lot for this module. If I can help testing something, just tell :)
Comment #7
candelas commentedI forgot to say that I change the folder name to not have problems with apache and its alias 'icons'.
Comment #8
cthshabel commentedHey everyone,
Just also reporting that 7.x-1.0-beta5 is still not working. Same error as everyone is mentioning.
I rolled back to beta3 and use a new download from fontello (today 12/14/2014) and worked perfect.
Comment #9
cmonnow commentedJust a note that Fontello zips will only work with Icon API if you keep the original zip file name (where the folder in the zip has the same name as the zip file). I assume this is the most common cause of confusion?