View Issue Details

IDProjectCategoryView StatusLast Update
0009312mantisbtintegrationpublic2008-08-11 09:41
Reporterlukasschroeder Assigned Tojreese  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.2.0a1 
Target Version1.2.0a2Fixed in Version1.2.0a2 
Summary0009312: wiki integration and undefined function auth_is_user_authenticated (with patch)
Description

Activating the Wiki integration on 1.2.0a1 just gave me this error:

Fatal error: Call to undefined function auth_is_user_authenticated() in core/config_api.php on line 77

Additional Information

I was able to fix it by moving the require_once wiki_api.php down by 7 lines,
to below the require_once authentication_api...

--- core.php (revision 1)
+++ core.php (revision 2)
@@ -135,9 +135,6 @@
plugin_init_installed();
}

  • Wiki Integration

  • require_once( $t_core_path.'wiki_api.php' );

  • Authentication and user setup

    require_once( $t_core_path.'authentication_api.php' );
    require_once( $t_core_path.'project_api.php' );
    @@ -145,6 +142,10 @@
    require_once( $t_core_path.'user_api.php' );
    require_once( $t_core_path.'access_api.php' );

  • Wiki Integration

  • require_once( $t_core_path.'wiki_api.php' );

  • Display API's

    require_once( $t_core_path.'html_api.php' );
    require_once( $t_core_path.'gpc_api.php' );

Tagspatch

Activities

jreese

jreese

2008-07-09 11:18

reporter   ~0018351

Fixed in trunk, SVN r5395.

Related Changesets

MantisBT: master 28e6b33b

2008-07-09 11:15

jreese


Details Diff
Fix 0009312: Wiki API loaded too early.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5395 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0009312
mod - core.php Diff File