Bill Dalton Posted August 11, 2015 Share Posted August 11, 2015 Problem on AdminOrders - my 3 shipping modules now appear twice. They work ok, just 2 of each module. I have tried uninstalling and reinstalling the modules. Checked positions and only the one normal entry for each. Looked at the database module tables no double entry. Also on PayPal orders the PayPal refund control appears 3 times. Any help or idea about how to fix would be welcome. Link to comment Share on other sites More sharing options...
Bill Dalton Posted August 11, 2015 Author Share Posted August 11, 2015 Turns out the new Class/Hook.php has an undocumented code addition, if ($hook_name != 'displayBackOfficeHeader') { $sql->where('(SELECT COUNT(*) FROM '._DB_PREFIX_.'module_shop ms WHERE ms.id_module = m.id_module AND ms.id_shop IN ('.implode(', ', $shop_list).')) = '.count($shop_list)); $sql->innerJoin('module_shop', 'ms', 'ms.`id_module` = m.`id_module`'); } Replaced the file with older PS 1.5.6.2 version. Problem solved. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now