-
I am trying to replicate and I've fixed all that is indcated in
https://una.io/page/view-discussion?id=2131
But I am getting this error when I try to install "mymodule"
2020/10/20 00:57:00 [error] 989#989: *278987 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'BxMyModuleInstaller' not found in /var/www/clients/client1/web4/web/studio/classes/BxDolStudioInstallerUtils.php:278
Stack trace:
#0 /var/www/clients/client1/web4/web/studio/classes/BxDolStudioStore.php(148): BxDolStudioInstallerUtils->perform('bx/mymodule/', 'install', Array)
#1 /var/www/clients/client1/web4/web/studio/template/scripts/BxBaseStudioStore.php(17): BxDolStudioStore->__construct('')
#2 /var/www/clients/client1/web4/web/modules/boonex/decorous/data/template/studio/scripts/BxTemplStudioStore.php(16): BxBaseStudioStore->__construct('')
#3 /var/www/clients/client1/web4/web/studio/store.php(21): BxTemplStudioStore->__construct('')
#4 {main}
thrown in /var/www/clients/client1/web4/web/studio/classes/BxDolStudioInstallerUtils.php on line 278" while reading response header from upstream, client: 100.111.222.333, server: myserver.com, request: "POST /studio/store.php HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php7.0-fpm/web4.sock:", host: "myserver.com", referrer: "https://xx.myserver.com/studio/store.php"
Any idea of this error?
-
-
Hi LeonidS, here is the content of install/installer.php of mymodule
I took Spaces as my initial module
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defdroup Spaces Spaces
* @indroup UnaModules
*
* @{
*/
class BxSpacesInstaller extends BxBaseModProfileInstaller
{
function __construct($aConfig)
{
parent::__construct($aConfig);
}
}
/** @} */
-