Re: Fatal Error function acl_get
Verfasst: 12.09.2010 00:27
Hallo
Nimm mal das hier (am Anfang deiner Datei) und das (am Ende deiner Datei) heraus
und setze das hier 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
Nimm mal das hier (am Anfang deiner Datei)
Code: Alles auswählen
define('IN_PHPBB', TRUE);
Code: Alles auswählen
include("../../forum/includes/functions_posting.php");
include("../../forum/includes/functions_content.php");
include("../../forum/includes/constants.php");
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();
P.S. Ansonsten schau dir mal das Beispiel hier an Automatically Create Post from Non-Forum Page
Grüße: Mahony