• 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://www.ads-software.com/plugins/sandbox/

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