Forums

Possible issue with hard-coded database type?

RCheesley 13 Jan, 2016
Hi folks,

We came across a weird bug with Chronoforms on an 'unusual' server configuration where PHP was compiled with mysqli and NOT mysql.

Whenever we accessed a page with Chronoforms enabled, we got a MySQL error. It turns out that the Chronoforms stuff seems to be expecting the mysql driver, whereas we have mysqli set in global config.

As soon as we recompiled with the mysql driver, Chronoforms started playing and the site did not crash.

I thought this was something that you may wish to investigate - appreciate it's likely a rare case, but could cause some problems I guess going forward
GreyHead 13 Jan, 2016
Hi RCheesley,

Thank you - I think Max has said that in odd cases like this then the PDO driver is usually the safest to use, assumnig that PHP has PDO enabled.

Bob
This topic is locked and no more replies can be posted.