Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Checking the integrity of your System Key and Encrypted Data

Note
titlePassphrase

If you have a passphrase set for batch processing credit cards, this utility will not work. If possible, first remove the passphrase under Settings > Company > General > Encryption.


The /config/blesta.php file contains a very important Blesta.system_key. This key is generated during installation and must match the original database. If the key is changed, all encrypted data will be irrecoverable and your installation will be permanently broken.

...

In some rare cases it may be necessary to rename a 3rd party module. For example, if you are using a third party module named TestModule, and we release an official module called TestModule, you may wish to rename third party module so that it is not overwritten by the official module.

Infonote

Before proceeding, make sure you really need to rename the module and be sure to back up your files + database. If you encounter any issues, roll back your changes.

...

The third step is to update the modules database table.

Code Block
languagesql
UPDATE `modules` SET `class` = 'testmoduleold' WHERE `class` = 'testmodule';

The fourth step is to change view context statements from:

Code Block
languagephp
$this->view->setDefaultView('components' . DS . 'modules' . DS . 'testmodule' . DS)

to

Code Block
languagephp
$this->view->setDefaultView('components' . DS . 'modules' . DS . 'testmoduleold' . DS)