joelie Posted November 24, 2011 Share Posted November 24, 2011 Is it possible to run the upgrade script on an old database to update it to v5, but also start with a fresh installation of the files? ie. I want the new interface without any of my old customisations but don't want to lose any of the data in the old database? Is it simply a matter of deleting all the old files (except for the config file), copying all the new files into the directory, and then running the upgrade script? 0 Quote Link to comment Share on other sites More sharing options...
Vijay Posted November 24, 2011 Share Posted November 24, 2011 (edited) You should first change your WHMCS template setting in Setup > General Settings to "default". You can then delete all the old files except the following: configuration.php /images/logo.jpg Optional: /attachments/ -> Preserves any attachments /downloads/ -> Preserves any existing downloads /templates/<active_template>/invoicepdf.tpl -> Preserves your PDF invoice customisations /templates/<active_template>/quotepdf.tpl -> Preserves your PDF quote customisations Then upload the new files (excluding the above files) to your whmcs directory and run the upgrade script to update the DB. You will then be upgraded with a clean set of files. If you have customised your WHMCS admin folder name, you should rename the admin folder in the new files to match. If your customisations in invoicepdf.tpl are from the older TCPDF version, you may even need to check for compatibility of the same. Edited November 24, 2011 by Vijay 0 Quote Link to comment Share on other sites More sharing options...
joelie Posted November 24, 2011 Author Share Posted November 24, 2011 Cool, thanks Vijay. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.