SELECT siteId, Arfooo_sites.url, imageSrc, firstGalleryImageSrc, siteTitle, description, Arfooo_cachegoogledetails.pageRank, countryCode, categoryId, packageId, ADDDATE(creationDate, 30) > NOW() as isNew FROM Arfooo_sites INNER JOIN Arfooo_cachegoogledetails ON Arfooo_cachegoogledetails.url = Arfooo_sites.url WHERE status = 'validated' AND EXISTS(SELECT * FROM Arfooo_categories WHERE Arfooo_categories.categoryId=Arfooo_sites.categoryId AND forbidden='0') ORDER BY Arfooo_cachegoogledetails.pageRank DESC, siteId DESC LIMIT 5/top-rank.html
  (1024) Błąd SQL Out of resources when opening file '/tmp/#sql_3d2_0.MAI' (Errcode: 24 "Too many open files") (23)   Database.php   line 235     27-6-19   6:52
FrontController->dispatch() # line   18, file: /var/www/vhosts/annuaire-gratuit.com/httpdocs/index.php
  call_user_func_array(Array[2], Array[0]) # line  220, file: /var/www/vhosts/annuaire-gratuit.com/httpdocs/core/FrontController.php
    SiteController->topRankAction() # line    0, file: unknown
      SiteListModel->getValidatedTopRankSites(false) # line  288, file: /var/www/vhosts/annuaire-gratuit.com/httpdocs/controllers/SiteController.php
        SiteModel->selectWithNewFlag(Object:Criteria, "siteId, sites.url, imageSrc, firstGalleryImageSrc, siteTitle, de...") # line  136, file: /var/www/vhosts/annuaire-gratuit.com/httpdocs/models/SiteListModel.php
          Model->findAll(Object:Criteria, "siteId, sites.url, imageSrc, firstGalleryImageSrc, siteTitle, de...", true) # line   24, file: /var/www/vhosts/annuaire-gratuit.com/httpdocs/models/SiteModel.php
            Database->sqlGetAll("SELECT siteId, Arfooo_sites.url, imageSrc, firstGalleryImageSrc,...") # line  140, file: /var/www/vhosts/annuaire-gratuit.com/httpdocs/core/Model.php
              Database->sqlQuery("SELECT siteId, Arfooo_sites.url, imageSrc, firstGalleryImageSrc,...") # line  360, file: /var/www/vhosts/annuaire-gratuit.com/httpdocs/core/Database.php
                trigger_error("...") # line  235, file: /var/www/vhosts/annuaire-gratuit.com/httpdocs/core/Database.php