News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SP is set up on new fresh sites

Started by ~Dragon~, August 07, 2010, 06:59:35 PM

Previous topic - Next topic

Kindred

either you have a problem with your settings.php file (which lists the database connection information) or you have a problem on the server side (with either the database itself or the database user)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

~Dragon~

#21
Quote from: Kindred on August 25, 2010, 08:15:48 AM
either you have a problem with your settings.php file (which lists the database connection information) or you have a problem on the server side (with either the database itself or the database user)


Yes I don't know what is happened settings.php something seems. I notice settings.php happened

no idea, it is happened something? I have settings.php but I have problem it


<?php
/******************************************************************************
* Settings.php                                                                *
*******************************************************************************
* SMF: Simple Machines Forum                                                  *
* Open-Source Project Inspired by Zef Hemel ([email protected])                *
* =========================================================================== *
* Software Version:           SMF 1.0 RC2                                     *
* Software by:                Simple Machines (http://www.simplemachines.org) *
* Copyright 2001-2004 by:     Lewis Media (http://www.lewismedia.com)         *
* Support, News, Updates at:  http://www.simplemachines.org                   *
*******************************************************************************
* This program is free software; you may redistribute it and/or modify it     *
* under the terms of the provided license as published by Lewis Media.        *
*                                                                             *
* 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 "license.txt" file for details of the Simple Machines license.      *
* The latest version can always be found at http://www.simplemachines.org.    *
******************************************************************************/

########## 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'll have to make it 0 again manually!)
$mtitle 'Maintenance Mode'; # Title for the Maintenance Mode message.
$mmessage 'Ok faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!'; # Description of why the forum is in maintenance mode.

########## Forum Info ##########
$mbname 'My Community'; # The name of your forum.
$language 'english'; # The default language file set for the forum.
$boardurl 'http://www.deaf-hearing.co.cc'; # URL to your forum's folder. (without the trailing /!)
$webmaster_email '[email protected]'; # Email address to send emails from. (like [email protected].)
$cookiename 'SMFCookie10'; # Name of the cookie to set for authentication.

########## Database Info ##########
$db_server 'XXXX';
$db_name 'XXXX';
$db_user 'XXXX';
$db_passwd 'XXXX';
$db_prefix 'smf_';
$db_persist 0;
$db_error_send 1;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir '/home/smithtr/public_html'; # The absolute path to the forum's folder. (not just '.'!)
$sourcedir '/home/smithtr/public_html/Sources'; # Path to the Sources directory.

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error 1282731441;

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

?>


That is wrong something happened

I have tried something happened it!

I don't know how search find not work. I know had time rough.

Assist for resolve

Thank
Please do not PM or email, Thank respond please post fast to SMF!

Kindred

first of all... NEVER, NEVER, NEVER post your database connection or other login information on an open forum.

second, it looks Ok, but I don't know if that connection info is correct or not. I suggest you check with your host.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

~Dragon~

Quote from: Kindred on August 25, 2010, 08:24:15 AM
first of all... NEVER, NEVER, NEVER post your database connection or other login information on an open forum.

second, it looks Ok, but I don't know if that connection info is correct or not. I suggest you check with your host.

really That is serious,  me too I don't know connection database? I don' t know my hosting. I am afriad. I am bit scared easy. I know I learn training tutorial. I don't know I tried on websites failed. I am not expert. I am learn practice for something fix on hosting, i think so not sure aware how find out happened. Rough that is really not easy. I guess cpanel is very control file manger?

continue to explain understand?
Please do not PM or email, Thank respond please post fast to SMF!

Kindred

your hosting/server should have some sort of contact form or email. They would be the ones to ask about server and connection information.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

~Dragon~

Quote from: Kindred on August 25, 2010, 08:36:43 AM
your hosting/server should have some sort of contact form or email. They would be the ones to ask about server and connection information.

Good idea, I contact to hosting something fix! i know rough. I know I am very rough contact to hosting. I have reason important it hosting or contact to email
Please do not PM or email, Thank respond please post fast to SMF!

deansmar

would repair_settings.php not be able to help in this case....???

i know it checks a few of the conections between SMF and the required files.

the problem is a definate database conection error.. and all boils down to the correct setting in your settings.php

########## Database Info ##########
$db_server = 'XXXX';
$db_name = 'XXXX';    //(3)
$db_user = 'XXXX';     //(1)
$db_passwd = 'XXXX';    //(2)
$db_prefix = 'smf_';       //(4)
$db_persist = 0;
$db_error_send = 1;


in your cpanel, there should be an icon for Database, there you will normaly find the (1)users and (2)passwords, pluss the name of the (3)database of course, if not then there should be a icon for phpmyadmin, there you will find your (3)database and also the (4)prefix

~Dragon~

Quote from: deansmar on August 25, 2010, 08:58:22 AM
would repair_settings.php not be able to help in this case....???

i know it checks a few of the conections between SMF and the required files.

the problem is a definate database conection error.. and all boils down to the correct setting in your settings.php

########## Database Info ##########
$db_server = 'XXXX';
$db_name = 'XXXX';    //(3)
$db_user = 'XXXX';     //(1)
$db_passwd = 'XXXX';    //(2)
$db_prefix = 'smf_';       //(4)
$db_persist = 0;
$db_error_send = 1;


in your cpanel, there should be an icon for Database, there you will normaly find the (1)users and (2)passwords, pluss the name of the (3)database of course, if not then there should be a icon for phpmyadmin, there you will find your (3)database and also the (4)prefix


i am stress think and very mess my think because too many think because file manger. I don't want to confused but I should be clear my rest. but I don't understand hard code
I don't understand what you said, I will be headache

Try fix on continue? I don't know what is found it?
I am very tried!

Pleaase you can fix my cpanel hope, I am very stress!
Please do not PM or email, Thank respond please post fast to SMF!

deansmar

i would very much like to fix your problem for you.... looking at the problem... it would be easy fixed through your cpanel.

but from were i am sitting at the moment i can not access any cpanels, as our firewall blocks that port address.

~Dragon~

Quote from: deansmar on August 25, 2010, 09:11:13 AM
i would very much like to fix your problem for you.... looking at the problem... it would be easy fixed through your cpanel.

but from were i am sitting at the moment i can not access any cpanels, as our firewall blocks that port address.

Really interesting I am surprised. I guess blocks firewall, I don't know what is block firewall. something!

stranger it
Please do not PM or email, Thank respond please post fast to SMF!

deansmar

can you upload this file to your server in the root of your SMF  ?

and i will try and fix it that way..

~Dragon~

Quote from: deansmar on August 25, 2010, 09:21:58 AM
can you upload this file to your server in the root of your SMF  ?

and i will try and fix it that way..

i try uploading ! try fix on test!
Please do not PM or email, Thank respond please post fast to SMF!

~Dragon~

Quote from: smithtr on August 25, 2010, 09:24:50 AM
Quote from: deansmar on August 25, 2010, 09:21:58 AM
can you upload this file to your server in the root of your SMF  ?

and i will try and fix it that way..

i try uploading ! try fix on test!

not work! fail
Please do not PM or email, Thank respond please post fast to SMF!

Kill Em All

If your sure your database information in your Settings.php is correct, you are going to need to ask your host if their sql servers are crashing or having any issues.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

~Dragon~

Quote from: Kill Em All on August 25, 2010, 08:27:12 PM
If your sure your database information in your Settings.php is correct, you are going to need to ask your host if their sql servers are crashing or having any issues.

I think so might to crash because wrong mysql is very problem crash! Because something happened. especial beta test help fix on cpanel. I don't want to delete database and dont' be install because mixing because be careful avoid.
Please do not PM or email, Thank respond please post fast to SMF!

Kill Em All

Have you tried repairing the database tables through phpmyadmin?


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

~Dragon~

Quote from: Kill Em All on August 25, 2010, 08:35:08 PM
Have you tried repairing the database tables through phpmyadmin?

This morning fix on resolve because something work! mark solve . I don't know how expert to phpadmin but I have learn mysql because I wish to tutorial learn how phpadmin and mysql. He already fix on set up on websites That is done! check www.deafculture.co.cc
it is work
Please do not PM or email, Thank respond please post fast to SMF!

Kill Em All

Great, good to hear. Marking solved.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

deansmar

jup good to hear everything is working..

~Dragon~

I don't wan tot SP because cause I have reinstall mod DP better  i tried fail on my websites.

I notice my websites screw up! I always mod DP.but I want to new fresh forun! want to delete on all folder!
sorry I have problem my websites I think so solve  i have install SP and DP conflict aware! i avoid, instead new DP is very quality good look like better sound! I like DP is mod I tried it Thank
solve topc
Please do not PM or email, Thank respond please post fast to SMF!

Advertisement: