Title: [Plugin: WP Supersized] PHP error &quot;open_basedir restriction&quot;
Last modified: August 20, 2016

---

# [Plugin: WP Supersized] PHP error "open_basedir restriction"

 *  [Tim Beam](https://wordpress.org/support/users/tim-beam/)
 * (@tim-beam)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-supersized-php-error-open_basedir-restriction/)
 * 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)
 * [http://wordpress.org/extend/plugins/wp-supersized/](http://wordpress.org/extend/plugins/wp-supersized/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [chieldeno](https://wordpress.org/support/users/chieldeno/)
 * (@chieldeno)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-supersized-php-error-open_basedir-restriction/#post-2800986)
 * 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
 *  [chieldeno](https://wordpress.org/support/users/chieldeno/)
 * (@chieldeno)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-supersized-php-error-open_basedir-restriction/#post-2801021)
 * Nobody has anything to say about this?
 *  Thread Starter [Tim Beam](https://wordpress.org/support/users/tim-beam/)
 * (@tim-beam)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-supersized-php-error-open_basedir-restriction/#post-2801023)
 * 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?
 *  [unine](https://wordpress.org/support/users/unine/)
 * (@unine)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-supersized-php-error-open_basedir-restriction/#post-2801051)
 * 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
 *  [chieldeno](https://wordpress.org/support/users/chieldeno/)
 * (@chieldeno)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-supersized-php-error-open_basedir-restriction/#post-2801052)
 * 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](https://wordpress.org/support/users/tim-beam/)
 * (@tim-beam)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-supersized-php-error-open_basedir-restriction/#post-2801054)
 * 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](https://wordpress.org/support/users/worldinmyeyes/)
 * (@worldinmyeyes)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-supersized-php-error-open_basedir-restriction/#post-2801059)
 * Thanks unine for finding this out.
    I will include your fix in my next update.
 *  [aundc](https://wordpress.org/support/users/aundc/)
 * (@aundc)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-supersized-php-error-open_basedir-restriction/#post-2801089)
 * jippie! 🙂
    thank you all so much to fix this! Happy Xmas*! cheers
 * *if there is not the end of the world today … 😉
 *  [Himanshu Goel](https://wordpress.org/support/users/himanshu-goel/)
 * (@himanshu-goel)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-supersized-php-error-open_basedir-restriction/#post-2801099)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-supersized.svg)
 * [WP Supersized](https://wordpress.org/plugins/wp-supersized/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-supersized/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-supersized/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-supersized/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-supersized/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-supersized/reviews/)

## Tags

 * [open_basedir restriction in effect](https://wordpress.org/support/topic-tag/open_basedir-restriction-in-effect/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 9 replies
 * 6 participants
 * Last reply from: [Himanshu Goel](https://wordpress.org/support/users/himanshu-goel/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-supersized-php-error-open_basedir-restriction/#post-2801099)
 * Status: not resolved