WordPress.org

Ready to get started?Download WordPress

Forums

warnng in header - theme magazine basic (2 posts)

  1. ronaldb73
    Member
    Posted 5 years ago #

    i'm building a new site using the Magazine Basic theme. The site functions fine, but there's a warning message in the header, I can't seem to solve this error. Anyone have any idea?

    The error message is:
    Warning: getimagesize(http://www.uitgaandenhelder.nl/wp-content/themes/magazine-basic/uploads/Den Helder Actueel - Logo.gif) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/uitgaan/domains/uitgaandenhelder.nl/public_html/wp-content/themes/magazine-basic/functions.php on line 108

    ------
    The following is the code around line 108 in functions.php:
    function uwc_head() {
    if (get_option('uwc_logo_header') == "yes") {
    (108): list($w, $h) = getimagesize(get_option('uwc_logo'));
    $height = $h/2+20;
    } else {
    $height= 35;
    }
    -------
    ofcourse the (108) is not in the code, but just to point out the line in question.
    ------
    The website:
    http://www.uitgaandenhelder.nl

  2. ronaldb73
    Member
    Posted 5 years ago #

    solved it, had to do with spaces in the name of the imagefile.

Topic Closed

This topic has been closed to new replies.

About this Topic