Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter wintery01

    (@wintery01)

    additionally, when using the web developer mode, i found that the link resulted to a “the server responded with a status of 500 (Internal Server Error)”

    Thread Starter wintery01

    (@wintery01)

    i did some checking on the error logs, and found this

    PHP Fatal error: Cannot use object of type WP_Error as array
    PHP Warning: mkdir() [function.mkdir]: Permission denied in public_html/wp-content/plugins/favicon-by-realfavicongenerator/admin/class-favicon-by-realfavicongenerator-admin.php on line 117,

    Plugin Author phbernard

    (@phbernard)

    Sorry for the delay… Apparently www.ads-software.com doesn’t warm me on new support ticket.

    That’s not good ?? I’m going to try to reproduce the issue.

    Thread Starter wintery01

    (@wintery01)

    No problem, really, i dont expect you to be on the forums 24/7, lol

    Thanks ?? i would be really glad to hear from you soon, those favicons look awesome.

    On another note, perhaps you can create a manual install guide for WordPress noobs like me?
    Just a suggestion.

    Thanks again! ??

    Plugin Author phbernard

    (@phbernard)

    Sure! WPTavern published a great tutorial for RFG and WP: https://wptavern.com/how-to-create-a-platform-agnostic-favicon

    Thread Starter wintery01

    (@wintery01)

    The article seems great! Tho I do have a little concern about it.

    Does putting the code on the header.php make it still available when i update my theme or wordpress? If not, is there a code that i can insert into my child theme’s function.php?
    And this may sound stupid but I’m a total noob so i had to ask, is this the wordpress header.php file? And where can i find it?

    I’m a bit new to the add_action or add_filter code, and would appreciate some help.
    Let’s say the hook for the header is ‘_faviconheader’

    Plugin Author phbernard

    (@phbernard)

    That’s right, editing header.php manually is not a very good practice. Your changes will be gone as soon as you switch theme. You can find it is Appearance > Editor > header.php.

    The hook is wp_head:
    add_action( ‘wp_head’, you_hook_function_here );

    Although I developed the plugin, I must say I’m a newbie too!

    Thread Starter wintery01

    (@wintery01)

    hey there, just wondering if there’s any luck to solving my problem?

    Plugin Author phbernard

    (@phbernard)

    Sure, sorry for the delay. I had time to dedicate to the plugin today and… spent it on another issue.

    I expect to investigate this issue on Friday. Thanks for your patience!

    Thread Starter wintery01

    (@wintery01)

    Hey there, thanks for the reply, just a follow up,
    Since some people are total noobs (like me) here’s a bit of help for those installing the favicons in wrodpress manually.
    (I think phbernard should make a similar guide)

    If you are using a child theme, paste this in ur functions.php
    change function_name to whatever you want

    add_action(‘wp_head’, ‘function_name’);
    function function_name(){
    //Close PHP tags
    ?>
    ADD CODE HERE (the ones given on the result page of realfavicongenerator)
    <?php //Open PHP tags
    }

    Cheers! Hope this helps.

    Plugin Author phbernard

    (@phbernard)

    Total noob you said? You explain how to plug into WP, which is advanced material in my opinion. My mother still thinks floppy disks are the most convenient storage media, despite all my efforts to teach her the “hard drive way”. How am I supposed to call her? ??

    I tried to reproduce the issue… and failed. Even with the Customizr theme, the installation worked just fine on my test environment. In fact, the problem occurs in two places:
    – Server side: something must go wrong during favicon install. Unfortunately, I have no idea why.
    – Client side: the message “Favicon installation in progress. Please wait…” stays forever, whereas the server is probably not long at firing an error. I fixed this sub-issue in version 1.0.6 of the plugin, just released.

    In other words, if you update the plugin and run test scenario again, you should now get a “An internal error occurred” message.

    I would be glad if you could provide me these information:
    – The installation is actually performed by an Ajax request. The UI actually waits for the response of the Ajax call when it displays “Favicon installation in progress. Please wait…”. Could you check the response of the request to /wp-admin/admin-ajax.php?action=fbrfg_install_new_favicon&json_result_url=http… ? (with Chrome dev console or Firebug, etc.) You should get a 200 with a JSON document, but I suspect you actually get a 500.
    – If you get a 500, could you check your Apache error logs to spot the error?

    These checks a quite boring and a little time consuming. I would perfectly understand if you don’t have time to do them.

    Plugin Author phbernard

    (@phbernard)

    Hi,

    There were several changes in the plugin since you encounter the issue. I would be glad if you could give it another try and let me know if it works.

    Plugin Author phbernard

    (@phbernard)

    Any news about this issue? If not, I’ll close it in a few days.

    Thread Starter wintery01

    (@wintery01)

    Hello there,

    I am no longer able to login to the website that had this problem, since the client has taken over. So i cant say for sure. I did however implement the favicons manually. You can mark this issue closed for now.

    i’m sorry that it took me this long to reply. I wasnt having some real life issues sorted out, and your recent post just reminded me.

    Thanks again for the follow up, really appreciate ur effort for giving the support for your plugin. I’ll be using your plugin for future projects for sure ??

    Cheers

    Plugin Author phbernard

    (@phbernard)

    Thank you for the feedback!

    No problem, our lives are so full of small and big TODOs ??

    Don’t hesitate to post again if you encounter anything.

    Cheers

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Stuck on 'Favicon installation in progress. Please wait…"’ is closed to new replies.