WordPress.org

Ready to get started?Download WordPress

Forums

LeagueManager
Championship view problem (2 posts)

  1. fmciaccheri
    Member
    Posted 1 year ago #

    Good evening, I have a problem when view the rank of my championship.
    The error are the same as the number of teams.
    How can I remove from the page?
    Thank you

    http://provafmcp.altervista.org/?page_id=42

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/html//thumb_) is not within the allowed path(s): (/membri:/membri2) in /membri/provafmcp/wp-content/plugins/leaguemanager/lib/core.php on line 298

    http://wordpress.org/extend/plugins/leaguemanager/

  2. ben52
    Member
    Posted 1 year ago #

    in core.php change line 313 from:

    return trailingslashit($_SERVER['DOCUMENT_ROOT']) . dirname(substr($file,strlen($_SERVER['HTTP_HOST'])+8, strlen($file))) . '/thumb_' . basename($file);

    with:

    return trailingslashit($_SERVER['ABSPATH']) . dirname(substr($file,strlen($_SERVER['HTTP_HOST'])+8, strlen($file))) . '/thumb_' . basename($file);

    tutto va bene.....

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.