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

Module 尝试在prestashop中安装模块时出错,module,prestashop,Module,Prestashop,按照prestashop的开发者手册,我发现了这个问题: 我的测试模块代码为: if (!defined("_PS_VERSION_")){ exit; } class MyModule extends Module{ public function __construct(){ $this->name='Testing'; $this->tab='Modulo Prueba'; $this->

按照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

您的模块名称设置不正确:

   $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

您的模块名称设置不正确:

   $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

您的模块名称设置不正确:

   $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

Ups…..我现在觉得自己很傻:(我改了名字,现在可以用了!谢谢!@gskemaNo prob。如果你还需要什么,请提问或发帖。Ups…..我现在觉得自己很傻:(我改了名字,现在可以用了!谢谢!@gskemaNo prob。如果你还需要什么,请提问或发帖。Ups…..我现在觉得自己很傻:(我改了名字,现在可以用了!谢谢!@gskemaNo prob。如果你还需要什么,就提问或发帖。Ups…..我现在觉得自己很傻:(我改了名字,现在可以用了!谢谢!@gskemaNo prob。如果你还需要什么,就提问或发帖。)。