Error when trying to create a package
-
I have read few of the threads on here, but non of them could resolve my issue. The closest probably is: http://wordpress.org/support/topic/getting-error-when-trying-to-create-package
However, the errors I receive are a bit different (i have changed the default directory structure for security reasons):
Fatal error: Uncaught exception 'RuntimeException' with message 'DirectoryIterator::__construct(/public_html/website/blog/wp-includes/js/tinymce/utils) [<a href='directoryiterator.--construct'>directoryiterator.--construct</a>]: failed to open dir: Too many open files' in /public_html/website/blog/wp-content/plugins/duplicator/classes/package.archive.php:108 Stack trace: #0 /public_html/website/blog/wp-content/plugins/duplicator/classes/package.archive.php(108): DirectoryIterator->__construct('/public_html/website...') #1 /public_html/website/blog/wp-content/plugins/duplicator/classes/package.archive.php(117): DUP_Archive->runDirStats('/public_html/website...') #2 /public_html/website/blog/wp-content/plugins/duplicator/classes/package.archive.php(117): DUP_Archive->runDirStats('/public_html/website...') #3 /public_html/website/blog/wp-content/plugins/duplicator/classes/package.archive.php(117): DUP_Archive->runDirStats('/public_html/website...') #4 /public_html/website in /public_html/website/blog/wp-content/plugins/duplicator/classes/package.archive.php on line 108If I skip the scanning step and continue to the “Build” one, the following error appears:
Build Interrupt
The current build has experienced an issue.
Please try the process again. If the problem persists please visit the support page.Server Status: 200 -OK
Error Message:
DUPLICATOR ERROR: Please see the duplicator log file.Here’s a snippet from the log file:
!!!DUPLICATOR ERROR!!! Please Try Again! If the error persists please see the Duplicator 'Support' link. --------------------------------------------------------------------------------- MESSAGE: Runtime error in package.archive.zip.php constructor. DETAILS: Exception: exception 'RuntimeException' with message 'DirectoryIterator::__construct(/public_html/website/blog/wp-content/uploads/2014/04) [<a href='directoryiterator.--construct'>directoryiterator.--construct</a>]: failed to open dir: Too many open files' in /public_html/website/blog/wp-content/plugins/duplicator/classes/package.archive.zip.php:140 Stack trace: #0 /public_html/website/blog/wp-content/plugins/duplicator/classes/package.archive.zip.php(140): DirectoryIterator->__construct('/public_html/website/...') #1 /public_html/website/blog/wp-content/plugins/duplicator/classes/package.archive.zip.php(152): DUP_Zip::recurseDirs('/public_html/website/...') #2 /public_html/website/blog/wp-content/plugins/duplicator/classes/package.archive.zip.php(152): DUP_Zip::recurseDirs('/public_html/website/...') #3 /public_html/website/blog/wp-content/plugins/duplicator/classes/package.archive.zip.php(152): DUP_Zip::recurseDirs('/public_html/website/...') #4 /public_html/website/blog/wp-content/plugins/duplicator/classes/package.archive.zip.php(152): DUP_Zip::recurseDirs('/public_html/website/...') #5 /public_html/website/blog/wp-content/plugins/duplicator/classes/package.archive.zip.php(84): DUP_Zip::recurseDirs('/public_html/website/...') #6 /public_html/website/blog/wp-content/plugins/duplicator/classes/package.archive.php(49): DUP_Zip::Create(Object(DUP_Archive)) #7 /public_html/website/blog/wp-content/plugins/duplicator/classes/package.php(130): DUP_Archive->Build() #8 /public_html/website/blog/wp-content/plugins/duplicator/classes/task.php(18): DUP_Package->Build() #9 /public_html/website/blog/wp-content/plugins/duplicator/views/actions.php(12): DUP_Task->Create() #10 /public_html/website/blog/wp-includes/plugin.php(470): duplicator_package_create('') #11 /public_html/website/blog/wp-admin/admin-ajax.php(82): do_action('duplicator_pack...', Array) #12 {main}I am using WordPress Version 3.9.1 and Duplicator Version 0.5.2.
PHP Version on the server 5.4.28.Any help will be appreciated! I love this plugin and it has saved me a lot of time and headaches, but no I can’t use it. I really hope to rectify this problem.
Please ask if you need any more information.
The topic ‘Error when trying to create a package’ is closed to new replies.