Jump to content

adminCarts tab do not work


Recommended Posts

Thanks Jeckyl!

 

I get the next message

 

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /var/www/clients/client1/web1/web/classes/MySQL.php on line 154

 

 

I tried to check the mentioned file but I do not understand what to do:

 

{
  $this->_lastCached = false;
  if (_PS_DEBUG_SQL_)
   $this->displayMySQLError($query);
  if (!$array)
   return $this->_result;
  $resultArray = array();
  // Only SELECT queries and a few others return a valid resource usable with mysql_fetch_assoc
  if ($this->_result !== true)
   while ($row = mysql_fetch_assoc($this->_result))  //this is row 154
 $resultArray[] = $row;
  if ($use_cache AND _PS_CACHE_ENABLED_)
   Cache::getInstance()->setQuery($query, $resultArray);
  return $resultArray;
 }

 

can you please explain me???!!

Link to comment
Share on other sites

×
×
  • Create New...