تحديث آخر نسخة 1.8.37

تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
ارجو المساعدة مشكلة فى تسطيب النسخة
#1
بسم الله الرحمن الرحيم

السلام عليكم ورحمة الله وبركاتة


اخوانى فى الله ارجو من الله ان تكون بكامل الصحة والعافية وان تكونو قادرين على افادتى


وجهتنى مشكلة اثناء تسطيب المنتدى

تعتبر فى وسط التيطيب


وهى
بيطلعلى الرسالة دى

Parse error: syntax error, unexpected T_STRING in /home/egy/public_html/bb/inc/config.php on line 11


ارجو الحل فى ارسع وقت
شكر من طرف :
#2
قم بإعطاء الملف inc/config.php التصاريح 666
ثم ابدأ عملية التثبيت مرة اخرى.
شكر من طرف :
#3
الف شكر ليك اخى لاكن نفس المشكلة ارجو الافادة
شكر من طرف :
#4
نرجو منك وضع لينك الموقع لمساعدتك لانك تخالف قوانين المنتدى سوف يتم تجاهلك فى تلك الحالة لقراءة قوانين المنتدى هنا

ولا تنسى وضع رقم النسخة

وهذا حتى نفحص موقعك عن قرب ونستطيع مساعدتك وغير ذلك سيتم تجاهل طلبك
شكر من طرف :
#5
المنتدى

www.3egy.com


والنسخة الاصدار الاخير
شكر من طرف :
#6
اسنخ لى محتوى ملف inc/config.php
مع حذف كلمة مرور قاعدة البيانات منه اذا كانت موجودة به.
شكر من طرف :
#7
الى انا مركبة ولا قبل ما اركبة
وعلىى العموم
قبل ما اركبة كان فاضى
ودة ملف الكونفج وكنش فية البسورد ولا اى حاجة



PHP كود :
<?php
/**
 * Database configuration
 *
 * Please see the MyBB Wiki for advanced
 * database configuration for larger installations
 * http://wiki.mybboard.net/
 */

$config['database']['type'] = 'sqlite2';
$config['database']['database'] = '"<PASSWORD HERE>") or die('Cannot connect to the database because' . mysql_error());';
$config['database']['table_prefix'] = 'mybb_';

$config['database']['hostname'] = '';
$config['database']['username'] = '';
$config['database']['password'] = '';

/**
 * Admin CP directory
 *  For security reasons, it is recommended you
 *  rename your Admin CP directory. You then need
 *  to adjust the value below to point to the
 *  new directory.
 */

$config['admin_dir'] = 'admin';

/**
 * Hide all Admin CP links
 *  If you wish to hide all Admin CP links
 *  on the front end of the board after
 *  renaming your Admin CP directory, set this
 *  to 1.
 */

$config['hide_admin_links'] = 0;

/**
 * Data-cache configuration
 *  The data cache is a temporary cache
 *  of the most commonly accessed data in MyBB.
 *  By default, the database is used to store this data.
 *
 *  If you wish to use the file system (cache/ directory), MemCache or eAccelerator
 *  you can change the value below to 'files', 'memcache' or 'eaccelerator' from 'db'.
 */

$config['cache_store'] = 'db';

/**
 * Memcache configuration
 *  If you are using memcache as your data-cache,
 *  you need to configure the hostname and port
 *  of your memcache server below.
 *
 * If not using memcache, ignore this section.
 */

$config['memcache_host'] = 'localhost';
$config['memcache_port'] = 11211;

/**
 * Super Administrators
 *  A comma separated list of user IDs who cannot
 *  be edited, deleted or banned in the Admin CP.
 *  The administrator permissions for these users
 *  cannot be altered either.
 */

$config['super_admins'] = '1';

/**
 * Database Encoding
 *  If you wish to set an encoding for MyBB uncomment 
 *  the line below (if it isn't already) and change
 *  the current value to the mysql charset:
 *  http://dev.mysql.com/doc/refman/5.1/en/charset-mysql.html
 */

// $config['database']['encoding'] = '';

/**
 * Automatic Log Pruning
 *  The MyBB task system can automatically prune
 *  various log files created by MyBB.
 *  To enable this functionality for the logs below, set the
 *  the number of days before each log should be pruned.
 *  If you set the value to 0, the logs will not be pruned.
 */

$config['log_pruning'] = array(
    
'admin_logs' => 365// Administrator logs
    
'mod_logs' => 365// Moderator logs
    
'task_logs' => 30// Scheduled task logs
    
'mail_logs' => 180// Mail error logs
    
'user_mail_logs' => 180// User mail logs
    
'promotion_logs' => 180 // Promotion logs
);
 
?>
شكر من طرف :
#8
استبدله بالتالى
PHP كود :
<?php
/**
 * Database configuration
 *
 * Please see the MyBB Wiki for advanced
 * database configuration for larger installations
 * http://wiki.mybboard.net/
 */

$config['database']['type'] = 'sqlite2';
$config['database']['database'] = "database name here";
$config['database']['table_prefix'] = 'mybb_';

$config['database']['hostname'] = 'host name here';
$config['database']['username'] = 'db username here';
$config['database']['password'] = 'password here';

/**
 * Admin CP directory
 *  For security reasons, it is recommended you
 *  rename your Admin CP directory. You then need
 *  to adjust the value below to point to the
 *  new directory.
 */

$config['admin_dir'] = 'admin';

/**
 * Hide all Admin CP links
 *  If you wish to hide all Admin CP links
 *  on the front end of the board after
 *  renaming your Admin CP directory, set this
 *  to 1.
 */

$config['hide_admin_links'] = 0;

/**
 * Data-cache configuration
 *  The data cache is a temporary cache
 *  of the most commonly accessed data in MyBB.
 *  By default, the database is used to store this data.
 *
 *  If you wish to use the file system (cache/ directory), MemCache or eAccelerator
 *  you can change the value below to 'files', 'memcache' or 'eaccelerator' from 'db'.
 */

$config['cache_store'] = 'db';

/**
 * Memcache configuration
 *  If you are using memcache as your data-cache,
 *  you need to configure the hostname and port
 *  of your memcache server below.
 *
 * If not using memcache, ignore this section.
 */

$config['memcache_host'] = 'localhost';
$config['memcache_port'] = 11211;

/**
 * Super Administrators
 *  A comma separated list of user IDs who cannot
 *  be edited, deleted or banned in the Admin CP.
 *  The administrator permissions for these users
 *  cannot be altered either.
 */

$config['super_admins'] = '1';

/**
 * Database Encoding
 *  If you wish to set an encoding for MyBB uncomment 
 *  the line below (if it isn't already) and change
 *  the current value to the mysql charset:
 *  http://dev.mysql.com/doc/refman/5.1/en/charset-mysql.html
 */

// $config['database']['encoding'] = '';

/**
 * Automatic Log Pruning
 *  The MyBB task system can automatically prune
 *  various log files created by MyBB.
 *  To enable this functionality for the logs below, set the
 *  the number of days before each log should be pruned.
 *  If you set the value to 0, the logs will not be pruned.
 */

$config['log_pruning'] = array(
    
'admin_logs' => 365// Administrator logs
    
'mod_logs' => 365// Moderator logs
    
'task_logs' => 30// Scheduled task logs
    
'mail_logs' => 180// Mail error logs
    
'user_mail_logs' => 180// User mail logs
    
'promotion_logs' => 180 // Promotion logs
);
 
?>

مع مراعاة استبدال المتغيرات
مثل database name here
و hostname here
الخ
شكر من طرف :
#9
الف الف شكر على الماعدة لاكن واجهتنى مشكلة تانية فى الخطوة قبل الاخيرة

Administrator User



وبيظهر الكلام دة بدل كلمة next

[quote]Fatal error: require_once() [function.require]: Failed opening required '/home/egy/public_html/bb/inc/db_.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/egy/public_html/bb/install/index.php on line 1364
شكر من طرف :
#10
اخى الكريم عفوا هناك شئ لم انتبه اليه.
انت تقول انك تستخدم اخر اصدار؟ فلماذا تم وضع الموضوع فى اقسام MyBB 1.2 فى حين ان اخر اصدار هو 1.4 ؟
اذا كان فعلا اخر اصدار اكد لى ذلك لأنقل الموضوع للقسم المناسب..

بالنسبة للمشكلة. هل يمكنك ان ترسل لى بيانات قاعدة البيانات لأقوم بعملية التثبيت وارى مصدر المشكلة بشكل اوضح؟
شكر من طرف :


التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 2 ) ضيف كريم