TagApache

Install WHMCS in CakePHP (Invalid Token)

Installing WHMCS into CakePHP┬ámay give you an “Invalid Token” error as you try to perform tasks in the admin dashboard.

You may search online and find several discussions regarding PHP sessions which is true but not entirely. Some suggest changing the session’s name with PHP session_name('WHMCS'); in the configuration.php file. The real problem is with the rewrite base caused by CakePHP’s parent .htaccess file in the root.

Continue reading

Server Migration to Amazon EC2

At last, the migration of my one server to Amazon AWS is done and I’m extremely happy!

The migration took a while as I had to build up momentum and determine what is the quickest and most efficient way of moving accounts over. In the end the quickest way was to package each account into a tarball (tar.gz) which contained all the files, databases, mailboxes and configurations which can then be restored on the new server accordingly.

Continue reading

© 2017 Contrid

Theme by Anders NorénUp ↑

Pin It on Pinterest