info-tran.com
September 04, 2010, 11:30:33 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: info-tran.com was registered at 8:58 am on Friday, September 14, 2007 in Grand Rapids, Michigan, USA
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: A lesson to be learned at my expense  (Read 1062 times)
0 Members and 1 Guest are viewing this topic.
Dave
Administrator
Newbie
*****
Posts: 7


Grand Rapids, MI, USA


View Profile WWW Email
« on: December 10, 2007, 10:30:05 AM »

I just told a bunch of people about an update to info-tran.com. I had to clean some porno from the forum, a first. Everything is fine. Then this morning, I decided I wanted to move the location of the forum. I guess I was bored, or something. Anyway, I messed it up. If you tried to access the forum between 6am and just before noon today, you got a variety of error messages.

The lesson learned isn't about any of the mistakes I made, I'll make those again. It was about having a backup of the MySQL database. I had nothing to loose, because there is little content to loose, so it was easy. It would be different if I had paying customers. Google searches showed I wasn't the one one, but fixes led to more things wrong. Waste of time. Let's clean up and start over.

Easier said than done. Additional Google searches point to hidden files... After numerious installs, removals and reinstalls, the key was to get Fantastico to sucessfully uninstall. Then I manually cleaned out everything else, including the base, 'forum' folder, and deleted all the extra MySQL databases that had been created. My goal was not to fix, but to clean up and throw away.

So now when I create a new forum, everything checks out like nothing had ever been installed. The database number is the same as my backup (smf1). Now I do a restore, and everything is like it was before I wrecked it. Including some cosmetic changes I had just made. Sweet!

  Dave's Axiom #1, Everything belongs in the database

  Dave's Axiom #2, Keep the data apart from the application
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!