WHMCS Auto Update

From WebHostingNeeds.com
Jump to: navigation, search

Latest instructions at https://blog.hostonnet.com/whmcs-upgrade


Backup MySQL Database

mysqldump hon_manage > hon_manage_before_upgrade-`date '+%Y-%m-%d-%H:%M:%S'`.sql


Make Files Writeable

chown -R www-data:www-data /home/manage.hostonnet.com/public_html/


After Update

Set file ownership to root.

chown -R root:root /home/manage.hostonnet.com/public_html/


Update Admin Logo

sed -i "s/templates\/{\$template}\/images\/logo.gif/https:\/\/s3.amazonaws.com\/fwcdn\/whmcs-admin-logo.png/g" /home/manage.hostonnet.com/public_html/honadmin/templates/blend/header.tpl

Update Client Area Logo

vi /home/manage.hostonnet.com/public_html/templates/six/header.tpl


<a href="{$WEB_ROOT}/index.php"><img src="{$WEB_ROOT}/templates/{$template}/img/logo.png" alt="{$companyname}" /></a>

<a href="{$WEB_ROOT}/index.php"><img src="https://s3.amazonaws.com/fwcdn/hon-white-logo.png" alt="{$companyname}" /></a>



whmcs