未找到迷你模板

时间:2016-10-10 19:33:45

标签: php .htaccess

我已经在我的服务器上安装了minibb论坛。

http://www.example.com/forum

$DB='mysqli';

$DBhost='localhost';
$DBname='minibb_forum';
$DBusr='not_root';
$DBpwd='not_actual_pw';

$Tf='minibbtable_forums';
$Tp='minibbtable_posts';
$Tt='minibbtable_topics';
$Tu='minibbtable_users';
$Ts='minibbtable_send_mails';
$Tb='minibbtable_banned';

$admin_usr='Admin';
$admin_pwd='specify.admin.password';
$admin_email='specify.root.admin.email.address';

$bb_admin='bb_admin.php?';

$indexphp='index.php?';

$cookiedomain='';
$cookiename='miniBBforums';
$cookiepath='';
$cookiesecure=FALSE;
$cookie_expires=108000;
$cookie_renew=1800;
$cookielang_exp=2592000;

$main_url='http://www.example.com/forum';

我已将上述所有设置更改为与我匹配。

我一直收到以下错误:

TEMPLATE NOT FOUND: ./templates/user_login_form.html

每当我尝试打开./templates/user_login_form.html

Forbidden

You don't have permission to access /forum/templates on this server.
Server unable to read htaccess file, denying access to be safe

我试图更改权限:chmod -R o + r *在论坛内但它一直说同样的错误。我有一个chmod 644 .htaccess,里面有以下内容:

Order allow,deny
Allow from all
Require all granted

0 个答案:

没有答案