Jump to content

Invalid token adding a new CMS


tonti-snc

Recommended Posts

Please find the answer here and mark this thread solved please

http://www.prestashop.com/forums/topic/194216-solved-invalid-security-token/?p=1787883

Just encounter the same issue in PrestaShop version: 1.6.0.9. while trying to add a CMS page
 
Found the error in this module  /prestashop/controllers/admin/AdminCmsController.php
 
This line had incorrect code:
 
before:   note the "&"  vs "&"  looks like a copy and paste issue
href' => self::$currentIndex.'&add'.$this->table.'&id_cms_category='.(int)$this->id_cms_category.'&token='.$this->token
 
after:
href' => self::$currentIndex.'&add'.$this->table.'&id_cms_category='.(int)$this->id_cms_category.'&token='.$this->token
 
Moderator - please correct for future downloads

By http://www.prestashop.com/forums/user/833148-charliea/

  • Like 5
Link to comment
Share on other sites

×
×
  • Create New...