TinyPortal

Development => Support => Topic started by: hosszu on June 15, 2011, 09:37:25 PM

Title: 0.9.8 to 1.1RC2
Post by: hosszu on June 15, 2011, 09:37:25 PM
Hello!

I had SMF 1.1.14 with TP0.9.8. After i upgraded SMF all mod seems uninstalled state. I try to install TP1.1RC2 and get error about missing columns in my tp_articles.
I think i have old version of tp tables. Have you an upgrade sql to fix it?:
This is my tp_articles
mysql> desc smf_tp_articles;
+--------------+-------------+------+-----+---------+----------------+
| Field        | Type        | Null | Key | Default | Extra          |
+--------------+-------------+------+-----+---------+----------------+
| id           | int(11)     | NO   | PRI | NULL    | auto_increment |
| date         | int(11)     | NO   |     | 0       |               
| body         | text        | NO   |     | NULL    |               
| intro        | text        | YES  |     | NULL    |               
| useintro     | tinyint(4)  | NO   |     | 1       |               
| category     | smallint(6) | NO   |     | 0       |               
| frontpage    | tinyint(4)  | NO   |     | 1       |               
| subject      | text        | YES  |     | NULL    |               
| authorID     | int(11)     | NO   |     | 0       |               
| author       | text        | YES  |     | NULL    |               
| frame        | tinytext    | YES  |     | NULL    |               
| approved     | tinyint(4)  | NO   |     | 1       |               
| off          | tinyint(4)  | NO   |     | 0       |               
| options      | text        | YES  |     | NULL    |               
| parse        | tinyint(4)  | NO   |     | 0       |               
| comments     | tinyint(4)  | NO   |     | 0       |               
| comments_var | text        | YES  |     | NULL    |               
| views        | int(11)     | NO   |     | NULL    |               
| rating       | text        | YES  |     | NULL    |               
| voters       | text        | YES  |     | NULL    |               
| ID_THEME     | smallint(6) | NO   |     | 0       |               
| shortname    | tinytext    | YES  |     | NULL    |               
+--------------+-------------+------+-----+---------+----------------+


Title: Re: 0.9.8 to 1.1RC2
Post by: IchBin on June 15, 2011, 11:14:16 PM
I'll have to do some testing to see how that upgrade works. However, try taking the tp_upgrade.php file from the SMF2 directory in the zip package, put it in your SMF folder and run it in your browser. See if that will updated the tables.