Jump to content

Modul Install Error


Chrims

Recommended Posts

I'm working on PS 1.5.1.0

 

When i install my modul, Prestashop says:

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

my Code:

<?php    
if (!defined('_PS_VERSION_'))  
exit;

	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' => '1.5.1.0', 'max' => _PS_VERSION_);      
		  $this->bootstrap = true;    
		  
		  parent::__construct();   
		  
		  $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

Help!!

 

Thanks a lot

 

Link to comment
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...