upgrading from 1.1.11 - Yeah, scary I know

Started by Cpt_Starfox, May 15, 2023, 11:38:06 AM

Previous topic - Next topic

Cpt_Starfox

Hello everyone! I'm new and wasn't sure where to post, so I'm trying here first.

So, I've been using 1.1.11 for soooo many years. I didn't even know this community existed or that updates had been made! Well, the host went to PHP 5.6 and the forums broke. I've created a hacky way to at least make the forums readable for now although you still can't post or even log out it seems lol. So, yeah, it's still very broken.

I was told there were actually newer versions of the forums! Well, this was good news! I then looked into trying to update to the latest version, but the instructions I found refer to a file called upgrade.php which doesn't seem to exist. Well, I started looking for more help and found this community!

I really need some help to get my forums upgraded to something that will function again. It doesn't have to be the latest version but hopefully a version that will be compatible with at least PHP 5.6 as that seems to be the oldest PHP the host will support. I'd prefer to upgrade as much as possible so that I don't have to mess with this again for another long time lol, but I'll take what I can get at this point :)

If anyone has the knowledge and patience to give me a nice step by step, that would be fantastic. If I've missed this already existing somewhere, please forgive me and point me to it :)

Sesquipedalian

I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Cpt_Starfox

That looks like the guide I tried to follow which referred to the upgrade.php which I could not find. Maybe I'm just overlooking it or misunderstanding?

Aleksi "Lex" Kilpinen

It is included in the large upgrade package, so if you've followed the instructions you should have the file in the same folder as your forum's index.php
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Cpt_Starfox

Oh my, now I feel silly. I downloaded the wrong thing apparently. Well, I can try again to follow the guide now, and hopefully all will go smoothly  :D  Thanks!

Cpt_Starfox

I'm getting two warnings:

Warning! Avatar directory not found. Continuing may be unsafe. Please confirm folder settings before proceeding.

Warning! One or more attachment directories not found. Continuing may be unsafe. Please confirm folder settings before proceeding.

The directories "attachments" and "avatars" seem to be there with the 775 permissions set. Is there something else wrong or can I simply ignore this warning? Maybe these directories should be renamed to "Avatar" and "attachment" or something?

Aleksi "Lex" Kilpinen

You shouldn't continue without looking in to this, or you may end up losing attachments and avatars.
Since you can't access the forum directly, try to look at smf_settings in your database.
It's been a long while since I've had to play with 1.1, but I think you should find both paths in smf_settings.
If you find them, double check that those folders exist, have contents, and are accessible ( and writable for PHP ).
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Sir Osis of Liver

1.1.11 is the version I started with in 2010. :)   You can try upgrading in steps.  Download the 1.1.21 upgrade package (find it here).  If it runs without errors, you should be able to upgrade directly to 2.1.3. 
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Cpt_Starfox

I strangely don't see a smf_settings table but instead a backup_smf_settings table. In that table there is are entries having to do with attachments including the upload directory. I didn't see anything having to do with avatars. There is also a smf_attachments table if that helps at all.

Also as I stated, the attachments and avatars directories are there with permissions set to 775, so I'm not sure what else the upgrade script is looking for.

I'm not sure I can patch upward since I can't seem to really access the forums directly very well. My hacky attempt at making 1.1.11 work on PHP 5.6 made it readable and sort of able to log in I guess, but that's about it.

Sir Osis of Liver

The backup_ tables are created by the upgrader prior to upgrading the database.  If you don't have an smf_settings table in the db, see if there are any other smf_ tables missing.  Forum really shouldn't work at all without a _settings table.  What is smfVersion in the backup table?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Cpt_Starfox

I've been delayed trying to get to this and finish the upgrade. I've been busy at work. So anyway, I'm not sure how to tell what the smfVersion the backup tables are.

Sir Osis of Liver

Ok, first it appears you have an incomplete set of smf_ tables.  If you're missing smf_settings, there may be other tables missing.  1.1.21 installs with 41 tables.  Am unable to install 1.1.11, but should be same.  How many smf_ tables do you have?  How many backup_smf_ tables?

smfVersion is at top of smf_settings or backup_smf_settings table.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Sesquipedalian

Quote from: Sir Osis of Liver on May 18, 2023, 06:40:26 PMsmfVersion is at top of smf_settings or backup_smf_settings table.

Not necessarily.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Sir Osis of Liver

Hmm, well it is in 1.1.21 and 2.0.19, but not in 2.1.3.  In any event it must be in _settings table.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Cpt_Starfox

Found the SMFversion in the backup tables: 1.0.7

It looks like the backup tables are from even before 1.1.11 like maybe from when whoever had the forums before me upgraded from 1.0.7 to 1.1.11. Yep, this is some old stuff lol.

I also found the settings table, yay! The SMFversion in it is 1.1.4. Strange, but at least I have a settings table. For some reason I didn't see it in the navigation for phpMyAdmin but did finally find it anyway. It's been so long since I've messed with phpMyAdmin, I toss it up to me being rusty.

Anyway, having found that it looked like various directory settings are wrong in there, so I reset them manually and started the upgrade. It's running now, and here's hoping for the best!

Cpt_Starfox

It seems to have all gone well! Thank you all so much for your patience and help! Now if only I can find a way to make it look like it used to. I'm not extra fond of the new look, so any ideas hehe?  ;D

Aleksi "Lex" Kilpinen

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Antechinus

#17
Quote from: Cpt_Starfox on May 19, 2023, 11:51:41 AMIt seems to have all gone well! Thank you all so much for your patience and help! Now if only I can find a way to make it look like it used to. I'm not extra fond of the new look, so any ideas hehe?  ;D

What theme were you using with 1.1.x?

And you can blame me for the new look. It was the first thing I could get the team to agree on, and by that time I was ready to accept anything as long as the buggers would just agree. :D

Advertisement: