Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0011033mantisbtbugtrackerpublic2010-04-23 23:22
Reportervboctor Assigned Todhx  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionno change required 
Product Version1.2.0rc2 
Summary0011033: Call to undefined function user_pref_get_language()
Description

Got the following report via the blog comments

"I get the following error during login with 1.20rc1 and 1.20rc2:

Fatal error: Call to undefined function user_pref_get_language() in c:\Inetpub\wwwroot\mantis\core\relationship_api.php on line 79

I see someone having posted this in the forums 3 weeks ago with no responses to it. :("

TagsNo tags attached.

Relationships

has duplicate 0011221 closeddhx Call to undefined function user_pref_get_language() 

Activities

dhx

dhx

2009-10-13 01:58

reporter   ~0023162

grep -Rn user_pref_get_language *

core/lang_api.php:104: $t_lang = user_pref_get_language( auth_get_current_user_id() );
core/user_pref_api.php:516:function user_pref_get_language( $p_user_id, $p_project_id = ALL_PROJECTS ) {
core/email_api.php:430: # lang_push( user_pref_get_language( $p_user_id ) );
core/email_api.php:472: lang_push( user_pref_get_language( $p_user_id ) );
core/email_api.php:509: lang_push( user_pref_get_language( $t_user['id'] ) );
core/email_api.php:562: lang_push( user_pref_get_language( $t_user_id, $t_project_id ) );
core/email_api.php:1115: lang_push( user_pref_get_language( $t_recipient, $t_project_id ) );
manage_user_update.php:128: lang_push( user_pref_get_language( $f_user_id ) );

I've been hearing of a few users that do an in-place upgrade of Mantis and run into problems because they're mixing files of different Mantis versions without knowing it. I'm guessing this is the problem in this case because Mantis 1.2.0rc2 doesn't have any call to user_pref_get_language in relationship_api.php

dhx

dhx

2009-10-26 08:57

reporter   ~0023345

Closing this ticket due to lack of feedback and my earlier comment disproving the possibility of this bug :D