Could not create directory.

Status
Not open for further replies.

D4rk

Active Member
2,777
2010
589
130
hio alll
while updating new plugins i get this error
Code:
An error occurred while updating Contact Form 7: Could not create directory. /home/admin/public_html/wp-content/upgrade/contact-form-7.tmp/contact-form-7.
i do this
added this:

define('WP_TEMP_DIR', ABSPATH . 'wp-content/upgrade/');
to wp-config

but it says

The package could not be installed. PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file


---------- Post added 1st Aug 2012 at 03:37 PM ---------- Previous post was 31st Jul 2012 at 04:23 PM ----------

plz any help ?
 
Last edited:
18 comments
i have deleted it , then download the newer bu ftp !
but i'm afraid this will happen when a new update come for wordpress !
as i have faced the same problem with another plugin and do the same to get rid of this problem !:facepalm::facepalm::facepalm:
pzl help me
 
If I were having a consistent problem with plugins, I'd make a subdomain, backup and install the site on the sub, and troubleshoot from there. Sounds like it could be an issue with your wp installation. A fresh install might lend a clue.
 
Upload your plugins and see if you have the same issues on the new installation. If you don't then you know there's something wrong with the original install.

There's probably other ways to get to the root of your problem. This is just what I would do.
 
hmm, but maybe it's from specific plugins?
like
AskApache Password Protect,Login LockDown,WordPress Database Backup,WP Security Scan ?
as i noticed the problem after install these plugins and secure my website with .htaccess and modifiyng wp-config
i also can't install any other plugins from dashboard
The package could not be installed. PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file
, i have to download the plugin and upload it via FTP !
 
OK deactivate those plugins one at a time (don't deactivate them all at once because you need to find which one is causing problems) then see what happens. If you deactivate a plugin and see things all back to normal, then you know that's the cause. In that case, try to find an alternate plugin to accomplish what you need.
 
ok i will try !
but i think there's another solution as i searched in google and found many topics about this problem
but all solution talk about get permission 777 to upgrade file from FTP
but this solution doesn't work !
 
chmod -R 775 /home/admin/public_html/wp-content/upgrade/

still the same problem, with another plugin update !!!!!!!!!!
Code:
An error occurred while updating Wordpress Poll: The package could not be installed. PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file


---------- Post added 4th Aug 2012 at 02:07 AM ---------- Previous post was 3rd Aug 2012 at 05:52 PM ----------

any help guyz?
 
Status
Not open for further replies.
Back
Top