BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Strange Error in Logs

Viewing 13 posts - 1 through 13 (of 13 total)
  • Question

    #34045
    @straniero

    Hi Guys

    I am using BB 4.0.8 with a child theme. I am getting this error in my logs that I am trying to chase down. Any ideas?

    12/18/2014 12:46:46 AM - www: PHP Warning: getimagesize(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /var/www/lightstalking.com/wp-content/themes/buddyboss/buddyboss-inc/theme-functions.php on line 918

    Now, when I was talking to my host (Websynthesis), I did get this reply which might be a clue?

    – You will want to verify with the buddyboss plugin author because the url_fopen function has been disabled on Synthesis hosting for security reasons.

    We do support CURL as an alternative to url_fopen. Your plugin author should know if they are using these functions or not.

    Any ideas?

    Answers

    #34048

    Alyssa
    Participant
    @alyssa-buddyboss

    @straniero we need url_fopen on, WordPress does not use curl. I suggest changing hosts, most hosts will allow you to turn this on.

    #34050
    @straniero

    Thanks @tjchester – What does it actually do / allow?

    #34068

    Alyssa
    Participant
    @alyssa-buddyboss

    @straniero This option enables the URL-aware fopen wrappers that enable accessing URL object like files.

    If enabled, allow_url_fopen allows PHP’s file functions — such as file_get_contents() and the include and require statements — can retrieve data from remote locations, like an FTP or web site. Programmers frequently forget this and don’t do proper input filtering when passing user-provided data to these functions, opening them up to code injection vulnerabilities. A large number of code injection vulnerabilities reported in PHP-based web applications are caused by the combination of enabling allow_url_fopen and bad input filtering.

    #34077
    @straniero

    Ok, thanks. So seeing as my host blocks it, and seeing as the site still seems to work properly (other than the serve errors) I have 2 more questions.

    1) Is it possible to remove it from Buddyboss?
    2) Would removing it have any effects for users that are not already apparent?

    Thanks for your help on this as I am between a rock and a hard place here.

    #34078
    @straniero

    PS – I am with WebSynthesis who have been amazing (I have tried about 15 hosts in the past) and are specifically a WordPress host.

    #34080
    @straniero

    Alternatively, is it feasible (or possible) to get my coder to change the theme from using url_fopen to CURL?

    #34082

    Alyssa
    Participant
    @alyssa-buddyboss

    @straniero this is a WordPress function we just so happen to use. I’m not sure of the full extent of not being able to use it. I think you may need to contact WordPress support so see if there is an alternative.

    #34085
    @straniero

    In how many files in Buddyboss is it used?

    #34107
    @straniero

    Too hard I guess.

    Seems both you guys and my host are happy to throw me in that basket.

    #34112

    Alyssa
    Participant
    @alyssa-buddyboss

    @straniero sorry, I did respond, not sure why it didn’t post.
    It is in one buddyboss file: buddyboss-inc/theme-functions.php
    BuddyPress has it located in 4 files, and I’m not sure how many files WordPress uses.

    #34423
    @straniero

    Thanks TJ. Sorry for being grumpy.

    #34448

    Alyssa
    Participant
    @alyssa-buddyboss

    No problem, I know how frustrating web design and coding can be 🙂

Viewing 13 posts - 1 through 13 (of 13 total)
  • The question ‘Strange Error in Logs’ is closed to new replies.