Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

Can someone help me fix my site?

Status
Not open for further replies.

KwelX

The Godfather
Legacy Exclusive Member
Joined
May 23, 2004
Messages
745
Reaction score
0
it could be a few things.

1st make sure mysql is running and not hung.
Then check to make sure ur db is still there and that user and password is setup for access rights.

It's probably just one of those reasons.
 

MPinelli

Level 8
Legacy Platinum Member
Joined
Dec 3, 2004
Messages
1,090
Reaction score
0
so the p/w would be "yes"?

thing is i cant set a P/w to yes, it needs to be 5 char.
 

KwelX

The Godfather
Legacy Exclusive Member
Joined
May 23, 2004
Messages
745
Reaction score
0
the password needs to be the same as it's called in the script. the script will look something like below:

$mysqlbase="DB_name"; // MySQL database name
$mysqluser="SQL_User"; // MySQL database user
$mysqlpass="SQL_Password"; // MySQL user password

just make sure they are the same as what you have as an actual db, user and password.
 

MPinelli

Level 8
Legacy Platinum Member
Joined
Dec 3, 2004
Messages
1,090
Reaction score
0
sorry to be a pain, where can i find that info?
 

KwelX

The Godfather
Legacy Exclusive Member
Joined
May 23, 2004
Messages
745
Reaction score
0
there is no set place for that info. it will either be in the begining of your script or in a config file.

you want to make sure that matches up with your actual db setup.
 

MPinelli

Level 8
Legacy Platinum Member
Joined
Dec 3, 2004
Messages
1,090
Reaction score
0
i wish i knew where it was, its a cool blue script and i didnt set it up
 

KwelX

The Godfather
Legacy Exclusive Member
Joined
May 23, 2004
Messages
745
Reaction score
0
the best place to start is where the error is:

/home/creditc/public_html/functions/db_connect.php on line 8 <---
Cannot connect to the database

When it says:

(Using password: YES)

That just means that there is supposed to be a password set. Not that the password is YES.
 

KwelX

The Godfather
Legacy Exclusive Member
Joined
May 23, 2004
Messages
745
Reaction score
0
looks like it's working now.

i hope i was of help.
 

MPinelli

Level 8
Legacy Platinum Member
Joined
Dec 3, 2004
Messages
1,090
Reaction score
0
yes you were. i just get so freaked out with php that i immediately think i cant do it. but i did what you said, find the problem. so i did and it told me where the error was.

it was a text file. somehow.......the username was changed.
 

MPinelli

Level 8
Legacy Platinum Member
Joined
Dec 3, 2004
Messages
1,090
Reaction score
0
hey can you guys visit the site again and take a look at the error?

is it a hosting problem?
 

jdk

DNF Addict
Legacy Exclusive Member
Joined
Jul 23, 2004
Messages
6,350
Reaction score
24
Cannot connect to the database

Make sure your db login details are correct on your script and you have assigned the correct permissions for the user to the database. This is done within your control panel.
 

MPinelli

Level 8
Legacy Platinum Member
Joined
Dec 3, 2004
Messages
1,090
Reaction score
0
now it works.......i dont understand

how can i back up my site and database?
 

jdk

DNF Addict
Legacy Exclusive Member
Joined
Jul 23, 2004
Messages
6,350
Reaction score
24
In your control panel there should be a backup option. You can either generate a backup or download the current days backup. There should be an option to download the database backup too.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Premium Members

Latest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators

Top Bottom