Announcement

Symphony's issue tracker has been moved to Github.

Issues are displayed here for reference only and cannot be created or edited.

Browse

Closed#197: Some queries are not logged in class.mysql

Some queries are missing from the internal logger in class.mysql.php. The total is often higher than the number of queries printed out using ->debug('queries').

Sussed! Line 263 of class.mysql.php builds a unique hash for the query by hashing the current time. If two of the same query are fired one after the other, within a fraction of a second, this hash will be identical so only one will be logged.

Fixed by using microtime() instead:

$query_hash = md5($query.microtime());

Pulled. Thanks

This issue is closed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details