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

MySQLi does not work anymore

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • 4.1.0
    • Database related
    • None

    Description

      Warning: mysqli_connect() expects parameter 5 to be long, string given in /lib/ezdb/classes/ezmysqlidb.php on line 131
      
      Call Stack
      #	Time	Memory	Function	Location
      1	0.0114	327260	{main}( )	../index.php:0
      2	0.1616	2731564	eZHandlePreChecks( )	../index.php:387
      3	0.1618	2732252	eZCheckUser( )	../pre_check.php:126
      4	0.1686	2899388	eZHTTPTool::instance( )	../pre_check.php:87
      5	0.1740	3027400	eZSession::start( )	../ezhttptool.php:216
      6	0.1775	3085652	eZDB::instance( )	../ezsession.php:433
      7	0.1819	3141168	eZExtension::getHandlerClass( )	../ezdb.php:292
      8	0.2010	3572932	ReflectionClass->newInstanceArgs( )	../ezextension.php:452
      9	0.2011	3575112	eZMySQLiDB->eZMySQLiDB( )	../ezmysqlidb.php:0
      10	0.2019	3585916	eZMySQLiDB->connect( )	../ezmysqlidb.php:81
      11	0.2019	3587756	mysqli_connect ( )	../ezmysqlidb.php:131
      

      This throw an eZNoDBConnexionException and stop any further execution.

      The issue comes from trunk rev. 23300.

      Steps to reproduce

      Just run the trunk version with mysqli driver.

      Attachments

        Activity

          People

            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            qwix qwix
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: