Upgrading WordPress plugin overwrites settings | Report Bugs | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_TopicIcon
Upgrading WordPress plugin overwrites settings
February 16, 2011
3:17 pm
Avatar
Dave
Member
Members
Forum Posts: 4
Member Since:
October 12, 2010
sp_UserOfflineSmall Offline

When upgrading the plugin in wordpress, the settings get overwritten and I have to reconfigure the plugin.

February 16, 2011
3:56 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Hi Dave, i have posted a message in the Installation instructions, what happens is that the wp-content/plugins/xcloner-backup-and-restore/cloner.config.php gets overwritten with the new one, if you have a backup, you can retreive the old config file from there and overwrite the new one to get back your settings.

 

Ovidiu

February 16, 2011
4:07 pm
Avatar
Dave
Member
Members
Forum Posts: 4
Member Since:
October 12, 2010
sp_UserOfflineSmall Offline

But I shouldn't need to do this.  Why overwrite the file at all?  Retrieving the backup is as time consuming (or more so) than just re-entering my information.

 

I have over 100 blogs I'm using this on. Doing this on every blog is WAY more time consuming than it needs to be when you could simply NOT upload the file in the first place and have the code create it (which it must be doing anyhow).

February 16, 2011
4:41 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

From what i understand, when doing the automatic plugin upgrade, wordpress actually removes the old files and then uploads the new version of the plugin, so doing this won't actually help much.

Best way would be probably to store the config file outside the plugin folder, we will think it though and try to find a fix for the future versions.

 

Ovidiu

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Omar Vera
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0