ورود

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : Connection Problems در هنگام ورود به انجمن



sogoli
04-05-2009, 06:32 AM
سلام
من از SMF استفاده می کنم.متاسفانه چندروزی هست که هنگام ورود این پیغام داده می شود:

Connection Problems
Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.

البته من هیچ تغییری در اطلاعات دیتابیس و فایل SETTING ندادم
سپس این موضوع رو با پیشتبانی هاست درمیون گذاشتم که گفت شما باید نام كاربري و كلمه عبور بانك اطلاعات رو مجددا تنظيم كنيد که هیمن کار کردم ولی باز نشد.بااین حال ازش خواستم بکاپ هفته پیش رو بفرسته.در مجموع ایا دیتابیس دچار مشکل شده ایا فایلهای Smf و اینکه با ایمپورت بکاپ درست میشه؟
محتویات Setting هم بصورت زیر است:




<?php
/************************************************** ********************************
* Settings.php *
************************************************** *********************************
* SMF: Simple Machines Forum *
* Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com) *
* ================================================== ============================= *
* Software Version: SMF 1.1 *
* Software by: Simple Machines (<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>) *
* Copyright 2006 by: Simple Machines LLC (<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>) *
* 2001-2006 by: Lewis Media (<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>) *
* Support, News, Updates at: <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> *
************************************************** *********************************
* This program is free software; you may redistribute it and/or modify it under *
* the terms of the provided license as published by Simple Machines LLC. *
* *
* This program is distributed in the hope that it is and will be useful, but *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* *
* See the &quot;license.txt&quot; file for details of the Simple Machines license. *
* The latest version can always be found at <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> *
************************************************** ********************************/


########## Maintenance ##########
# Note: If $maintenance is set to 2, the forum will be unusable! Change it to 0 to fix it.
$maintenance = 0; # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you&#039;ll have to make it 0 again manually!)
$mtitle = &#039;غیر فعال شدن انجمن&#039;; # Title for the Maintenance Mode message.
$mmessage = &#039;انجمن تا اطلاع ثانوی غیر فعال می باشد.&#039;; # Description of why the forum is in maintenance mode.

########## Forum Info ##########
$mbname = &#039;********&#039;; # The name of your forum.
$language = &#039;persian&#039;; # The default language file set for the forum.
$boardurl = &#039;<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>*****/forum&#039;; # URL to your forum&#039;s folder. (without the trailing /!)
$webmaster_email = &#039;******&#039;; # Email address to send emails from. (like noreply@yourdomain.com.)
$cookiename = &#039;SMFCookie46&#039;; # Name of the cookie to set for authentication.

########## Database Info ##########
$db_server = &#039;localhost&#039;;
$db_name = &#039;*****&#039;;
$db_user = &#039;******&#039;;
$db_passwd = &#039;*****&#039;;
$db_prefix = &#039;smf_&#039;;
$db_persist = 0;
$db_error_send =1;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = &#039;/var/<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>;; # The absolute path to the forum&#039;s folder. (not just &#039;.&#039;!)
$sourcedir = &#039;/var/<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>******/<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>;; # Path to the Sources directory.

########## Error-Catching ##########
# Note: You shouldn&#039;t touch these settings.
$db_last_error = 1238752764;


# Make sure the paths are correct... at least try to fix them.
if (!file_exists($boarddir) &amp;&amp; file_exists(dirname(__FILE__) . &#039;/agreement.txt&#039;))
$boarddir = dirname(__FILE__);
if (!file_exists($sourcedir) &amp;&amp; file_exists($boarddir . &#039;/Sources&#039;))
$sourcedir = $boarddir . &#039;/Sources&#039;;

$db_character_set = &#039;utf8&#039;;
?&gt;

developer
04-05-2009, 06:50 AM
سلام

این مشکل ممکنه از چند چا ناشی بشه :

1- یوزرنیم و پسورد صحیح نیست
2- یوزر به دیتابیس کانکت نیست
3- mysql روی سرور شما failed است
4- لود مای اس کیو ال بالاست

sogoli
04-05-2009, 08:10 AM
باتشکر از پاسخ شما
مورد 1 نیست
مورد 2 رو از کجا میتونم چک کنم؟
در خصوص مورد 3و 4 باید عرض کنم که سایتم که روی همین هاست هست مشکلی نداره پس طبعا نباید از مورد 3 و4 باشددرسته؟