I've been working on a dog rescue forum, and the forum software was out of date; it was still an early 1.0.x version.
I've been upgrading one update at a time, and everything has been going well until we got to 1.0.17.
It said it couldn't update the subs.php file, so I manually changed it using the manual upgrade instructions, and uploaded it.
Now, it will not let me upgrade to 1.0.18, saying "The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Whilst I'm not completely green, I honestly cannot see what the problem is.
It would be useful if I could find an original subs.php file for 1.0.17 to upload to see if my editing has been the problem.
Any help would be greatly appreciated. :)
You can get all the original 1.0.17 files here: http://download.simplemachines.org/?archive;version=45
ETA: Although that error message shouldn't be generated by incorrect file edits, unless the version is incorrect (ie: index.php wasn't updated).
Lainaus käyttäjältä: Antechinus - kesäkuu 14, 2011, 09:24:18 AP
You can get all the original 1.0.17 files here: http://download.simplemachines.org/?archive;version=45
ETA: Although that error message shouldn't be generated by incorrect file edits, unless the version is incorrect (ie: index.php wasn't updated).
The only file it said it had a problem with was the subs.php - it said 'failed', everything else updated fine.
Will checkout the original files and report back. :) Thanks
Rightio.
Have uploaded that, and still says it can't update.
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
In case it helps, this forum has been around a long time, but we've never added any fancy mods.
Not sure what to do from here...
Ok, if the forum doesn't have any mods on it then the easiest way of doing this might be the large upgrade pack. That will take you straight to the latest version in one go. Only catch is that is does require ftp'ing the unzipped files into place to overwrite all the old ones, so it's a bit more work than patches.
ETA: You could even go straight to 1.1.14 if you wanted to. 2.0 might be a bit of a shock for them though.
Sounds both exciting and very scary all at the same time... :D
Just thinking out loud, the only changes I made when it was installed (and I'm trying my bestest to remember a good five years ago here!) was the skin of the forum, and the smileys, which I wouldn't want anything going wrong with, as some are unique to our forum.
Where's the best place for me to check in the forum whether I have (forgotten) installed any mods that wouldn't be compatible with a big upgrade?
Package manager has a list of installed mods and patches. Admin > Packages > Installed wotsits.
The skin might get a bit borked if it's an edit of the actual default, or one of the other themes that came with the 1.0 package, since all default files would get overwritten. If it's a seperate custom theme then it should be ok. Smileys should be fine too.
Here's the list in the mods; they're all just the SMF upgrades.
Mod Name Version
1. SMF 1.0.8 Update Package 1.0.8 [ List Files ] [ Delete ]
2. SMF 1.0.8 Update Package 1.0.8 [ List Files ] [ Delete ]
3. SMF 1.0.9 and 1.1 RC3-1 Security Patch 1.0.8/1.1 RC3 [ List Files ] [ Delete ]
4. SMF 1.0.10 Update Package 1.0.10 [ List Files ] [ Delete ]
5. SMF 1.0.11 / 1.1.3 Update 1.1 [ List Files ] [ Delete ]
6. SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update 1.0 [ List Files ] [ Delete ]
7. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0 [ List Files ] [ Delete ]
8. SMF 1.0.14 / 1.1.6 Update 1.0 [ List Files ] [ Delete ]
9. SMF 1.0.15 / 1.1.7 Update 1.0 [ List Files ] [ Delete ]
10. SMF 1.0.16 / 1.1.8 Update 1.0 [ List Files ] [ Delete ]
11. SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update 1.0
~~~~~~~~~~~~~~~~~~~~~~~~
I'm not scared of doing some ftp gubbins, and the skin and logos are something I would take this opportunity to update now anway.
So, dare I ask whether going to 1.1.14 or 2.0 is best? I don't think a big change is much of an issue; we'll all have to get used to it. :D
Any chances I'm going to stuff it all up? ;D There's 5 years of rescue work on there so I definitely don't want to mess it up.
I am very much open to suggestions. When I looked all this stuff up originally, it was back in 2006 so I'm out of date and rusty! 8)
Well, my 2c is that 2.0 would be a better bet, providing that you don't have a lot of users on IE6 or IE7. Those old things don't support some of the newer code all that well. Most of it is fine, but you might get some complaints about profile pages looking a bit funny. If your members are mostly running IE8, IE9, or other browsers then 2.0 will give some nice extra features.
Stuffing it up? It's a computer. A mess is always possible, even though most upgrades go smoothly. Backing up your db, smileys and attachments would be a good idea before starting the upgrade. That way you can roll back if it all goes pear-shaped. Any smileys that have the same names as default smileys will be overwritten, but you can always ftp the desired image back into place later. Attachments and data should be fine, but back them up first anyway.
If you're worried about it, copying the current forum over to a mirror folder and database and running a test upgrade on that might be more reassuring. That way you can see what you're in for before doing the real thing.
Slightly odd update here... but I thought I'd post it in case anyone else encounters this issue.
To upgrade the forum, I've been clicking on the link in the package section, where it says to upgrade.
A moment ago, I clicked on the upgrade link on the first admin page - and it upgraded it. ???
I will continue upgrading one update at a time for the moment, and see what happens.
Perhaps the link in the package section was wrong?
Many thanks for all your help... I expect I'll be back... :D
I knew I'd be back..
It's upgraded right up to 1.0.21, how and where do I upgrade next? The only upgrade options from here in the package manager are as follows:
New Packages:
(package)
* 11x_IE8_Fix 1.1
* Special Characters and Symbols Insertion 1.5
* Google +1 Topics 1.0
Updates for SMF:
Security update (X-Forwarded-For header vulnerability)
~~~~~~~~~~~
I am sorry for asking so many stupid questions!
To upgrade to next major versions of SMF (as opposed to patches), please see the guide here:
http://wiki.simplemachines.org/smf/Upgrading
You should be able to upgrade directly to 2.0, with the large upgrade package to 2.0.
Please do make sure to keep a backup of your database.
Thanks. I am downloading the forum database backup now.
I've downloaded the Large Upgrade Pack of 2.0, so I will let you know how it all goes.
Thanks again. :)
I entirely understand if you can't answer this, as it isn't directly SMF related...
I was just looking in the cpanel of the webspace the forum is on. I was trying to see how big the database I'm downloading is, (it says 0kb, which is obviously very wrong). However, in looking at the stats for the webspace, a folder called urchin / data / reports / xxxxxxxxx.com is taking up over 650mb! That's more than everything else put together, but I have no idea what it is.
My backup database downloaded and is 36.5 mb.
I assume you downloaded the backup from cPanel. Just don't trust SMF admin for database backups if your forum is five years old. The backup may be too big for SMF admin to handle, and in that case it will truncate tables. Usually SMF admin will handle anything up to 10 meg or so zipped, but over that size it starts getting dodgey.
Anyway: not sure what that other folder is. I'd suggest asking your host. It sounds like it might be some sort of error log but I may be mistaken.
Lainaus käyttäjältä: RoxNRoll - kesäkuu 14, 2011, 11:32:18 AP
I entirely understand if you can't answer this, as it isn't directly SMF related...
I was just looking in the cpanel of the webspace the forum is on. I was trying to see how big the database I'm downloading is, (it says 0kb, which is obviously very wrong). However, in looking at the stats for the webspace, a folder called urchin / data / reports / xxxxxxxxx.com is taking up over 650mb! That's more than everything else put together, but I have no idea what it is.
My backup database downloaded and is 36.5 mb.
Urchin is a graphical website statistics package that used to be included with cPanel before Google bought them in 2005. It's still available as standalone software, but since Google Analytics has pretty much the same features and doesn't require all that space, it isn't real popular anymore. You should be able to safely delete that folder.
Thanks, will look into that regarding Urchin.
I'm glad you posted about the backup, as I had done it through SMF. Will do the backup through cpanel now... thanks. :)
Hi again. :) I'm attempting the upgrade to 2.0 - and yes, I backed everything up. :D My folders (all folders, not just the forum) were over 300mb, the database only 36.5mb. But I've got it all... which means I shouldn't lose anything.
I checked the minimum requirements on the main page before uploading the files... which said MySQL 3.23.4 or higher. I double checked on the Control Panel says we have version 4.1.22, so everything looks good....
However, when I try the upgrade, I'm getting the error "Your MySQL version does not meet the minimum requirements of SMF. Please ask your host to upgrade."
Your help very much appreciated! (I've edited the thread title to reflect the new issue, rather than start a new thread)
UPDATE: I've managed to upgrade to 1.1.14, using the large pack.
Is there a big difference in requirements between the large pack for 2.0 and 1.1.14?
Can you please make a quick phpinfo() file and link it to us, or PM a link to it, to us?
(What is a phpinfo() file? (http://docs.simplemachines.org/index.php?topic=479.0))
There are quite many changes between 1.1.x versions, and SMF 2.0. Features added, a new theme, significant performance improvements, to state quickly only a few.
Here's the link: :)
http://www.wiccaweys.com/phpinfo.php (http://www.wiccaweys.com/phpinfo.php)
Lainaa
PHP Version 4.4.8
[...]
MySQL
Client API version 3.23.49
Please note... that this a very old PHP, and MySQL, they are versions that have reached end of life by their makers, and as such, they have security issues unpatched...
Do you think it's possible if you tell your host to upgrade them - at least in a measure?
Please note also that SMF 2.0 requires MySQL 4.0.1 - also a very old version, but it doesn't support 3.23. (only SMF 1.1.x supports 3.23 as well, and it will work just fine if you stay on PHP 4.4.x and MySQL 3.23.).
I'm afraid that supported platforms minimums will continue to raise in the future, for SMF. Again, we're talking here about extremely old versions of PHP/MySQL, which aren't supported
by their developers anymore, since years ago... :|
Lainaus käyttäjältä: Norv - kesäkuu 15, 2011, 07:50:38 IP
...
Please note also that SMF 2.0 requires MySQL 4.0.1 - also a very old version, but it doesn't support 3.23. (only SMF 1.1.x supports 3.23 as well, and it will work just fine if you stay on PHP 4.4.x and MySQL 3.23.).
What you need to run SMF (http://download.simplemachines.org/requirements.php) shows Minimum System Requirement as PHP 4.1.0 or higher and MySQL 3.23.4 or higher. Are you saying this is not valid for v2.0?
Granted the Requirement page shows Recommended System Requirements of PHP 4.3.0 or higher and MySQL 4.0.15 or higher, but it leaves the impression that SMF will run OK on the minimum requirements. Is this incorrect for v2.0?
Note: I was informed in an earlier posting (http://www.simplemachines.org/community/index.php?topic=437531.0) that the versions of PHP and MySQL on my host (which are if anything older than those of the OP) "Should be ok"...
Chris
2.0 has higher requirements than 1.1.x. http://wiki.simplemachines.org/smf/Requirements_and_recommendations
LainaaThe following are required on any server intending to run SMF 2.0.
You were ok on PHP version but didn't mention the MySQL version in your other post. I commented on what information you gave me and referred you to the requirements page.
The OP here is also ok on PHP version, but the MySQL version is not up to standard for running 2.0.
Thanks for the reply.
However, I am a little baffled, because when I go into the Control Panel, it tells me in phpmyadmin is "MySQL client version: 4.1.22".
Yours confusedly!! :D
Incidentally, despite raising a support ticket, sending an email and telephoning (no answer, no answer machine), I have had no response from my webhost regarding the possibility of upgrading. :o They mustn't need the custom. >:(
Lainaus käyttäjältä: RoxNRoll - kesäkuu 16, 2011, 03:42:43 AP
However, I am a little baffled, because when I go into the Control Panel, it tells me in phpmyadmin is "MySQL client version: 4.1.22".
Yours confusedly!! :D
It could be that your host has phpmyadmin installed on another server than your account resides on, and that other server has a higher version of PHP/MySQL extension in PHP... :)
May I ask, who is your host?
Lainaus käyttäjältä: Antechinus - kesäkuu 16, 2011, 12:31:04 AP
2.0 has higher requirements than 1.1.x. http://wiki.simplemachines.org/smf/Requirements_and_recommendations
LainaaThe following are required on any server intending to run SMF 2.0.
You were ok on PHP version but didn't mention the MySQL version in your other post. I commented on what information you gave me and referred you to the requirements page.
The OP here is also ok on PHP version, but the MySQL version is not up to standard for running 2.0.
Antechinus,
Sorry, you are indeed right. I hadn't realised that there were two different requirements pages. It may help if What you need to run SMF (http://download.simplemachines.org/requirements.php) noted that it applies ONLY to version 1.x. Anyway, I'm glad I found that out before I tried to upgrade!
Now all I need to do is persuade my host to upgrade. Certainly more difficult than upgrading SMF, I fear.
Chris
Good point about that other page. I'll mention it to the site team as it does need to be updated.
If you can't persuade your host to upgrade, 1.1.x is still fine to use and will still be supported for some time. Mind you, if your current host is still running MySQL 3 then you may wish to look at other hosting at some point. That's not hard to arrange. ;)
My host is called Thirty Thirty. I've still had no response from them, so I'm on the look out for a new host.
Right then...
I've still had no contact from my web provider, so I've got some more webspace under a different domain name.
I downloaded my forum files from the old webspace, and uploaded it to the new webspace. I've uploaded the upgrade and was about to click to proceed, when I noticed it's taking the reference for some of the files from one webspace instead of the new domain and webspace. I don't want to mess up TWO sites!! :D
So where will the references to the full site address be in the php? Presumably I need to change all of those on the files before I upgrade?
On the good side, the backup of the database I made uploaded perfectly, so my new 'copy' on the new domain is working perfectly. :)
Oh - it's also worth bearing in mind that now I've uploaded the upgrade files, I can't get into admin.
Please take repair_settings.php from this site's downloads > tools, upload it and run it from your forum directory. The page it gives allows you to correct the paths and URLs from the old hosting settings to the new host - no matter where these paths/URLs are saved. Just set there the appropriate ones, and save the settings.
Please remember to delete repair_settings.php script from your forum directory when you're finished with it.
Thank you so much, that's worked a treat. Turns out it was just the themes path that was wrong, but now it's all up...
I really appreciate all the help everyone has given in this thread, so thank you for giving me your time and expertise.
:)