vinyl91 Posted July 13, 2015 Share Posted July 13, 2015 Hi. I'm creating a module for PS 1.6 and I have problem with module tab in admin office. private function installModuleTab() { $tab = new Tab(); foreach (Language::getLanguages(true) as $lang) { $tab->name[$lang['id_lang']] = 'MY MODULE'; } $tab->class_name = 'AdminMyModule'; $tab->id_parent = 0; $tab->module = $this->name; $tab->save(); } Tab has been installed properly, but when I click on it, redirects me to my controller with invalid security token. I'm getting error "Invalid security token ". Then when I click "I understand the risks and I really want to display this page" token is changing to another one and I can acces my module controller page. How can I set this token or what is responsible for generating it wrong? Sorry for my english Greetings! Link to comment Share on other sites More sharing options...
Generaal Posted December 20, 2015 Share Posted December 20, 2015 Hello forumreaders, I run PS V 1.6.1.1 and have the follow problem, only for these: /index.php?controller=AdminModules&token=76c2a3cdefca73.... When I click on the Modules --> Modules & Services in BO. Even if I change the Capitals.. I receive a blank page. Try to disable Non Prestashop modules and so on, nothing change. Someone a solution for this problem? Best Regards, Generaal 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