Flyspray - The bug killer!

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Backend/Core
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version 1.0 devel (github master)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray - The bug killer!
Opened by Ivan Z. - 13.05.2017

FS#2433 - Deprecated: mysql_connect()

Hello !
There is an error after the installation at the entrance to the main page.
It occurs in version 2016-11-18: Flyspray 1.0-rc4 is released, as well as in the master branch.
(Sorry, translate google)

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\WebServerOpenServer\OpenServer\domains\localhost\VMPOBugs\vendor\adodb\adodb-php\drivers\adodb-mysql.inc.php on line 462 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\WebServerOpenServer\OpenServer\domains\localhost\VMPOBugs\vendor\adodb\adodb-php\drivers\adodb-mysql.inc.php:462) in C:\WebServerOpenServer\OpenServer\domains\localhost\VMPOBugs\includes\class.flyspray.php on line 907 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\WebServerOpenServer\OpenServer\domains\localhost\VMPOBugs\vendor\adodb\adodb-php\drivers\adodb-mysql.inc.php:462) in C:\WebServerOpenServer\OpenServer\domains\localhost\VMPOBugs\includes\class.flyspray.php on line 907 Warning: Cannot modify header information - headers already sent by (output started at C:\WebServerOpenServer\OpenServer\domains\localhost\VMPOBugs\vendor\adodb\adodb-php\drivers\adodb-mysql.inc.php:462) in C:\WebServerOpenServer\OpenServer\domains\localhost\VMPOBugs\index.php on line 93 Warning: Cannot modify header information - headers already sent by (output started at C:\WebServerOpenServer\OpenServer\domains\localhost\VMPOBugs\vendor\adodb\adodb-php\drivers\adodb-mysql.inc.php:462) in C:\WebServerOpenServer\OpenServer\domains\localhost\VMPOBugs\index.php on line 94

   php.ini (15.4 KiB)
19.05.2017 : A task closure has been requested. Reason for request: I chose MySQL when installing it, it is also written supported. Your decision helped, thank you so much.
Project Manager
peterdd commented on 15.05.2017 08:48

Change dbtype="mysql" to dbtype="mysqli" in your flyspray.conf.php

I wonder a bit, because mysqli is selected by default during the web install process and a notice should be visible to prefer the mysqli over the deprecated mysql extension

Ivan Z. commented on 19.05.2017 16:34

I chose MySQL when installing it, it is also written supported. Your decision helped, thank you so much.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing