Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: JasonMonette - tammikuu 15, 2009, 08:13:13 IP

Otsikko: Changed Cookie Name and Forum crashed and is down
Kirjoitti: JasonMonette - tammikuu 15, 2009, 08:13:13 IP
All I did is change the cookie name in the admin panel and now the forums are down and I am getting all kinds of errors?

After I pressed the save button, I got this

LainaaConnection Problems

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

So i went to the portal page and I got this:

Lainaa
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/jbmaudio/public_html/forums/SMF/Sources/Subs.php on line 321

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/jbmaudio/public_html/forums/SMF/Sources/Errors.php on line 123

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/jbmaudio/public_html/forums/SMF/Sources/Errors.php on line 124

the url address of the portal page is www.jbmaudio.net

the forum page is www.jbmaudio.net/SMF/index.php

any help is appreciated
Otsikko: Re: Changed Cookie Name and Forum crashed and is down
Kirjoitti: JasonMonette - tammikuu 16, 2009, 09:09:28 AP
Can anyone help?
Otsikko: Re: Changed Cookie Name and Forum crashed and is down
Kirjoitti: greyknight17 - tammikuu 23, 2009, 10:33:21 IP
Changing a cookie name shouldn't cause the forum to go down. Are you sure you didn't change any of the database settings?

It looks ok now. Is this issue resolved? If so, did you use repair_settings.php to fix the problem or even edit the Settings.php file manually.
Otsikko: Re: Changed Cookie Name and Forum crashed and is down
Kirjoitti: JasonMonette - tammikuu 24, 2009, 10:06:44 AP
Some how the database password changed in the settings php when i changed the cookie name.  i manually entered the correct password and it seems to be working.

I still get emails about once a week that say "could not connect to the database" though.
Otsikko: Re: Changed Cookie Name and Forum crashed and is down
Kirjoitti: SlammedDime - tammikuu 24, 2009, 10:32:57 AP
Who is your host?

As for the db password changing, firefox will sometimes love to do this if you have saved passwords enabled and you have one saved for your site.
Otsikko: Re: Changed Cookie Name and Forum crashed and is down
Kirjoitti: JasonMonette - tammikuu 25, 2009, 08:32:33 IP
Bluehost is my host
Otsikko: Re: Changed Cookie Name and Forum crashed and is down
Kirjoitti: JasonMonette - tammikuu 27, 2009, 10:28:56 AP
this is error I get about 2 times a week:
Lainaa

[email protected] to jbm
show details 7:30 PM (14 hours ago)
   
Reply

There has been a problem with the database!

This is a notice email to let you know that SMF could not connect to the database, contact your host if this continues.
Otsikko: Re: Changed Cookie Name and Forum crashed and is down
Kirjoitti: SlammedDime - tammikuu 27, 2009, 10:36:21 AP
As the message says, contact your host.  It means that SMF could not establish a connection.  Either the server was too busy and refused it, or the mysql server was not running, or it could have timed out during a connect.
Otsikko: Re: Changed Cookie Name and Forum crashed and is down
Kirjoitti: JasonMonette - tammikuu 27, 2009, 10:42:56 AP
I never had this issue when I was running supermod (that i knew of at least)  that is why i bring it up.