I want to try it now with my forum on this way, too.
Do I need the upgrade.php or the install.php of the 1.1.2 for that?
What version are you using now? 1.1.2 ? If so download and install the patch file from here https://github.com/ElkArte/ElkArte/releases/tag/v1.1.3
At the moment it's the 1.0.10 with the imported data from the SMF.
Do a full backup first, backup your files and database!
Then download the 1.1.2 version from here https://github.com/ElkArte/ElkArte/releases/tag/v1.1.2 (file ElkArte_v1-1-2_install.zip
unzip all files to your PC, then using Filezilla upload all files overwriting the existing ones
go to your forum and start the process to upgrade to 1.1.2
once you have 1.1.2 installed download and install the patch file ElkArte_v1-1-3_patch.zip from here https://github.com/ElkArte/ElkArte/releases/tag/v1.1.3 (use elkarte add-on installer to install this patch)
I'm trying to do the ugrade to 1.1.2 now. The installer page says this on the first page:
Warning!
This upgrade script is out of date! The current version of ElkArte is 1.1.2 but this upgrade script is for 1.1.1.
It is recommended that you visit the ElkArte Community website to ensure you are upgrading to the latest version.
Should I ignore that and keep going on?
I did ignore that message. Don't know if it's the best choice, otherwise wait an answer from developers
It doesn't work. Each time when the message comes that the 1.1.2 has been successfully installed and I can now visit the forum, then doesn't open the forum, but again the first page of the upgrade program... I tried it two times. :(
try with another browser, or try in incognito mode. Otherwise clean browser temporary files and cookies. I had the same problems and forgot to mention, sorry :(
Make sure the installer deleted the install folder, if not delete it manually
I split the topic because it is already messy when two bugs are discussed in the same topic, let alone a bug and a support issue. :)
Thanks for the understanding. ;)
The split is okay. :)
- - - - - - -
Unfortunately, none of these works. :(
I tried it in the incognito mode with Firefox and Chrome, and with Firefox with cleaned browser temporary files and cookies.
With all I ended after the "succesful" installation again on the first page of the upgrade program.
If I try to go on there, on the second page is this error message to find. From there it will not continue.
Once completed the upgrade to 1.1.2, did you checked if the install folder is still present on your forum?
I deleted it every time after the 1.0.10 installation - but not after the 1.1.12 ...
That was it!!
I kicked the install folder out now and the forum is there! :)
Now I will try the patch to 1.1.3.
Oh, again the error message "You cannot download or install new packages because the packages directory or one of the files in it are not writable!" is shown, but the packages directory and sub directory are writable on 777.
After changing the directory owner to "PHP User" it worked. The forum is now a 1.1.3, but the installation of some addons still does not work.
Now I'm again at this point:
https://www.elkarte.net/community/index.php?topic=5169.0 (https://www.elkarte.net/community/index.php?topic=5169.0)
Glad you solved at least this problem. ;)
I think the upgrade error is due to the spot check we do to make sure the upgrade script and files are compatible. The version of the upgrade script is defined in installcore.php ... so for 1.1.3 it sets
CURRENT_VERSION = '1.1.3'
Next we check one of the files and historically it is index.php. This involves reading the comment header where we look for the @ version tag and compare that value with what CURRENT_VERSION . this results in 1.1.3 vs 1.1.1 becuase index.php has not changed since 1.1.1.
Historically index.php always changed with each new revision since the forum version constant was set in that file, but in 1.1 we moved that setting to bootstrap.php
So what does that all mean, basically we need to read bootstrap.php and not index.php going forward. In the upgrade.php script we need to make the following change.
// Do a quick version spot check.
$temp = substr(@implode('', @file(BOARDDIR . '/index.php')), 0, 4096);
// Do a quick version spot check.
$temp = substr(@implode('', @file(BOARDDIR . '/bootstrap.php')), 0, 4096);
Don't forget to track and merge this. ;)