Fetal Error while activating Plugin after migration.

Home Forums Use Any Fonts Fetal Error while activating Plugin after migration.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4593
    Hardik Lamichhane
    Guest

    Hello Dinesh Sir,
    I’m using this Plugin from last 6 month and it was working fine.
    Recently I have migrated my site to a new server. After migration when I have tried to reactive this plugin it says Plugin couldn’t be active a fetal error occur.
    Here is the actual error message on plugin installation page:

    “Warning: mkdir(): No such file or directory in /home/hardik/public_html/wp-content/plugins/use-any-font/plugin_interface.php on line 76
    @font-face { font-family: ‘ChaparralPro-Regular’; font-style: normal; src: url(‘//hardik.com.np/wp-content/uploads/useanyfont/141210125255ChaparralPro-Regular.eot’); src: local(‘ChaparralPro-Regular’), url(‘//hardik.com.np/wp-content/uploads/useanyfont/141210125255ChaparralPro-Regular.eot’) format(’embedded-opentype’), url(‘//hardik.com.np/wp-content/uploads/useanyfont/141210125255ChaparralPro-Regular.woff’) format(‘woff’); } p{ font-family: ‘ChaparralPro-Regular’ !important; }
    Warning: fopen(/home/u132999759/public_html/wp-content/uploads/useanyfont//uaf.css): failed to open stream: No such file or directory in /home/hardik/public_html/wp-content/plugins/use-any-font/plugin_interface.php on line 197
    Can’t open file”

    Please solve my Problem, I can’t leave your plugin, it’s awesome.
    Thanks in advance.
    Hardik Lamichhane

    #4597
    Dinesh
    Keymaster

    Hello Hardik Jee,

    Our plugin needs to write a css file in your server as per font and font assign rules. In you case here, there must be permission issue, so it is unable to create and write the css file.

    Can you please make sure you have proper write permission for this folder ? wp-content/uploads/useanyfont.

    Thanks

    #4599
    Hardik Lamichhane
    Guest

    I think permission is set to 777, is it OK or not?
    If not correct would mind to give me some instruction?

    #4601
    Dinesh
    Keymaster

    Hi Hardik,

    755 should be fine. 777 is ok as well.

    Can you please make sure your server have fopen/fwrite extension available ?

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Fetal Error while activating Plugin after migration.’ is closed to new replies.