public function getErrors($moduleGroupKey, $moduleKey, $requiredVersion = null)
 {
     global $parametersMod;
     $errors = array();
     if (file_exists(BASE_DIR . PLUGIN_DIR . $moduleGroupKey . '/' . $moduleKey . '/install/plugin.ini')) {
         $configuration = new ConfigurationFile(BASE_DIR . PLUGIN_DIR . $moduleGroupKey . '/' . $moduleKey . '/install/plugin.ini');
         if ($configuration->getError()) {
             $errors[] = $parametersMod->getValue('developer', 'modules', 'admin_translations_install', 'error_incorrect_ini_file') . PLUGIN_DIR . $configuration->getModuleGroupKey() . "/" . $configuration->getModuleKey() . '/install/plugin.ini';
         } else {
             if ($requiredVersion && (double) $configuration->getModuleVersion() < (double) $requiredVersion) {
                 $errors[] = $parametersMod->getValue('developer', 'modules', 'admin_translations_install', 'error_update_required') . $moduleGroupKey . '/' . $moduleKey . ' ' . $requiredVersion;
             }
             if ($moduleGroupKey != $configuration->getModuleGroupKey() || $moduleKey != $configuration->getModuleKey()) {
                 $errors[] = $parametersMod->getValue('developer', 'modules', 'admin_translations_install', 'error_move_module') . PLUGIN_DIR . $configuration->getModuleGroupKey() . "/" . $configuration->getModuleKey();
             }
             foreach ($configuration->getRequiredModules() as $module) {
                 $errors = array_merge($errors, $this->getErrors($module['module_group_key'], $module['module_key'], $module['version']));
             }
         }
     } else {
         if (is_dir(BASE_DIR . PLUGIN_DIR . $moduleGroupKey . '/' . $moduleKey)) {
             $errors[] = $parametersMod->getValue('developer', 'modules', 'admin_translations_install', 'error_ini_file_doesnt_exist') . PLUGIN_DIR . $moduleGroupKey . '/' . $moduleKey . '/install/plugin.ini';
         } else {
             $errors[] = $parametersMod->getValue('developer', 'modules', 'admin_translations_install', 'error_required_module') . ' ' . $moduleGroupKey . '/' . $moduleKey . ': ' . $requiredVersion;
         }
     }
     //check ImpressPages server for incompatabilities
     if (count($errors) == 0) {
         $tmpError = $this->_checkCompatability($moduleGroupKey, $moduleKey, $requiredVersion);
         if ($tmpError) {
             $errors[] = $tmpError;
         }
     }
     return $errors;
 }