Title: Errors on sandbox creation
Last modified: August 21, 2016

---

# Errors on sandbox creation

 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/errors-on-sandbox-creation/)
 * Hi!
 * I’m trying to activate & use the plugin (version 0.4) on a WP install that is
   in a subfolder. When activating a new sandbox, I get the following:
 * >  **Creating Sandbox – SandboxB
   >  Creating tables Copying files
   >  Warning: scandir(/home/camprand/public_html/wp-content/) [function.scandir]:
   > failed to open dir: No such file or directory in /home/camprand/public_html/
   > wp/wp-content/plugins/sandbox/class-sandbox.php on line 526
   >  Warning: scandir() [function.scandir]: (errno 2): No such file or directory
   > in /home/camprand/public_html/wp/wp-content/plugins/sandbox/class-sandbox.php
   > on line 526
   >  Warning: Invalid argument supplied for foreach() in /home/camprand/public_html/
   > wp/wp-content/plugins/sandbox/class-sandbox.php on line 528
   >  array(1) { [0]
   > => string(35) “/home/camprand/public_html/sandbox/” } Updating sandbox wp-config.
   > php
   >  Warning: file(/home/camprand/public_html/sandbox/SandboxB/wp-config.php) [
   > function.file]: failed to open stream: No such file or directory in /home/camprand/
   > public_html/wp/wp-content/plugins/sandbox/class-sandbox.php on line 563
   >  Warning: Invalid argument supplied for foreach() in /home/camprand/public_html/
   > wp/wp-content/plugins/sandbox/class-sandbox.php on line 565
   >  **Sandbox created
   > without error.**
 * This sure doesn’t look like “without error” to me. When I try to use the sandbox,
   the changes I make are made on the live site, even though the “You are using 
   the sandbox” notice is visible on the admin side.
 * Is this caused by the subfolder install? I had understood that issue to be resolved
   in version 0.2 of the plugin. Can you help me fix this? Thanks!
 * [https://wordpress.org/plugins/sandbox/](https://wordpress.org/plugins/sandbox/)

The topic ‘Errors on sandbox creation’ is closed to new replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [CircleReader](https://wordpress.org/support/users/circlereader/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/errors-on-sandbox-creation/)
 * Status: not resolved