اخوتي الكرام
السلام عليكم
قمت بتنصب phpBB-2.0.14 وبعد التنصيب طلعت هذه الرسالة في بالاعلي
كود:
Charset: iso-8859-1 The following is an email sent to you by an administrator of "{SITENAME}". If this message is spam, contains abusive or other comments you find offensive please contact the webmaster of the board at the following address: {BOARD_EMAIL} Include this full email (particularly the headers). Message sent to you follows: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {MESSAGE}
هذه ليست المشكلة ولكن شكلها غريب وتاتي في اعلى صفحة التنصيب!
بعد التنصب وعندما قالت الرسالة بان عميلة التنصيب تمت رعصت بعدها لكي ادخل للمنتدى ولكن طلع لي هذا الخطاء:
كود:
Fatal error: Cannot redeclare class template in /home/**********/public_html/phpbb/includes/template.php on line 30
وهذا جزء من template.php
كود:
<?php
/**************************************************************
* template.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: template.php,v 1.10.2.4 2005/02/21 18:37:50 acydburn Exp $
*
*
***************************************************************/
/*************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
************************************************************/
/**
* Template class. By Nathan Codding of the phpBB group.
* The interface was originally inspired by PHPLib templates,
* and the template file formats are quite similar.
*
*/
class Template {var $classname = "Template";
// variable that holds all the data we'll be substituting into
// the compiled templates.
// ...
// This will end up being a multi-dimensional array like this:
// $this->_tpldata[block.][iteration#][child.][iteration#][child2.][iteration#][variablename] == value
// if it's a root-level variable, it'll be like this:
// $this->_tpldata[.][0][varname] == value
var $_tpldata = array();
// Hash of filenames for each template handle.
var $files = array();
// Root template directory.
var $root = "";
// this will hash handle names to the compiled code for that handle.
var $compiled_code = array();
// This will hold the uncompiled code for that handle.
var $uncompiled_code = array();
/**
* Constructor. Simply sets the root dir.
وهذا هو سطر 30
كود:
class Template {var $classname = "Template";
علمآ باني قد قمت بتغيير اسم فولدر الاساسي install و contrib
وقمت باعادة ترخيص الكنفوق الي 644
ماهو الحل يا اهل الخبرة بارك الله فيكم؟