Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-11-27 04:32:52

elvasara
New Member
Registered: 2007-11-27
Posts: 3

How to set txp up so that it uses old tables

the textpattern folder on my server was deleted .. I wanted to ask if anyone could tell me (if it’s possible) how do I set the whole thing up again, but so that it accesses and uses the old tables from the MySQL database..

I can see that all the data is still there and it would make a great deal if someone could help me figure out how to do this so that I don’t have to do everything again

thanx

Offline

#2 2007-11-27 06:13:28

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: How to set txp up so that it uses old tables

If it was just deleted, then:

  1. Upload a new textpattern/ folder
  2. Create a file, textpattern/config.php
  3. Insert the relevant values for your db info

Offline

#3 2007-11-27 06:25:53

elvasara
New Member
Registered: 2007-11-27
Posts: 3

Re: How to set txp up so that it uses old tables

I have done that but it doesn’t work

“Textpattern database table already exist. Can’t run setup.”

I wanna use the old tables with the information that’s already there so I wont loose everything :/

Offline

#4 2007-11-27 06:28:57

rsilletti
Moderator
From: Spokane WA
Registered: 2004-04-28
Posts: 707

Re: How to set txp up so that it uses old tables

Don’t rerun your setup script, just provide the details in config.php same as the one that was deleted and TXP should be able to see the tables already present.

Offline

#5 2007-11-27 06:32:20

elvasara
New Member
Registered: 2007-11-27
Posts: 3

Re: How to set txp up so that it uses old tables

ahh it worked.. thank you sooooooooo much.. this means a lot to me

Offline

#6 2007-11-27 16:46:52

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: How to set txp up so that it uses old tables

You should probably remove the setup script from your re-install — cleans up the diagnostic output a little at least.


Steve

Offline

#7 2007-11-27 16:56:36

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,349
Website GitHub Mastodon Twitter

Re: How to set txp up so that it uses old tables

Also you might need to update the language

Admin>Preferences>Language


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB