Support Forum

What does this error message mean when I try to upload some plugins (not all)

DW Diana Waring
Diana Waring
Member

I’m getting the following error message when I try to upload/install some of the plugins–

Notice: Unable to remove the uploaded plugin zip archive: /problem-with-post-edit-buttonome7/dianawar/public_html/educationthatsrelational/wp-content/uploads/2013/10/stacked.zip

8 Answers

New Answer

MP Mr Papa
Mr Papa
Member

when you upload a file (theme, plugin, etc) using the wp uploader, which the sp plugin installer uses, wp tries to clean up when done…  sounds like its not able to remove the uploaded file at the end due to server permissions…  did the plugin install fine? if so, I wouldnt worry… 

DO dobbiedada
dobbiedada
Member

I am getting this same problem – Notice: Unable to remove the uploaded plugin zip archive: <path>/SP5-Importer2.zip

However, the plugin does not install correctly.  What do I need to set my permissions to, and where do I need to set the permissions?  Or can I copy it manually via FTP?  I tried copying it to the regular wordpress plugins folder but when I click ‘available plugins’ in the forum admin plugins panel it doesn’t see it, so I’m assuming that simple-press plugins are located elsewhere.  If you can tell me how I can get the plugin installed that would be great.

<edit>  I just saw that the forum path is /wp-content/sp-resources/forum-plugins and copied the plugin folder there manually, but still when I click ‘available plugins’ in the forum admin it doesn’t see it.  If you could tell me how to set the permissions on linux (.htaccess maybe?) that would be great.

MP Mr Papa
Mr Papa
Member

as mentioned, that is a wp error message as it cannot delete the file…

yes, you can simply unzip the archive on your computer and upload the resulting directory and file to your sp-resources/forum-plugins directory (its NOT a wp plugin so doesnt go in the wp plugins dir)…  then try activating…

you could still have permissions or ownership issues, but worth the try…

MP Mr Papa
Mr Papa
Member

okay, see you have edited…

so you need to look at permissions of sp-resources dir and forum-plugins dir…  It should match wp-content permissions…

also, look at the uid and gid (ownership)…  it too should match the wp-content…

DO dobbiedada
dobbiedada
Member

Permissions, uid and gid of sp-resources and forum-plugins dir seem to match wp-content:

wp-content:  drwxr-xr-x  9 apache apache   139 Feb  9 01:11 wp-content

sp-resources:  drwxr-xr-x 11 apache apache 4096 Feb  7 18:32 sp-resources

forum-plugins:  drwxr-xr-x 3 apache apache   22 Feb  8 23:28 forum-plugins

The error message is saying it can’t delete the file from the upload directory, and I changed the permissions on the upload to allow group to write, and that didn’t work:

Permissions for uploads/2014/02 directory:  drwxrw-r– 2 apache apache 133 Feb  9 01:11 02

Then I changed the permissions on the directory to be very lax (temporarily) and it still doesn’t work:

Permissions for uploads/2014/02 directory:  drwxrw-rw- 2 apache apache 133 Feb  9 01:11 02

The very zip file it’s saying it can’t delete seems to have write permissions on it for everyone:

Latest (failed) uploaded file:  -rw-rw-rw- 1 apache apache 117553 Feb  9 01:11 SP5-Importer4.zip

Am a bit baffled – why can’t wp delete the file it has write permissions on?

DO dobbiedada
dobbiedada
Member

Ok, so in linux you need ‘execute’ permission to delete a file…

Anyway the plugin did install ok – but confusingly, doesn’t list when I click ‘available plugins’ – but it is there because it shows under ‘forum->importer’.

MP Mr Papa
Mr Papa
Member

normally, 0755 is the proper permissions to use…but could be different based upon flavor of php being used on server…

lets check one other thing…  on forum- integration – storage locations, does it show okay for plugins?

YS Yellow Swordfish
Yellow Swordfish
Member

Coming in late on the thread (although too early in the morning here) but doesn’t this appear to be about the SP Importer plugin? And if so that DOES go into the standard WP Plugins location. it is NOT an SP plugin. Activate it as a standard WP plugin and it will add a menu item to the SP Admin menu.

Or did I miss something in my email notifications…