| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 3451|Reply: 1
Collapse the left

How to update plugins without losing existing data?

[Copy link]

 United States

Post time: 2020-12-28 01:19
| Show all posts |Read mode
Hey Vot,

I have a free plugin V1 which I translated to English and installed on my site.

Now, I see an update for the same plugin (Version 2) and I downloaded the Chinese version. There are new entries in the xml files and few php and plugin html files. I have translated the V2 xml and created a EN_UTF8 xml file.

On the official addon.dismall site everything happens automatically since the files are being downloaded from the cloud and it updates on download.

I know I can simply uninstall the plugin and install the new version but uninstalling will delete all old data.

But, I want to update this new version on my site without losing data. How can I do it?

Please help.

Cheerios......
Evan


 Russia

Post time: 2021-01-02 18:41
| Show all posts
Backup your plugin data from your database, i,e, using phpmyadmin.

If the plugin have an upgrade option (usually upgrade.php),
then try to do the upgrade queries manually.

As an alternative you can try to update your plugin online from the dismall (yet not checked!).
Your plugin will probably became Chinese.
Then overwrite the original Chinese code with your translated files.
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-22 04:35 GMT+3 , Processed in 0.024723 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list