title: Issue installing prestashop module : mymodule(class missing in /...)
body: <p>I'm new to prestashop module development and I can't seem to make it work. I followed a tutorial step by step but when I install the module, I always get this "Mymodule (class missing in /modules/Mymodule/test-module.php)".</p>
  
  <p>I checked on the net and it seems this error happens when the php file isn't encoded in UTF-8 without BOM, but even doing this doesn't work.</p>
  
  <p>Here is my code, hope someone finds what's the issue :</p>
  
  <pre><code>&lt;?php
  if (!defined('_PS_VERSION_'))
  exit;
  
  class CookiesPresta extends Module {
    public function __construct() {
     $this-&gt;name = 'CookiesPresta';
     $this-&gt;tab = 'front_office_features';
     $this-&gt;version = '1.0';
     $this-&gt;author = 'me myself';
     $this-&gt;need_instance = 0;
     $this-&gt;ps_versions_compliancy = array('min' =&gt; '1.5');
     $this-&gt;dependencies = array();
  
     parent::__construct();
  
     $this-&gt;displayName = $this-&gt;l('Bandeau Cookies');
     $this-&gt;description = $this-&gt;l('Créez et personnalisez votre bandeau d\'information sur les cookies');
  
  $this-&gt;confirmUninstall = $this-&gt;l('Voulez vous désinstaller le module Bandeau Cookies');
  
  if (!Configuration::get('cookiespresta'))      
    $this-&gt;warning = $this-&gt;l('No name provided');
  }
  
  
  public function install() {
   if (!parent::install()
          || !$this-&gt;registerHook('displayHeader')
          || !$this-&gt;registerHook('displayFooter')
      )
          return false;
      return true;
  }
  
  public function uninstall() {
     if(parent::uninstall())
        return false;
   return true;
  }
  }
  ?&gt;
  </code></pre>