Title: NextGEN Gallery file_exists() [function.file-exists] problem
Last modified: August 21, 2016

---

# NextGEN Gallery file_exists() [function.file-exists] problem

 *  [Kruggerr](https://wordpress.org/support/users/kruggerr/)
 * (@kruggerr)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/nextgen-gallery-file_exists-functionfile-exists-problem/)
 * Hello, when i update NextGEN Gallery there is this problem:
 * Warning: file_exists() [function.file-exists]: open_basedir restriction in effect.
   File(index.php/nggallery) is not within the allowed path(s): (/data/web/virtuals/
   12032/virtual) in /data/web/virtuals/12032/virtual/www/wp-content/plugins/nextgen-
   gallery/products/photocrati_nextgen/modules/fs/class.fs.php on line 288
 * Warning: file_exists() [function.file-exists]: open_basedir restriction in effect.
   File(index.php/nggallery/page/1) is not within the allowed path(s): (/data/web/
   virtuals/12032/virtual) in /data/web/virtuals/12032/virtual/www/wp-content/plugins/
   nextgen-gallery/products/photocrati_nextgen/modules/fs/class.fs.php on line 288
 * This error displays on the web but everything works. This error i can see only
   there where is pagination (I mean pagination of NextGEN gallery).
    Do you know
   where can be the problem?
 * [http://wordpress.org/plugins/nextgen-gallery/](http://wordpress.org/plugins/nextgen-gallery/)

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

 *  [javierico](https://wordpress.org/support/users/javierico/)
 * (@javierico)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/nextgen-gallery-file_exists-functionfile-exists-problem/#post-3979401)
 * Same problem today at multipage galleries updating to Version 2.0.0
 * Any Solution??????
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/nextgen-gallery-file_exists-functionfile-exists-problem/#post-3979436)
 * Hey just wanted to let you both know I’ve created an issue for this for the developers
   to look at.
 *  [javierico](https://wordpress.org/support/users/javierico/)
 * (@javierico)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/nextgen-gallery-file_exists-functionfile-exists-problem/#post-3979442)
 * Thank you!!!! I solved it temporarily hiding warnings on wordpress but only until
   you have the solution.
 * Just adding this line at wp-settings.php:
 * @ini_set(“display_errors”, 0);
 *  [elsteno](https://wordpress.org/support/users/elsteno/)
 * (@elsteno)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/nextgen-gallery-file_exists-functionfile-exists-problem/#post-3979542)
 * Same problem here!
 *  [awalden](https://wordpress.org/support/users/awalden/)
 * (@awalden)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/nextgen-gallery-file_exists-functionfile-exists-problem/#post-3979544)
 * I Have the same Problem since the update
 *  [awalden](https://wordpress.org/support/users/awalden/)
 * (@awalden)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/nextgen-gallery-file_exists-functionfile-exists-problem/#post-3979629)
 * After the Update to 2.0.7 i still have the same Problem.
 * [http://www.slg-stoertebeker.de/?page_id=681](http://www.slg-stoertebeker.de/?page_id=681)
 *  [Cheesybeanz](https://wordpress.org/support/users/cheesybeanz/)
 * (@cheesybeanz)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/nextgen-gallery-file_exists-functionfile-exists-problem/#post-3979631)
 * Just hide the warnings until a solution is found. Just don’t forget about the
   extra line of code otherwise any other error wont show.

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

The topic ‘NextGEN Gallery file_exists() [function.file-exists] problem’ is closed
to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 7 replies
 * 6 participants
 * Last reply from: [Cheesybeanz](https://wordpress.org/support/users/cheesybeanz/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/nextgen-gallery-file_exists-functionfile-exists-problem/#post-3979631)
 * Status: not resolved