Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Upgrading issues - 8

1737 posts | Last Activity on 26-03-2020 12:37 by Falk
Falk
Falk 26-03-2020 12:37, 2 months ago
Re: Upgrade From 7.02.07 to 8.00.23 Problems No, naturally you must run the upgrade script. Make sure you place the file in correct folders and also use the correct file. Then enter admin and upgrade.

Another method is to do it all in localhost. Download and install Laragon, clone your live site and do the upgrade on the localhost for better performance.
afoster
afoster 26-03-2020 05:50, 2 months ago
Re: Upgrade From 7.02.07 to 8.00.23 Problems It said 8.00.30 (didn't know version 8.00.40 is available) and I am upgrading from version 7.02.07. So you're saying that the database has been updated from 7.02.07 even though it says no update is available?
Falk
Falk 26-03-2020 00:22, 2 months ago
Re: Upgrade From 7.02.07 to 8.00.23 Problems No it should update from anything below current version. If your system says 8.00.40, then the database upgrade have passed.
If your site have scrabled chars you need the UTF-8 char conversion to run.
afoster
afoster 25-03-2020 21:37, 2 months ago
Re: Upgrade From 7.02.07 to 8.00.23 Problems I tried upgrading to the newest version (8.00.30) with the same result...there was no database update. The only thing I did not do is change the $settings to version 7.00.00. I had changed it to the version I am using 7.02.07. Is that the reason the database is not being updated?
C
Chan 29-02-2020 15:00, 3 months ago
Re: Upgrade From 7.02.07 to 8.00.23 Problems Go to your $settings and put your "version" back to 7.00.00, that is the variable for upgrade detection.
Falk
Falk 25-02-2020 06:07, 3 months ago
Re: Upgrade From 7.02.07 to 8.00.23 Problems Upload all v8 files and see if it works, if not restore and do it from start by disabling the char conversion or if you can increase the scripts allowed run time.
afoster
afoster 24-02-2020 23:24, 3 months ago
Re: Upgrade From 7.02.07 to 8.00.23 Problems After backing up both the files and database of my long used 7.02.07 version of my site, I uploaded the contents of the Upgrade_7.02.07_8.00.23 folder.

I signed in to the administration/system/ module and clicked on the Upgrade as directed to. It appeared that the database was being updated until my screen displayed the one work UPGRADE in the left hand corner of the page and nothing else was displayed.

Assuming the problem was the UTF-8 char issue, I changed the line in the upgrade.php file from disable = FALSE to disable = TRUE and refreshed the page. Very quickly after I did that, I received a message on the screen that there was no upgrade available. My screen now showed a different theme than I was using with my original 7.02.07 site.

I am assuming that the database was not updated and am curious as to what I should be doing at this point?
M
malkir 08-01-2020 23:35, 5 months ago
Re: 8.00.23 installation/7.x upgrade Thanks for the reply Falk.
Just to let you know, it turned out to be a dumb coding error by me.
So no problems with the upgrade of the database.
Falk
Falk 08-01-2020 07:28, 5 months ago
Re: 8.00.23 installation/7.x upgrade I can´t remember everything touched by the upgrade from the back of my head, but this sounds like an issue right here :

Quote

I deliberately did not update (drop/create) the user table, as I wanted to make sure everything worked before replacing that.


Everything need to be upgraded in an upgrade. If it was critical changed to the user db, 1 is for certain the utf8mb4 must be set in the user table.

We have had many upgrades from 7 to 8, the only other thing I can think of that it is case sensitive in passwords now, it did not use to be that.
M
malkir 06-01-2020 23:37, 5 months ago
Re: 8.00.23 installation/7.x upgrade Hi there,

I backed up my exisiting system (7.x) and restored it locally.
I then installed a clean 8.00.23 locally.

I updated the existing system (7.x) with the database upgrade (Upgrade_7.02.07_8.00.23, and copied the SECRET_KEY and SECRET_KEY_SALT into the config.php as described) that followed along with the 8.00.23 package.
All tables and fields looked fine after the upgrade and the collations looks fine as well.

I wanted to cut as many cords to the old pages, so after a few modifications to the new clean 8.00.23 system, I started exporting table by table from the v7->v8 upgraded database and into the clean 8.00.23 database.

I checked every single table for fields, types, length and so on, to make sure I would not replace (drop/create) a new table with an old table that missed fields (which meant I had to a and change a few fields here and there).
I deliberately did not update (drop/create) the user table, as I wanted to make sure everything worked before replacing that.

But... for some reason I can't log in any more. There are no error messages it just reloads the page and I'm not logged in.

Have I killed off something in some of the other tables that are vital for the login procedure (as that is the only things I've changed since it worked last)?
I still have full backups of the starting point, so I could easily revert, I just don't know what that would be.

Best regards
afoster
afoster 04-01-2020 17:11, 5 months ago
Re: Upgrading to 8.00.23 Got it...thanks.
Falk
Falk 04-01-2020 08:26, 5 months ago
Re: Upgrading to 8.00.23 Yes, I see it now. Ty for the attention, I simply update the zip pack with this issue. ( Hot patch ).
Oleg
Oleg 04-01-2020 07:56, 5 months ago
Re: Upgrading to 8.00.23 The developer forgot something...
Upgrade_8.00.XX_8.00.23 > administration > upgrade.php

Code
if (str_replace(".", "", $settings['version']) < "80022") {


Repalce
Code
if (str_replace(".", "", $settings['version']) < "80023") {



After editing file upgrade.php update to 8.00.23
afoster
afoster 04-01-2020 06:09, 5 months ago
Re: Upgrading to 8.00.23 I upgraded from 8.00.22 to 8.00.23 but the version number in the admin module still shows version 8.00.22. Did I miss something? I followed the same steps I did upgrading from 8.00.21 to 8.00.22.
RobiNN
RobiNN 03-01-2020 14:08, 5 months ago
Re: Upgrading from 8.00.19 - 8.00.21 Only upgrade script has been fixed, that's all https://github.com/php-fusion/PHP-Fus...74c660346f
Z
zizub 03-01-2020 13:37, 5 months ago
Re: Upgrading from 8.00.19 - 8.00.21 Upgrading from version 8.00.21 on v8.00.22 or v8.00.23
I'm testing a new update on XAMPP. DB update from v8.00.21 to v 8.00.22 went well. But now, I can not update the database to version 8.00.23. In the admin panel, message: No updates available. I wanted to make a gradual upgrade, following the release version. My question is: Are there any differences in versions 8.00.22 and 8.00.23? Or are they the same?
Homdax
Re: Upgrade from 7.02.07 to 8.00.21 to 9.03 > a Success story, but not without glitches. so one site turned out decent after 9, the other not so much... content seems to be in place after upgrades so thats that.
Homdax
Re: Upgrade from 7.02.07 to 8.00.21 to 9.03 > a Success story, but not without glitches. ...updated thread title... grin
Homdax
Re: Upgrade from 7.02.07 to 8.00.21 to 9.03 > a Success story, but not without glitches. I know, I am doing it, just that my FTP transfer is taking .. longish... 1200 files to go
RobiNN
Re: Upgrade from 7.02.07 to 8.00.21 to 9.03 > a Success story, but not without glitches. Upgrade to v9.x
Upload v9 files and run site.com/install.php in title you can see "PHP-Fusion Upgrade". That's all. V9 have built-in upgrade system in installer.
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.