Jump to content

Modul Install Error


Recommended Posts

I'm working on PS


When i install my modul, Prestashop says:

The version of your module is not compliant with your PrestaShop version.

my Code:

if (!defined('_PS_VERSION_'))  

	class MyModule extends Module {

	public $name;
		public function __construct() {
		  $this->name = 'mymodule';    
		  $this->tab = 'quick_bulk_update';    
		  $this->version = '1.0.0';    
		  $this->author = 'Author';    
		  $this->need_instance = 0;
		  $this->ps_versions_compliancy = array('min' => '', 'max' => _PS_VERSION_);      
		  $this->bootstrap = true;    
		  $this->displayName = $this->l('MyModule');    
		  $this->description = $this->l('A Nice Module');     
		  $this->confirmUninstall = $this->l('Are you sure you want to uninstall "MyModule"?');   

The error occurs but the module will still be installed. I cant uninstall it! :D



Thanks a lot


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More