Page MenuHomePhabricator

LinkTitles extension does not work with sqlite
Closed, ResolvedPublic


Author: Pontus.welin

After LinkTitles was installed on a wiki that uses sqlite.
Whenever a (non-minor) edit is made to a page, I get the following error:

A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See:
Query: SELECT page_title FROM page WHERE (page_namespace = 0) AND (CHAR_LENGTH(page_title) >= 3) AND (page_title NOT IN ("")) ORDER BY CHAR_LENGTH(page_title) DESC
Function: LinkTitles::parseContent
Error: 1 no such function: CHAR_LENGTH

Looks to me like the code assumes that the wiki uses mysql and therefor uses CHAR_LENGTH function. A function that doesn't exist in sqlite.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:09 AM
bzimport set Reference to bz51114.
bzimport added a subscriber: Unknown Object (MLST).

I would suggest you file an issue on the projects github repo. I don't recognise the author and I can't see a bugzilla account that looks to belong to them

Pontus.welin wrote:

Ok. I will do that.

Plus asking the extension author to define a place where to file bug reports, and adding that to , would be really helpful to avoid future confusion.