Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: mmholt - marraskuu 21, 2010, 08:07:47 IP

Otsikko: Upgrade question
Kirjoitti: mmholt - marraskuu 21, 2010, 08:07:47 IP
I upgraded from 1.1.5 to 1.1.12 one upgrade at a time. Everything seems fine. Anyway, I was fiddling around with some theme code, and broke it thoroughly. A side effect of the broken theme is that SMF gave me a message that my SMF was v1.1.12 but my database was 1.1.5. How do I fix this? Should I even try to fix it?
Otsikko: Re: Upgrade question
Kirjoitti: mmholt - marraskuu 21, 2010, 10:12:46 IP
I should clarify - I don't want to fix the theme, I've already gotten rid of it. What I'm worried about is the database version being incorrect.
Otsikko: Re: Upgrade question
Kirjoitti: Illori - marraskuu 22, 2010, 06:21:24 AP
did you run the upgrade script?
Otsikko: Re: Upgrade question
Kirjoitti: mmholt - marraskuu 22, 2010, 09:54:50 AP
Lainaus käyttäjältä: Illori - marraskuu 22, 2010, 06:21:24 AP
did you run the upgrade script?

I upgraded from 1.1.5 to 1.1.12 one upgrade at a time through the admin interface, wherever it was that it said to click here to upgrade.
Otsikko: Re: Upgrade question
Kirjoitti: Illori - marraskuu 22, 2010, 10:02:03 AP
are you getting any errors related to the database not being updated? sounds like there were no major database changes since then and the database was not changed. I have not checked this myself.
Otsikko: Re: Upgrade question
Kirjoitti: Kays - marraskuu 22, 2010, 10:13:48 AP
There was a change in Attachments table with the 1.1.9 upgrade.

If you can access the database using phpMyAdmin or a similar tool. Check to see if there's a column in the Attachments table named file_hash
Otsikko: Re: Upgrade question
Kirjoitti: mmholt - marraskuu 22, 2010, 10:41:43 AP
Lainaus käyttäjältä: Illori - marraskuu 22, 2010, 10:02:03 AP
are you getting any errors related to the database not being updated? sounds like there were no major database changes since then and the database was not changed. I have not checked this myself.

See my first post. I did get an error that told me my db was version 1.5 after I'd made some changes that broke a theme I was designing. In normal operation I do not get any such errors, but if the db was supposed to be updated in some way I would like to do it.
Otsikko: Re: Upgrade question
Kirjoitti: mmholt - marraskuu 22, 2010, 10:42:40 AP
Lainaus käyttäjältä: Kays - marraskuu 22, 2010, 10:13:48 AP
There was a change in Attachments table with the 1.1.9 upgrade.

If you can access the database using phpMyAdmin or a similar tool. Check to see if there's a column in the Attachments table named file_hash

There is a file_hash column in the attachments table.
Otsikko: Re: Upgrade question
Kirjoitti: mmholt - marraskuu 22, 2010, 10:44:57 AP
I just noticed that the smfVersion field in the Settings table still says 1.1.5. I'm guessing this might be related to the error message I got, and I'm guessing it is safe to change to the correct version number?
Otsikko: Re: Upgrade question
Kirjoitti: Kays - marraskuu 22, 2010, 10:56:57 AP
It looks like you should be up to date then. So changing smfVersion would of been my next suggestion.

Go for it. :)
Otsikko: Re: Upgrade question
Kirjoitti: mmholt - marraskuu 23, 2010, 04:02:33 IP
Lainaus käyttäjältä: Kays - marraskuu 22, 2010, 10:56:57 AP
It looks like you should be up to date then. So changing smfVersion would of been my next suggestion.

Go for it. :)

Thanks, Kays! I really appreciate the advice and help I get here.