Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

0
votes
0answers
22 views

Create multiple folder while creating pclzip

When i am create zip using pclzip using complete path, then it create zip by creating all folder name. Example : If the path for file is : $path = '/home/public_html/wp-content/uploads/2018/08/...
0
votes
1answer
385 views

Download a zip folder of selected files

I'm trying to download multiple files from the server in a zipped folder. Here is the code I have thus far: HTML <form method="post"> <input type="checkbox" name="checked[]" value="<?...
0
votes
1answer
160 views

Why does unzip_file always return true but nothing happens?

I am trying to use the $wp_filesystem of WordPress to unzip a file located inside the wp-content/plugins and place it at the same location. However whatever I try the WordPress method unzip_file() ...
1
vote
1answer
195 views

How can I fix my server so core/plugins/theme update don't silently fail?

I run my own server and have a few dozen WordPress sites. Recently, many updates (plugin and core) have been silently failing. If I try to do the update from the updates page, I get a message like ...
2
votes
1answer
884 views

AJAX issue - Uncaught SyntaxError when processing Zip File

I'm creating an application that will allow a user to fill out a form and then have a customized zip file downloaded for them upon submit. I'm utilizing AJAX to accomplish this task. Build....
2
votes
2answers
1k views

How do you use unzip_file()?

I have been trying to use the unzip_file() function. It says undefined so I looked into it and the WP_Filesystem() must be called and set up. So easy, right? require_once(ABSPATH .'/wp-admin/includes/...
-1
votes
1answer
15 views

Duplicating wordpress install issue

I wonder if anyone could help me with a problem that I am having. I am having a guy do some plugin/theme customization on my wordpress site and he wants to have a duplicate of the site to work with on ...
-3
votes
1answer
95 views

What does the output of this plugin mean? [closed]

I just tried to compress a file and am not sure if it worked or not. The plugin I am using gave me the following results: adding: wp-includes/js/tinymce/plugins/wpeditimage/editimage.html (deflated ...
2
votes
2answers
964 views

How do you protect a premium theme from being copied?

I'm thinking of doing up a couple of premium themes, and selling copies of them. I've never done anything like this before, so I have a couple of questions. I appreciate that this is mainly a forum ...
0
votes
1answer
173 views

What should I pass for $needed_dirs when calling _unzip_file_pclzip (aka PclZip)?

I'm trying to create a fallback method when ZipArchive is not present. I'm seeking to use the _unzip_file_pclzip() function contained in wp-admin/includes/file.php However, I'm not sure what is ...