Wondering if this will always be free? See why free is better.
Started by ghaniba, August 29, 2022, 07:57:48 AM
Changelog started January 1, 2004; Currently at $Revision: 1.2111.2.470 $.SMF 1.1.4 ???================================================================================September 2007--------------------------------------------------------------------------------
$ /usr/bin/php --versionPHP 7.4.30 (cli) (built: Jun 7 2022 15:50:00) ( NTS )Copyright (c) The PHP GroupZend Engine v3.4.0, Copyright (c) Zend Technologies with the ionCube PHP Loader + ionCube24 v11.0.1, Copyright (c) 2002-2022, by ionCube Ltd.-bash-4.2$ ls /usr/bin/php*/usr/bin/php /usr/bin/php-cgi /usr/bin/phpize
* Software Version: SMF 1.1.21 ** Software by: Simple Machines (http://www.simplemachines.org) ** Copyright 2006-2009 by: Simple Machines LLC (http://www.simplemachines.org) ** 2001-2006 by: Lewis Media (http://www.lewismedia.com) ** Support, News, Updates at: http://www.simplemachines.org
Quote from: Dzonny on August 29, 2022, 08:41:13 AMHello there and welcome to SMF community!Yes, the PHP version is too high for such an old SMF version. You must switch to older php in order to have SMF working, and then upgrade it to newer branch.If you have FTP access that would be great. I'm not sure as I never used ssh to upgrade, but I don't think it's possible.
Upgrading Using the Command LineIt is also possible to upgrade to a more recent version of SMF using the Command Line Interface (CLI). This is particular useful if you have experienced errors trying to upgrade your forum using the method outlines above, as the CLI is more effective in providing an error code, which is helpful in identifying any issues that are preventing the upgrade from being completed.To upgrade using this method, go to a command line prompt, navigate to the folder where your settings.php and upgrade.php files are, and issue the following command:php upgrade.phpThere are some options, which you can query using --help. You will see something like this:$ php upgrade.php --helpSMF Command-line UpgraderUsage: /path/to/php -f upgrade.php -- [OPTION]... --language=LANG Reset the forum's language to LANG. --no-maintenance Don't put the forum into maintenance mode. --debug Output debugging information. --backup Create backups of tables with "backup_" prefix.Note that sometimes your host offers multiple versions of php, so you need to specify the correct version when running the command. You might need to ask your host what the proper path to use is. If this is the case, your command line would end up looking something like this:/opt/php56/bin/php upgrade.php
If you are currently using any older version of SMF (including SMF 1.x, SMF 2.0.x, or one of the SMF 2.1 Betas or RCs), you can upgrade directly to 2.1.2 from whichever version you are currently using by using the "Large Upgrade" package from the Download page. Be aware that using this upgrade method will require you to reinstall any customizations that you have added to your forum, so if you are running SMF 2.1.0 or higher, it is recommended that you apply the successive patches instead of using the Large Upgrade.
Updating Your SMF Installation!Your MySQL version does not meet the minimum requirements of SMF.Please ask your host to upgrade.Click here to try again.
Database ChangesExecuting database changesPlease be patient - this may take some time on large forums. The time elapsed increments from the server to show progress is being made!Executing upgrade script 1 of 2.Executing: "Updating and creating indexes..." (1 of 19 - of this script)!!Error!Unknown Error!
Quote from: ghaniba on August 29, 2022, 09:11:38 AMaha -- Looks like I can go directly from 1.1.x to 2.1.x:
Quote from: ghaniba on August 29, 2022, 09:35:33 AM!!Error!Unknown Error!
Quote from: ghaniba on September 09, 2022, 11:13:51 AMHow would I know if I need an intermediate step? The docs don't call it out that a 1.x can't jump to the latest.Dave aka Ghan