Author Topic: Feng web installer reports missing InnoDB with MariaDB 10.0  (Read 1553 times)

ferrao

  • Newbie
  • *
  • Posts: 2
    • View Profile
Feng web installer reports missing InnoDB with MariaDB 10.0
« on: October 19, 2015, 08:12:36 pm »
Hello guys,

I'm unable to setup FengOffice due "missing" InnoDB support on my database. This is strange since InnoDB is enabled and appears to be working with MariaDB 10.0.

Here's is the show engines output of MariaDB:
MariaDB [(none)]> show engines;
+--------------------+---------+----------------------------------------------------------------------------+--------------+------+------------+
| Engine             | Support | Comment                                                                    | Transactions | XA   | Savepoints |
+--------------------+---------+----------------------------------------------------------------------------+--------------+------+------------+
| MRG_MyISAM         | YES     | Collection of identical MyISAM tables                                      | NO           | NO   | NO         |
| InnoDB             | DEFAULT | Percona-XtraDB, Supports transactions, row-level locking, and foreign keys | YES          | YES  | YES        |
| MEMORY             | YES     | Hash based, stored in memory, useful for temporary tables                  | NO           | NO   | NO         |
| MyISAM             | YES     | MyISAM storage engine                                                      | NO           | NO   | NO         |
| CSV                | YES     | CSV storage engine                                                         | NO           | NO   | NO         |
| PERFORMANCE_SCHEMA | YES     | Performance Schema                                                         | NO           | NO   | NO         |
| Aria               | YES     | Crash-safe tables with MyISAM heritage                                     | NO           | NO   | NO         |
+--------------------+---------+----------------------------------------------------------------------------+--------------+------+------------+
7 rows in set (0.00 sec)

The error message that appears on the last FengOffice installation screen is:
InnoDB storage engine is not supported. Enable it on your database or choose MyISAM and try again.

Just in case, I'm running it on FreeBSD 10.2.

Thanks in advance,
Vinicius

ferrao

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Feng web installer reports missing InnoDB with MariaDB 10.0
« Reply #1 on: October 23, 2015, 08:33:52 pm »
Definitely it's a FengOffice bug.

I've modified the function haveInnoDbSupport(); on file: public/install/installation/acInstallation.class.php; so it always return true. And it worked.

The way that this function checks for InnoDB support is deprecated as I understood, it uses show variables like, when should use show engines to get the information.

I know that forcing the function to always return true isn't the right approach, but it worked.


scottnzuk

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Re: Feng web installer reports missing InnoDB with MariaDB 10.0
« Reply #2 on: March 17, 2016, 12:53:18 pm »
Definitely it's a FengOffice bug.

I've modified the function haveInnoDbSupport(); on file: public/install/installation/acInstallation.class.php; so it always return true. And it worked.

The way that this function checks for InnoDB support is deprecated as I understood, it uses show variables like, when should use show engines to get the information.

I know that forcing the function to always return true isn't the right approach, but it worked.

So what did actually type? haveInnoDbSupport(true); ??

 

anything