my root is /forum. i wanted to use phpbb data on the page out of root folder.
http://hewan.altervista.org
and i did these codes into this:
Code: Select all
<?php
define('IN_PHPBB', true);
//$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include('forum/common.php');
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
page_header('Home');
$template->set_filenames(array(
'body' => 'mainhome.html',
));
make_jumpbox(append_sid("forum/viewforum.php"));
page_footer();
?>
Code: Select all
Fatal error: Composer dependencies have not been set up yet, run 'php ../composer.phar install' from the phpBB directory to do so. in /membri/hewan/forum/includes/startup.php on line 80