当我尝试在 prestashop 中安装模块时出错

Error when I try to install module in prestashop

按照 prestashop 开发人员手册,我遇到了这个问题:

我的测试模块代码是:

    if (!defined("_PS_VERSION_")){
    exit;
}

class MyModule extends Module{      
    public function __construct(){
        $this->name='Testing';
        $this->tab='Modulo Prueba';
        $this->version=1.0;
        $this->author='Uniagro';
        $this->need_instance=0;

        parent::__construct();

        $this->displayName = $this->l('Test');
        $this->description = $this->l('Este es un modulo de prueba');       
    }

    public function install(){
        if (parent::install()==false){
            return false;
        }
        return true;
    }   

    public function uninstall(){
        if (!parent::uninstall()){
            Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'mymodule');          
        }
        parent::uninstall();
    }
}

但是,如果我尝试激活我的模块,我总是会看到这个错误:

You don't have permissions to update your Testing module.

我尝试在本地使用 prestashop,并且我有权在此文件夹中写入内容。

我使用的是 Prestashop 版本 1.6.0.9

您的模块名称设置错误:

   $this->name='mymodule'; 

   // This is internal module name in lowercase letters,
   // must match the folder name too

   // Class name must match too but it can be in camel case : MyModule