poplol Posted June 25, 2010 Share Posted June 25, 2010 Hi GuysI am trying to filter out my orders from the AdminOrders page and when i enter the search criteria and press filter an error comes up "INVALID SECURITY TOKEN" and the url is like this /index.php?tab=AdminOrders#order .. I know the problem is that there is no token at the end of the URL but i tried playing around with AdminTab but to no avail.Can you guys help me out here ?Thanks Link to comment Share on other sites More sharing options...
skyhorse Posted September 15, 2010 Share Posted September 15, 2010 same problem here, using 1.3.1.1 Link to comment Share on other sites More sharing options...
veloriba Posted December 25, 2010 Share Posted December 25, 2010 The problem is in file classes\AdminTab.phpI used code from v.1.4. Bad code starts at 955 row.you can replace whole block: > /* Determine total page number */ $totalPages = ceil($this->_listTotal / Tools::getValue('pagination', (isset($cookie->{$this->table.'_pagination'}) ? $cookie->{$this->table.'_pagination'} : $this->_pagination[0]))); if (!$totalPages) $totalPages = 1; echo 'table.'"> '; echo '<form method="post" action="'.$currentIndex; if (Tools::getIsset($this->table.'Orderby')) echo '&'.$this->table.'Orderby='.urlencode($this->_orderBy).'&'.$this->table.'Orderway='.urlencode(strtolower($this->_orderWay)); echo '#'.$this->table.'" class="form"> <input type="hidden" id="submitFilter'.$this->table.'" name="submitFilter'.$this->table.'" value="0"> </pre> <table> '; </t 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