• sleeplessindc

    (@sleeplessindc)


    Since the latest update I get this message:

    /wp-content/plugins/sassy-social-share//admin/css/sassy-social-share-hover-svg-horizontal.css): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /wp-content/plugins/sassy-social-share/sassy-social-share.php on line 36

    Perhaps caused by the double // in the path before admin?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sleeplessindc

    (@sleeplessindc)

    Update: Also get same message for the vertical css file

    /wp-content/plugins/sassy-social-share//admin/css/sassy-social-share-default-svg-vertical.css): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /wp-content/plugins/sassy-social-share/sassy-social-share.php on line 36

    Plugin Author Heateor Support

    (@heateor)

    If you have customized the logo color of social share icons from the Theme Selection section, plugin needs to update the default color of social share icons in the CSS files of the plugin. It seems updating the files via code is not allowed at your website server. You would like to check what is causing this restriction. OR keep the Logo Color option blank in the Theme Selection section.

    Thread Starter sleeplessindc

    (@sleeplessindc)

    I have not changed logo colors in the plugin or in my main theme. I double-checked the Theme Selection section and all the fields for the logo colors are already blank.

    The only change I made was to add custom code in Miscellaneous section from the Customization Options to decrease the space between the buttons for the buttons I am using:
    div.heateor_sss_horizontal_sharing li.heateor_sss_twitter_tweet {
    width: 95px !important;
    }
    div.heateor_sss_horizontal_sharing li.heateor_sss_pinterest_plus_share {
    width: 95px !important;
    }
    div.heateor_sss_horizontal_sharing li.heateor_sss_linkedin_share {
    width: 95px !important;
    }
    div.heateor_sss_horizontal_sharing li.heateor_sss_facebook_share {
    width: 145px !important;
    }
    div.heateor_sss_horizontal_sharing li.heateor_sss_instagram_recommend {
    width: 95px !important;
    }

    Does this get inserted into the plugin’s CSS or should it be inside style /style ?

    • This reply was modified 6 years ago by sleeplessindc. Reason: Added bottom question
    Plugin Author Heateor Support

    (@heateor)

    Does this get inserted into the plugin’s CSS or should it be inside style /style ?

    No, this CSS doesn’t get inserted in the CSS files. It gets inserted in the <head> tag directly. You don’t need to use <style> tag.
    Are you getting these errors in the error log? Was this error logged in the past or you are getting this at present?

    Thread Starter sleeplessindc

    (@sleeplessindc)

    After the recent update, I am still getting these “failed to open stream” 403 Forbidden warnings for hover-svg-horizontal.css and for hover-svg-vertical.css, and “Undefined index: vertical_re_providers” notices in the debug.log

    [06-Apr-2019 08:11:41 UTC] PHP Warning: file(https://wdcb.stcwdc.org/wp-content/plugins/sassy-social-share//admin/css/sassy-social-share-hover-svg-horizontal.css): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden

    in /home/stcwdc57/public_html/wdcb.stcwdc.org/wp-content/plugins/sassy-social-share/sassy-social-share.php on line 36
    [06-Apr-2019 08:11:41 UTC] PHP Warning: file(https://wdcb.stcwdc.org/wp-content/plugins/sassy-social-share//admin/css/sassy-social-share-default-svg-vertical.css): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden

    in /home/stcwdc57/public_html/wdcb.stcwdc.org/wp-content/plugins/sassy-social-share/sassy-social-share.php on line 36
    [06-Apr-2019 08:11:41 UTC] PHP Warning: file(https://wdcb.stcwdc.org/wp-content/plugins/sassy-social-share//admin/css/sassy-social-share-hover-svg-vertical.css): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden

    in /home/stcwdc57/public_html/wdcb.stcwdc.org/wp-content/plugins/sassy-social-share/sassy-social-share.php on line 36
    [06-Apr-2019 08:11:41 UTC] PHP Notice: Undefined index: vertical_re_providers in /home/stcwdc57/public_html/wdcb.stcwdc.org/wp-content/plugins/sassy-social-share/admin/class-sassy-social-share-admin.php on line 634

    As before, I have not changed any theme colors.

    • This reply was modified 5 years, 11 months ago by sleeplessindc. Reason: fixed typo
    Plugin Author Heateor Support

    (@heateor)

    If you send me link to download these CSS files you mentioned here, would be able to check what’s the difference between these and the original files.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Failed to open stream / 403 Forbidden’ is closed to new replies.