FS#49141 - [mantisbt] "user_pref_get_language()" not defined
Attached to Project:
Community Packages
Opened by David Runge (dvzrv) - Friday, 29 April 2016, 18:51 GMT
Last edited by Maxime Gauduin (Alucryd) - Sunday, 21 August 2016, 09:23 GMT
Opened by David Runge (dvzrv) - Friday, 29 April 2016, 18:51 GMT
Last edited by Maxime Gauduin (Alucryd) - Sunday, 21 August 2016, 09:23 GMT
|
Details
Description:
After installing a fresh instance of MantisBT and logging in with the default administrator user, I hit a similar bug to this one: https://www.mantisbt.org/bugs/view.php?id=11584 PHP Fatal error: Uncaught Error: Call to undefined function user_pref_get_language() in /usr/share/webapps/mantisbt/core/lang_api.php:104 Stack trace: #0 /usr/share/webapps/mantisbt/core/error_api.php(82): lang_get_default() #1 /usr/share/webapps/mantisbt/core/string_api.php(33): error_handler(8192, 'Methods with th...', '/usr/share/weba...', 31, Array) #2 /usr/share/webapps/mantisbt/core/string_api.php(33): require_once() #3 /usr/share/webapps/mantisbt/core/email_api.php(40): require_once('/usr/share/weba...') #4 /usr/share/webapps/mantisbt/core/bug_api.php(33): require_once('/usr/share/weba...') #5 /usr/share/webapps/mantisbt/core/project_api.php(36): require_once('/usr/share/weba...') #6 /usr/share/webapps/mantisbt/core.php(239): require_once('/usr/share/weba...') #7 /usr/share/webapps/mantisbt/index.php(26): require_once('/usr/share/weba...') #8 {main} thrown in /usr/share/webapps/mantisbt/core/lang_api.php on line 104 Instead of setting variables public though, it is enough to add the following to the top of /usr/share/webapps/mantisbt/core/lang_api.php /** * requires user_pref_api */ require_once( 'user_pref_api.php' ) I'll create a patch for this, asap. |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Sunday, 21 August 2016, 09:23 GMT
Reason for closing: Won't fix
Additional comments about closing: mantisbt is now in [AUR] and up for picking
Sunday, 21 August 2016, 09:23 GMT
Reason for closing: Won't fix
Additional comments about closing: mantisbt is now in [AUR] and up for picking
PKGBUILD.patch (0.8 KiB)