WordPress.org

Ready to get started?Download WordPress

Forums

LeagueManager
Warning: file_exists() [function.file-exists]: open_basedir restriction [...] (4 posts)

  1. nirial
    Member
    Posted 10 months ago #

    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/scsport/wp-content/plugins/leaguemanager/lib/core.php on line 298

    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/scsport/wp-content/plugins/leaguemanager/lib/core.php on line 298

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

  2. nirial
    Member
    Posted 10 months ago #

    Sorry, the page with the error is
    http://scsport.altervista.org/?page_id=21

  3. ben52
    Member
    Posted 10 months ago #

    try to do this:

    lib/core.php change i think line 313 from:

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

    to:

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

  4. nirial
    Member
    Posted 10 months ago #

    Thanks very much!!!!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.