Home › Forums › Use Any Fonts › [function.fopen]: failed to open stream: Permission denied
This topic contains 1 reply, has 2 voices, and was last updated by Dinesh 4 years, 3 months ago.
-
AuthorPosts
-
May 14, 2014 at 2:44 am #3143
AvinashHello Dinesh
The plugin was working perfectly over my localhost. But when I made the website live on server. It showed following error and I was unable to embed font.
On assigning font to headings I got following error:
——————–
@font-face { font-family: ‘Futura’; font-style: normal; src: url(‘//xn--goldsparplne-pcb.com/wp-content/uploads/useanyfont/140509055406FuturaLight.eot’); src: local(‘Futura’), url(‘//xn--goldsparplne-pcb.com/wp-content/uploads/useanyfont/140509055406FuturaLight.eot’) format(’embedded-opentype’), url(‘//xn--goldsparplne-pcb.com/wp-content/uploads/useanyfont/140509055406FuturaLight.woff’) format(‘woff’); } h1, h2, h3, h4, h5, h6{ font-family: ‘Futura’ !important; }
Warning: fopen(/www/htdocs/w011e4ca/wp-content/uploads/useanyfont//uaf.css) [function.fopen]: failed to open stream: Permission denied in /www/htdocs/w011e4ca/wp-content/plugins/use-any-font/plugin_interface.php on line 152
Can’t open file
——————–I also made the file permission of your plugin folder to 777 but still getting same error when assign and remove font. Can you please figure out what might be wrong.
Many thanks in advance.
May 14, 2014 at 3:10 am #3144Hi Avinash,
Can you make sure this file wp-content/uploads/useanyfont//uaf.css have write permission ? The plugin is trying to re-write the css file after the website move.
Thanks
-
AuthorPosts
The topic ‘[function.fopen]: failed to open stream: Permission denied’ is closed to new replies.

