- This topic has 11 replies, 4 voices, and was last updated 8 years, 1 month ago by Tom.
-
AuthorPosts
-
October 23, 2016 at 11:08 am #238099alw
Update Failed: Could not copy file. generate-backgrounds/functions/controls.php — and same for all add-ons
October 23, 2016 at 8:08 pm #238192TomLead DeveloperLead DeveloperCould not copy is usually a permissions error with the server.
It could also be that the file name length is too long – some servers limit the length of the request string for WP updates.
You should contact your hosting to see if they have any suggestions.
October 24, 2016 at 4:45 am #238296alw“generate-backgrounds/functions/controls.php” is too long?
October 24, 2016 at 10:07 am #238398TomLead DeveloperLead DeveloperThat’s just a part of the request string as the updater includes an encrypted string with the license key etc..
I’ve seen it on some hosts with permission issues and some hosts with a limit on that request string. It could be either one in this case as the error message is pretty vague.
October 24, 2016 at 2:05 pm #238490Michael HarveyHello
I am unable to update any of the add-ons although updates of the Generate Press theme proceed normally. There is no “Update” box on the “Appearance > GeneratePress” page in this WordPress site so obviously it’s not possoble to enter the individual add-on keys.
I migrated this site to a client’s host from my own development site using Duplicator so I’, wondering if his has anything to do with it. The Update box shows on this site and updates proceed OK.
Any ideas of how I can update addons on my client’s site?
October 24, 2016 at 2:07 pm #238492TomLead DeveloperLead DeveloperIf there’s no place in “Appearance > GeneratePress”, you’ll want to manually update to the latest version: https://generatepress.com/knowledgebase/updating-add-ons/#manual-update
Once you’re using the latest version you’ll be able to add the license key.
October 24, 2016 at 3:36 pm #238514LyleJust to add, I will always get this error when attempting to update any plugin that requires a licence and whose licence is active – not just GP Premium – on any of my local host installs (XAMPP, MAMP).
To verify, I added an older version of GP Premium (1.2.89) to a local XAMPP install on Win 10, activated the licence and then, via the Updates section, ran the updater. This is the result:
An error occurred while updating GP Premium: Could not copy file. gp-premium/disable-elements/languages/generate-disable-elements.mo
Not sure if this is the case here, but just thought I would let you know that this is my experience with local installs.
Cheers!
LyleOctober 24, 2016 at 3:40 pm #238517TomLead DeveloperLead DeveloperSame issue, the string is too long.
Let me research exactly which server setting needs adjusting ๐
October 24, 2016 at 4:07 pm #238521alwManual update works OK — but it’s such a pain to have to deactivate / delete / download new add-on / install / activate for all of the add-ons.
October 24, 2016 at 4:09 pm #238522TomLead DeveloperLead DeveloperWell it looks like you’re using the Super Package, which was all of the individual add-ons (discontinued over a year ago).
With GP Premium it’s much easier, as it’s just 1 plugin.
That being said, manual updating sucks – luckily it is a server related issue that only happens to a small percentage of users.
Haven’t found the specific setting yet, but working on it.
October 24, 2016 at 4:27 pm #238525alwThanks, Tom
I know that you are extremely good at responding to comments and I will continue using GeneratePress and recommending it to others because of your excellent responses. 5 stars!October 24, 2016 at 5:27 pm #238532TomLead DeveloperLead DeveloperThank you! ๐
So I found some information on this, but it’s usually due to sites being on a Windows server.
What I’ve done is re-structure some of the folders in hope that the request URLs will be shorter.
-
AuthorPosts
- You must be logged in to reply to this topic.