BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › Wp-Login Logo Error
- This topic has 11 replies, 6 contibutors, and was last updated 9 years, 8 months ago by Alyssa.
Question
December 18, 2014 at 1:19 pm #34066@george123Got this on the top of my wp-login:
Warning: getimagesize() [function.getimagesize]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /wp-content/themes/buddyboss/buddyboss-inc/theme-functions.php on line 918
Warning: getimagesize(wp-content/uploads/2014/08/logo3.jpg) [function.getimagesize]: failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /wp-content/themes/buddyboss/buddyboss-inc/theme-functions.php on line 918
Any idea how to fix this?
Answers
December 18, 2014 at 5:51 pm #34086@alyssa-buddyboss
AlyssaParticipant@george123 delete and re add your logo via theme customizer
February 4, 2015 at 12:42 am #35385@alison985This did not work for me. I still have the error. I tried several times.
February 4, 2015 at 2:41 am #35391@style960@alison985 Are you deleting the image from your Media Library? I’d be sure all instances of that image have been removed, then upload again using the Customizer.
February 4, 2015 at 1:26 pm #35408@alyssa-buddyboss
AlyssaParticipant@george123 make sure your server allows url_fopen and is set to on. Otherwise you need to try reuploading the theme. If you recently upgraded from version 3.x then you need to completely remove the theme and upload version 4.x
February 5, 2015 at 1:38 am #35444@alison985@style960 @tjchester Yes, I’m deleting the image. Yes, I’ve tried deleting parent and child themes and then readding them. I am getting a slightly different error:
Warning: getimagesize() [function.getimagesize]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/bankofkn/public_html/creatingchangecommunity.org/pride/wp-content/themes/buddyboss/buddyboss-inc/theme-functions.php on line 915 Warning: getimagesize(http://creatingchangecommunity.org/pride/wp-content/uploads/2015/02/ccc_small.png) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /home/bankofkn/public_html/creatingchangecommunity.org/pride/wp-content/themes/buddyboss/buddyboss-inc/theme-functions.php on line 915
February 5, 2015 at 10:11 am #35461@alyssa-buddyboss
AlyssaParticipant@alison985 it’s right there in the code:
wrapper is disabled in the server configuration by allow_url_fopen=0
this need to be set to 1 or on by your hosting providerMarch 10, 2015 at 12:42 pm #37120@foxdenvixenI am replying to this problem as well. I was able to change the php5.ini file in the root of my site from off to on and still get this error. I have deleted the logo and uploaded it again. This is just weird that it worked just fine on another site I had that used version 3x of this template. I know that others are NOT having this problem. I am not going to delete everything and start over. That is just a PITA!
March 12, 2015 at 1:04 pm #37199@mairajI have this problem since I upgraded to BuddyBoss 4
March 13, 2015 at 9:23 pm #37276@alyssa-buddyboss
AlyssaParticipant@george123 @alison985 @mairaj @foxdenvixen try adding this to your custom.css file but manually add your logo width and height were noted:
function remove_bb_logo(){ remove_action( 'login_head', 'buddyboss_custom_login_logo' ); } add_action( 'init' , 'remove_bb_logo' ); function buddyboss_custom_login_logo_redux() { $logo = get_theme_mod( 'buddyboss_logo', FALSE ); /*convert from relative url to absolute url*/ $scheme = is_ssl() ? 'https://' : 'http://'; $logo_absolute_url = $scheme . @$_SERVER['HTTP_HOST'] . $logo; if ( $logo ) { if ( !0 ) { $width = [insert image width]; $height = [insert image height]; echo '<style type="text/css"> #login h1 a { background-image: url('.esc_url($logo).'); background-size: '.intval($width).'px '.intval($height).'px !important; min-height: 87px; width: '.intval($width).'px; height: '.intval($height).'px; overflow: hidden; } body.login { background: #fff !important; } .login form { -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3); -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3); box-shadow: 0 1px 3px rgba(0,0,0,.3); } </style>'; } } } add_action( 'login_head', 'buddyboss_custom_login_logo_redux' );
March 24, 2015 at 10:20 am #37845@mairajHi!
Do I have supply the logo url also? Above code didn’t make a diffrence.
Thanks
March 24, 2015 at 2:33 pm #37854
- The question ‘Wp-Login Logo Error’ is closed to new replies.