• In the admin menu under “Slides sources” I get multiple of the following errors for different files and folders:
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/www/htdocs/abc/…/wp-content/galerien/index.php/) is not within the allowed path(s): (/www/htdocs/abc/:/tmp:/usr/bin:/www/htdocs/abc:/bin:/usr/local/bin:/usr/share/php) in /www/htdocs/abc/…/wp-content/plugins/wp-supersized/includes/WPSupersized.php on line 1515

    All errors ends with line 1515:
    if(is_dir($directory_base_path . $filename . “/”)) {

    The error is also in the post/page edit screens under “Select your custom directory. Click on folder name to show contained folders.”

    Any idea? I cannot choose the custom directory and use /wp-content/supersized-slides/
    (Nevertheless, the plugin works)

    https://www.ads-software.com/extend/plugins/wp-supersized/

Viewing 9 replies - 1 through 9 (of 9 total)
  • I have the same error. At the WP Supersized options page, selected the tab ‘Slides source’, there is this gigantic list of errors.
    Looked everywhere on the internet, but I can’t find a solution.

    It’s a pretty annoying error list, since it’s that long!

    Anybody with a solution?

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/usr/home/********/domains/********.nl/public_html/wp-content/index.php/) is not within the allowed path(s): (/home/********/:/usr/home/********/:/tmp:/var/tmp:/usr/local/lib/php/) in /usr/home/********/domains/********/public_html/wp-content/plugins/wp-supersized/includes/WPSupersized.php on line 1515

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/usr/home/********/domains/********.nl/public_html/wp-content/uploads/fotografie/********-fotografie-01-large.jpg/) is not within the allowed path(s): (/home/*******/:/usr/home/*******/:/tmp:/var/tmp:/usr/local/lib/php/) in /usr/home/********/domains/******.nl/public_html/wp-content/plugins/wp-supersized/includes/WPSupersized.php on line 1515

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/usr/home/*******/domains/******.nl/public_html/wp-content/uploads/fotografie/********-fotografie-01.jpg/) is not within the allowed path(s): (/home/******/:/usr/home/deb10901/:/tmp:/var/tmp:/usr/local/lib/php/) in /usr/home/********/domains/******.nl/public_html/wp-content/plugins/wp-supersized/includes/WPSupersized.php on line 1515

    Nobody has anything to say about this?

    Thread Starter Tim Beam

    (@tim-beam)

    I think it could be a thing of server configuration because dir functions are mentioned. Hence the developer of the plugin have maybe no idea! Or?

    i have the same problem it not serious but it annoying. after i run around i found my opend_basedir is on and have correct path in it. then i fix it by modify the core plugin
    by remove “/” in includes/WPSupersized.php line 1515 it will look like this
    if(is_dir($directory_base_path.$filename."/"))

    and the annoying is gone i dont know it have effect to plugin or not but now it work fine for me

    Thanks unine… that solved the annoying list of errors!

    I have tested your solution in IE, Firefox and Safari, looks like no problems.

    Thread Starter Tim Beam

    (@tim-beam)

    I only delete the / in line 1515 and it works for me, too.
    Looks that: if(is_dir($directory_base_path . $filename . "")) {

    Plugin Author Benoit De Boeck

    (@worldinmyeyes)

    Thanks unine for finding this out.
    I will include your fix in my next update.

    jippie! ??
    thank you all so much to fix this!
    Happy Xmas*!
    cheers

    *if there is not the end of the world today … ??

    hello guys !
    i am new to wordpress.
    i m surprised to know
    where this line can be found which can solve the issues… i am new on a windows server facing this problem, where as on a linux server there is no issues….

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: WP Supersized] PHP error "open_basedir restriction"’ is closed to new replies.