Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25847

Warning when MySQL server is not available

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.4.6
    • Fix Version/s: Customer request, 5.4.7
    • Component/s: None
    • Labels:
      None

      Description

      When the MySQL server is not available (busy, invalid connection, etc) the following warning shows up in the logs:

      [Thu Jun 02 11:53:41.390095 2016] [:error] [pid 31436] [client 10.20.37.0:43155] PHP Warning:  mysqli_error() expects parameter 1 to be mysqli, boolean given in /var/www/sites/mysite/ezpublish_legacy/kernel/clustering/dfsmysqli.php on line 20, referer: http://mysite/some/location
      

      Steps:
      1. Setup a site with eZ DFS
      2. Make MySQL server really busy (or specify a wrong server, the same warning still happens)
      3. access any content on the site

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ricardo.correia-obsolete@ez.no Ricardo Correia (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: