My custom module (which override product controller) successfully run in my set up but when i moved it into in any set up . it will give an error like this.
Exception printing is disabled by default for security reasons.
a:5:{i:0;s:745:"Error in file: "/var/www/html/mage2016/app/code/core/Mage/Admin/sql/admin_setup/upgrade-1.6.1.1-1.6.1.2.php" - SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'permission_variable' already exists, query was: CREATE TABLE
permission_variable
(variable_id
int UNSIGNED NOT NULL auto_increment COMMENT 'Variable ID' ,variable_name
varchar(255) NOT NULL default '' COMMENT 'Config Path' ,is_allowed
bool NOT NULL default '0' COMMENT 'Mark that config can be processed by filters' , PRIMARY KEY (variable_id
,variable_name
), UNIQUEUNQ_PERMISSION_VARIABLE_VARIABLE_NAME
(variable_name
) ) COMMENT='System variables that can be processed via content filter' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci";i:1;s:954:"#0 /var/www/html/mage2016/app/code/core/Mage/Core/Model/Resource/Setup.php(644): Mage::exception('Mage_Core', 'Error in file: ...')