Cangri787 Posted December 5, 2017 Share Posted December 5, 2017 I havent upgraded in awhile so I want to see what would be the best way to do this upgrade without any major errors. Any help will be appreciate it, Thanks! Link to comment Share on other sites More sharing options...
brian! Posted December 6, 2017 Share Posted December 6, 2017 On 12/5/2017 at 22:14, Cangri787 said: I haven't upgraded in awhile so I want to see what would be the best way to do this upgrade without any major errors. there's no guarantee of major errors whatever you do - it is WHMCS after all! make a backup of both your files and database. ensure that you have completed step 1 (even if you end up with multiple copies of both). check to see if you are using any of the following in your current version:- third-party addons, action hooks, payment gateways, customised templates, custom widgets etc if you are sure that the answer to step 3 is NO, then proceed to step 12. if the answer is YES, then STOP! check with the addon developer(s) whether there are updated versions of their addon - if yes, fine; if no, then can you live without them? does your installation need it to run effectively ?? if yes, best advice is to not upgrade until there are updated versions or valid alternatives. similarly for action hooks, there's no guarantee that a hook written for v5 will work in v7 - so check with their authors first. customised templates might cause issues depending upon the extent of the customisations - e.g if you've been using {php} tags in them, they will eventually have to be converted to hooks... though short-term I guess you could continue to use them (though I wouldn't advise it). the default orderform templates have changed between v5 and v7 - https://docs.whmcs.com/Standard_Order_Form_Templates - "Boxes" and "Modern" are included with the latest release but haven't been updated for years; the others "Ajax Cart", "Cart", "Comparison", "Slider", "Verticalsteps" and "Web20cart" are no longer included with WHMCS since v6 and obviously are not being updated - they might work (in a limited way) with WHMCS v7, but there are no guarantees and it would be advisable to use "Standard Cart" and/or the new replacement "Premium/Pure/Supreme Comparison" and "Cloud/Universal Slider" orderform templates. in v5, you could use a number of client themes - default/five or original... both have now been removed from v7 and it is only shipped with "Six"... if you are using a custom theme for v5, again check with its developers to see if there is an updated version for v7... even the invoicepdf.tpl template has changed, so a v5 version might not necessarily work in v7. most admin area widgets from v5 should work in v7, though some might need updating... some commercial widgets, e.g Enom Pro, seemingly don't work in the latest version. check that your server meets the v7 system requirements - if it doesn't, do not attempt to upgrade until it does! if you get your license direct from WHMCS (and not via a reseller), get a free developers license - that will allow you to make a dev installation to test the upgrade process... e.g you could copy your v5.3.11 files to it, copy the database and use the db copy instead (adjusting the configuration.php file)... if you can't get a dev license, go to step 17. if you are using a dev and it is working fine as v5.3.11, then you can download the full latest version from download.whmcs.com and begin the upgrading process on the dev installation. test the upgraded v7 dev installation thoroughly - enable display errors, go through the activity logs and see if any errors are being generated... remember to test the addons, hooks etc too. once you're happy that the dev is working correctly, then you can begin updating the live production installation. go back over steps 1 & 3 again... time spent doing this is not wasted and can save you a lot of time/stress if the upgrade process doesn't complete successfully. make yourself a drink, take a breath and ensure you know the upgrade process... then start upgrading the live site. if it live site upgrades successfully, test it thoroughly again - both in the admin and client areas. if there is an error in the process - do not panic! whatever the error, you'll be unfortunate if nobody else has come across it before - so the relevant answer should be in the documentation, these forums or by contacting support... hopefully, you'll have come across the same error during the dev upgrade and so will be prepared for it. worst case scenario - you've got a backup of your files and db and can restore them to return to using v5. before beginning the upgrade process, it might be worth you spending some time playing with the Softaculous WHMCS Demo, in both the admin and client areas... so that you at least know what you are letting yourself in for. also, check out the Crons documentation as that has changed significantly since v5 too. Link to comment Share on other sites More sharing options...
Recommended Posts