مرجع پارسی MyBB

نسخه‌ی کامل: انجمنم باز نمیشه..
شما درحال مشاهده‌ی نسخه‌ی متنی این صفحه می‌باشید. مشاهده‌ی نسخه‌ی کامل با قالب‌بندی مناسب.
سلام دوستان..

آقا من یه اشتباهی کردم اومدم از تنظیمات عمومی پلاگینارو غیر فعال کنم..
غیر فعال کردم انجمن غیر فعال شد و یه صفحه سفید اومد..

بعدش اومدم تو هاست تو پوشه inc فایل config.php رو حذفش کردم و دوباره از از نسخه مای بی بی خودم این فایلو config.default.php آپلود کردم
و اسمشو به config.php تغییر دادم بعدش اومدم انجمنو باز کنم دیدم این ارور رو میده..


MyBB Internal Error

MyBB has experienced an internal error and cannot continue.

Error Type:
MyBB Error (41)
Error Message:
Your board has not yet been installed and configured. Please do so before attempting to browse it.

Please contact the MyBB Group for technical support.


دوستان کمکم کنین..
فایل کانفیگ نشون میده که انجمن شما نصب شده و حاوی اطلاعات تنظیمی هست مثل دسترسی دیتابیس و ... . بهتره که بکاپ رو ریکاور کنید اما برای غیر از این فایل config.php رو توی همون پوشه inc بسازید، محتوای زیر رو داخلش قرار بدید:
کد php:
<?php
/**
 * Database configuration
 *
 * Please see the MyBB Docs for advanced
 * database configuration for larger installations
 * http://docs.mybb.com/
 */

$config['database']['type'] = 'mysqli';
$config['database']['database'] = 'نام دیتابیس';
$config['database']['table_prefix'] = 'mybb_';

$config['database']['hostname'] = 'localhost';
$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 MemCached), xcache, APC, or eAccelerator
 *  you can change the value below to 'files', 'memcache', 'memcached', 'xcache', 'apc' or 'eaccelerator' from 'db'.
 */

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

/**
 * Memcache configuration
 *  If you are using memcache or memcached 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'] = 'utf8';

/**
 * 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
);

/**
 * Admin CP Secret PIN
 *  If you wish to request a PIN
 *  when someone tries to login
 *  on your Admin CP, enter it below.
 */

$config['secret_pin'] = ''

توجه بشه که این فایل کانفیگی هست که مای بی بی نسبت به هاست من ساخته(که لوکال بوده و معمولا هم همین هستش) و به صورت پیشفرض موارد درسته و فقط باید جای نام ، یوزر، پسورد دیتابیس رو تغییر بدید.
سایر موارد هم که فکر نکنم تغییراتی داده باشید و مواردی چون اس کیو ال امیپرود فکر نکنم که فرقی داشته باشن وگرنه باید اونا هم نسبت به تنظیماتتون تغییر بدید.


بازم میگم بهترین کار ریکاور کردن بکاپه
چگونه بکاپ رو ریکاور کنم؟؟؟
مربوط به آموزش های هاستینگ هست نه مای بی بی اما بازم میگیم،

بکاپی که گرفتید اگر توسط سی پنل و به صورت فول بکاپ باشه بهتره بدید به خود هاستینگ ریکاور کنه.(هاستینگ ها هم بعضاً چندوقت یکبار بکاپ میگیرن خودشون که شما میتونید با ارسال تیکت و درخواست ریکاور کردن آخرین بکاپ موجودتون به هاستینگ، سفارش ریکاور کردن بکاپ رو بدید)

اگر بکاپی که گرفتید جدا جدا از فایل ها و دیتابیس ها باشه، بکاپ فایل ها رو آپلود کنید و از حالت فشرده خارج و جایگزین فایل های پیشین کنید.
اگر فرمتش رو زیپ یا چیزی انتخاب کردید که میتونید توی کامپیوتر باز کنید، از حالت فشرده خارج کنید و فقط فایل config.php رو آپلود کنید.
راسی من اون کار اولی که گفتی انجام دادم..ارور دیگه نمیاد ولی یه صفحه سفید به جای انجمن میاد..
خب فکر کنم به اینجا رسیدید که گفتید:
نقل‌قول: غیر فعال کردم انجمن غیر فعال شد و یه صفحه سفید اومد..

اگر مشکل از غیرفعال سازی همگانی باشه، برای فعال سازی اون قسمت توی پوشه inc فایل settings.php رو ویرایش کنید، متن زیر رو پیدا کنید
کد:
$settings['no_plugins']

عدد روبروش باید یک باشه، به صفر تغییر بدید و ذخیره کنید.مثل این:
کد:
$settings['no_plugins'] = "0";
دادا مشکلم حل شد..
مرسی عزیز...واقعا که آدم کار بلدی هستیاااا
من که شخصا از علم و دانایی و حضور به جا و به موقع و و نحوه ی پاسخگوییت به سوالات کاربران خوشم میاد..
فدایی داری داداش. Smile