Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Upgrade question

Aloittaja mmholt, marraskuu 21, 2010, 08:07:47 IP

« edellinen - seuraava »

mmholt

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?

mmholt

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.

Illori

did you run the upgrade script?

mmholt

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.

Illori

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.

Kays

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

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

mmholt

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.

mmholt

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.

mmholt

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?

Kays

It looks like you should be up to date then. So changing smfVersion would of been my next suggestion.

Go for it. :)

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

mmholt

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.

Advertisement: