Seite 2 von 2

Re: Fatal Error function acl_get

Verfasst: 12.09.2010 00:27
von Mahony
Hallo
Nimm mal das hier (am Anfang deiner Datei)

Code: Alles auswählen

define('IN_PHPBB', TRUE); 
und das

Code: Alles auswählen

include("../../forum/includes/functions_posting.php");
include("../../forum/includes/functions_content.php");
include("../../forum/includes/constants.php"); 
(am Ende deiner Datei) heraus
und setze das hier

Code: Alles auswählen

    define('IN_PHPBB', true);
    $phpbb_root_path = '../../forum/';
    $phpEx = 'php';

    include($phpbb_root_path.'common.'.$phpEx);
    include($phpbb_root_path . 'includes/functions_posting.' . $phpEx);
    include($phpbb_root_path . 'includes/functions_content.' . $phpEx);
    include($phpbb_root_path . 'includes/constants.' . $phpEx);
    include($phpbb_root_path . 'includes/message_parser.' . $phpEx);
     
    $user->session_begin();
    $auth->acl($user->data);
    $user->setup();  
an den Anfang der Datei.


P.S. Ansonsten schau dir mal das Beispiel hier an Automatically Create Post from Non-Forum Page


Grüße: Mahony