BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › getimagesize WARNING on login page
- This topic has 9 replies, 4 contibutors, and was last updated 9 years, 3 months ago by Alyssa.
Question
July 21, 2015 at 10:26 am #43094@slathamI am getting the following code on my login page:
Warning: getimagesize() [function.getimagesize]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /nfs/c03/h05/mnt/57863/domains/fitmamachallenge.com/html/wp-content/themes/boss/buddyboss-inc/theme-functions.php on line 1091Warning: getimagesize(http://fitmamachallenge.com/wp-content/uploads/2015/07/fitmama_logo.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /nfs/c03/h05/mnt/57863/domains/fitmamachallenge.com/html/wp-content/themes/boss/buddyboss-inc/theme-functions.php on line 1091
Warning: Division by zero in /nfs/c03/h05/mnt/57863/domains/fitmamachallenge.com/html/wp-content/themes/boss/buddyboss-inc/theme-functions.php on line 1092
What can be done to fix this? I just installed the theme yesterday on a clean WordPress installation.
Thanks!
ShaynaAnswers
July 27, 2015 at 10:26 pm #43401@rotjuI’m having a similar issue here. My error codes are:
Warning: getimagesize(…/uploads/2015/07/CareerTiger-Weblogo-White.png) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /…/public_html/wp-content/themes/boss/buddyboss-inc/theme-functions.php on line 1091
Warning: Division by zero in /…/public_html/wp-content/themes/boss/buddyboss-inc/theme-functions.php on line 1092
Live site: careertiger.co.nz
(try to login and see the error on top)Any advice on this?
Cheers,Ronald
July 28, 2015 at 3:18 am #43411@jeanpierreWhat you report here is server configuration related, not Boss. related…
here is a fix:
some cheap hosts do not permit “fopen” functions, because it bring images hotlink and spam to their overused servers… you may need to upgrade to a better host, like Hostgator which are specialised in WordPress hosting…
July 28, 2015 at 1:47 pm #43468@alyssa-buddyboss
AlyssaParticipantJuly 28, 2015 at 9:55 pm #43496@rotjuThanks for the update, but that is not solving my issue.
My hosting allows fopen. Setting on my whm under php config is:
allow_url_fopen = onAny other advice?
July 29, 2015 at 4:11 pm #43566July 29, 2015 at 7:33 pm #43579@rotju@tjchester folders where already at 755 (definitely not 777 😉
July 30, 2015 at 10:27 am #43595@alyssa-buddyboss
AlyssaParticipant@rotju is your site set to private or require a password to access content? What version of Boss are you running? Can you send me a link to your site?
August 3, 2015 at 1:36 am #43821@rotjuI just found out that my htaccess file was causing heaps of problems including the getsizeimage error. Using the default htaccess file for wpmu, the issue is solved.
August 3, 2015 at 7:10 pm #43866@alyssa-buddyboss
AlyssaParticipantAh, good times, I’ll leave this open in case one of the other users is still having issues.
- The question ‘getimagesize WARNING on login page’ is closed to new replies.