هاست لینوکس

آخرین بسته‌ی MyBB: نسخه‌ی 1.8.27 MyBB منتشر شد


امتیاز موضوع:
  • 0 رأی - میانگین امتیازات: 0
  • 1
  • 2
  • 3
  • 4
  • 5
درخواست کدهای داخل فایل config.php
#1
سلام
اگه میشه کدهای داخل فایل config.php را برای من اینجا قرار بدید.
چون در موقع نصب ارور 41 میده.Sad
وقتی فایل config رو بازش کردم دیدم چیزی داخلش نیست. این فایل اینجوری؟Huh یعنی نباید کدی داخلش باشه؟Huh
ممنون میشم اگه کدی هست برای من بذارید.Smile
با تشکر.Heart
پاسخ
#2
دوست عزیز این کد ها توی بسته مای بی بی هست نیاز نیست از کس دیگه ای بگیری شاید دوستان تغییراتی رو داده باشن که به ضرر شما باشه
http://community.mybbiran.com/thread-6328.html
بسته مای بی بی رو دانلود کن و کدی رو که میخوای از توی فایل کانفیک بگیر

موفق باشیWink
مهم بودن رو فراموش کن!

تیتر روزنامه ی یکشنبه، زباله ی روزدوشنبه است …


پاسخ
#3
(۱۳۹۰/۷/۲۸، ۱۵:۲۴:۲۶ عصر)hossein72 نوشته است: دوست عزیز این کد ها توی بسته مای بی بی هست نیاز نیست از کس دیگه ای بگیری شاید دوستان تغییراتی رو داده باشن که به ضرر شما باشه
http://community.mybbiran.com/thread-6328.html
بسته مای بی بی رو دانلود کن و کدی رو که میخوای از توی فایل کانفیک بگیر

موفق باشیWink

سلام حرف شما درست ولی من 10 بار تا حالا بسته مای بی بی رو دانلود کردم ولی همشون همینجورین یعنی داخل فایل config.php کدی وجود نداره و حجم ان 0byets
اگه میشه کد رو برای من قرار بدید
ممنون میشم
پاسخ
#4
دوست عزیز این کد های برای سایت منه هیچ تغییری هم ندادم امیدوارم به دردت بخوره


بجای این خط فکر کنم باید اسم پایگاه داده خودت رو بنویسی
مهم بودن رو فراموش کن!

تیتر روزنامه ی یکشنبه، زباله ی روزدوشنبه است …


پاسخ
 سپاس شده توسطiranmaker (۱۳۹۰/۷/۲۸، ۱۵:۴۱:۵۳ عصر)
#5
(۱۳۹۰/۷/۲۸، ۱۵:۳۹:۱۱ عصر)hossein72 نوشته است: دوست عزیز این کد های برای سایت منه هیچ تغییری هم ندادم امیدوارم به دردت بخوره

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

$config['database']['type'] = 'mysqli';
$config['database']['database'] = 'parsifro_mybb';
$config['database']['table_prefix'] = 'mybb_';

$config['database']['hostname'] = 'localhost';
$config['database']['username'] = 'parsifro_mybbu';
$config['database']['password'] = 'aOZ28_d2';

/**
 * 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'] = 'modir';

/**
 * 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, xcache, or eAccelerator
 *  you can change the value below to 'files', 'memcache', 'xcache' 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'] = '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
);
 
?>

ممنون
کارم درست شد.Big Grin
پاسخ
 سپاس شده توسطشماره مجازی (۱۴۰۱/۸/۲۶، ۰۱:۵۴:۰۱ صبح) ، گراف مسنجر (۱۴۰۱/۱۰/۳، ۰۴:۱۵:۵۴ صبح) ، چارتر ۴۲۴ (۱۴۰۲/۹/۱۲، ۱۵:۱۷:۴۴ عصر)


پرش به انجمن:


کاربرانِ درحال بازدید از این موضوع: 1 مهمان