KB Article #180843

Joomla Error - Public API mode

Problem

Not being able to access Public API Mode in JAI ( Joomla Interface ).

Error : Encryption database cache can not be initialized.

Resolution

Error indicates that key to decrypt Public Mode API Password is not available.

Solution :

1) Verify ownership/permission of encryption key directory ( File location can be found in configuration.php). Owner should be "apache" with read/write permission.

Alternate solution:

1) Run a script to encrypt the Public API user password and specify a directory to store the encryption key.

# sh ./apiportal_encryption.sh

The directory is created along with a file. The last segment of the directory is the file name, for example: /sample/directory/for/encryption/key creates an empty file named "key" in the desired directory. After the script is finished, re-enter the password for the Public API user in JAI to encrypt and store it correctly.

https://docs.axway.com/bundle/APIPortal_762_Instal...