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

1,721 posts | Last Activity on 15-09-2019 16:51 by Homdax
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.
Homdax
Re: Upgrade from 7.02.07 to 8.00.21 to 9.03 > a Success story, but not without glitches. OK, just did this with additional two sites. These were English only, so minor high ascii woes here.

  1. Theme changed to a default one, like Gillette
  2. Several old infusions (really old) defused.
  3. Switch PHP version from whichever > 5.6 prior to upgrade.
  4. Upgrade sequence - uploaded 8.00.21 upgrade files.
  5. Step 1 Maintenance > ok.
  6. Step 2 > ok.
  7. Step 3 alter config php > ok.
  8. Step 5 > htaccess written > ok.
  9. Step 6 > db upgrade run > no errors. I noticed it can run for 2-3 minutes, so just sit and wait for the page to refresh. WAIT for it...
  10. Sites online, admin is browsable, version states 8.0.21.
  11. Uploading rest of 8.00.21 files (You do know there is a zero KB .htaccess file in the file package?, excluding it from upload).
  12. Site switches to Atom-8, seems working.
  13. Administration is working, Forums are there, lots of theme stuff obviously more or less broken, but site basically functional.
  14. Trying to switch to higher PHP version: > 7.3 > works.
  15. RESULT > OK


9.00.3

  1. Upload of upgrade files


... wait for it... wink
afoster
afoster 21-06-2019 15:34, 3 months ago
Re: Admin Panel Issues Thanks Falk, I updated the database with the titles. I will have to be more careful on my upgrades I guess, although I thought that I had overwritten all of the files that were in the 8.00.21 files folder.
Falk
Falk 21-06-2019 02:50, 3 months ago
Re: Admin Panel Issues That is a result of missing locales, The new locales added for these items where never present during the upgrade. All files must be overwritten as explained in the readme.
I see the Blog Cats, Blog, filemanager, Email Templates. You can complete them by manually edit the entries in phpMyAdmin table admin.
afoster
afoster 20-06-2019 16:58, 3 months ago
Re: Admin Panel Issues The attached screen shot shows the admin panel for the Content module and as you can see, the text for some of the options is missing. This is happening on all other modules except for the Infusions module. This site has been updated from a 7.02.07 version of php-fusion and am wondering if anyone can tell me what is causing this?
Homdax
Re: Upgrade from 7.02.07 to 8.00.21 to 9.03 > a Success story, but not without glitches. ok, so the original site theme and main gfx were actually pretty much inherited in to 9 with few or non important issues. I have a few edits to do but the main thing is that the site is actually looking as it should after upgrade to 8 and now upgrade to 9. Then again the theme is not very complex. I am beyond relieved. grin
Homdax
Re: Upgrade from 7.02.07 to 8.00.21 to 9.03 > a Success story, but not without glitches. Going from 8 to 9. We'll just have to punch through to latest version to keep the site secure and up to date. Will post in relevant forum if anything goes kaboom.
Wanabo
Wanabo 03-05-2019 17:28, 5 months ago
Re: First v7 site to v8 upgrade a success! Here is some feedback from my users:
When using quick reply you can not preview a message without loosing an attachment. (old v7 bug)
Wen using quick reply you can not switch to full reply keeping your all ready typed message like with other forum software. For example you use quick reply but want to add an attachment you need to switch to reply.
Viewing an attached image in forum can only be closed with escape. The X is probably on the wrong spot. When you click X right bottom corner, very briefly the X is shown top right, but nothing happens.

User request. Like or vote up buttons.
Falk
Re: Upgrade from 7.02.07 to 8.00.21 to 9.03 > a Success story, but not without glitches. Then you´ll get theme issues with orginal theme for sure.
Homdax
Re: Upgrade from 7.02.07 to 8.00.21 to 9.03 > a Success story, but not without glitches. What if I decided to continue towards 9?
Falk
Re: Upgrade from 7.02.07 to 8.00.21 to 9.03 > a Success story, but not without glitches. If you toggle Bootstrap, disable global.css and default.css your orginal Theme should perform as expected.
Wanabo
Re: Upgrade from 7.02.07 to 8.00.21 to 9.03 > a Success story, but not without glitches. like Well done. Thorough procedure.
Homdax
Re: Upgrade from 7.02.07 to 8.00.21 to 9.03 > a Success story, but not without glitches. Here we go again.
Upgrading test site on subdomain on another space on the host, but with identical requirements aside from that.

  1. Language set to English and database checked, any other locale files removed.
  2. Dumping tables from test site > importing tables from Prod site. Verified English only.
  3. Changed table setting to reflect correct domain entry in cells site_url and site_host (or logon won't work)
  4. Verified English only in Administration.
  5. No theme changes.
  6. Same files, no action.
  7. Switch PHP version from 5.5 > 5.6 prior to upgrade Consequence > high ascii garbled, as expected.
  8. Check Admin > not affected.
  9. Upgrade sequence
  10. Step 1 Maintenance > ok
  11. Step 2 > ok
  12. Step 3 alter config php > ok
  13. Step 5 > htaccess written > ok
  14. Step 6 > db upgrade run > no errors
  15. Site appears with Draig and a bit garbled, admin is browsable, version states 8.0.21
  16. Uploading upgrade files (You do know there is a zero KB .htaccess file in the file package?, excluding it from upload)
  17. Site switches to Atom-8, seems working,
  18. Administration is working, Forums are there, lots of theme stuff obviously more or less broken, but site basically functional.
  19. However, high ascii still looks garbled at first sight, a REFRESH seems to fix that.
  20. Disabled RSS panel
  21. Damn, utf8 on custom RSS feeds is not working. That is NOT PHP-Fusion fault though.
  22. Several old infusions (really old) defused to see effect.
  23. Trying to switch to higher PHP version: > 7.3 > works
  24. RESULT > OK


Some remaining errors in the error log:
Code
templates/panels.php(106) : eval()'d code
Trying to get property of non-object Line: 15
templates/panels.php(106) : eval()'d code
Trying to get property of non-object Line: 12    
templates/panels.php(106) : eval()'d code
Trying to get property of non-object Line: 10    
templates/panels.php(106) : eval()'d code
Trying to get property of non-object Line: 11    
templates/panels.php(106) : eval()'d code
Trying to get property of non-object Line: 9    
templates/panels.php(106) : eval()'d code
simplexml_load_file(http://www.moderat.se/skane/feeds/news.xml): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found Line: 5    
templates/panels.php(106) : eval()'d code
Undefined variable: itemtext Line: 65    
templates/panels.php(106) : eval()'d code
include(infusions/latest_news_panel/locale/English.php): failed to open stream: No such file or directory Line: 53


Probably related to changes in default code.

I have lots to do in regards to adaptations and troubleshooting of the site. Considering we based the Prod one out of Ddraig I guess I might start from there, butt switching stuff a bit it might be easier to start from Stylo... dunno really. Atom-X is working best for functionality.

anyone care to adapt www.moderaterna.se for php-fusion as theme will have my eternal gratitude... :P
Wanabo
Wanabo 30-04-2019 11:55, 5 months ago
Re: First v7 site to v8 upgrade a success! That is a great tip!
I searched these forums for an after upgrade conversion script in case you disable the conversion in upgrade php, I mean the utf-8 conversion part only.
With your tip I can comment out some conversions I think that are not needed to speed up the process. But, and that is also why I need an after upgrade conversion script, I want to make sure also those commented out utf-8 conversions are done later on, just in case I missed some thing.

Yesterday I did an 20 mb database conversion which took about 35 minutes, see elsewhere in this thread. Today I did an 12 mb database conversion which took only 6 minutes. But that was on an other server with more memory. So I don't think I'll encounter time out problems, even with the biggest datebase of 30 mb.

But an after upgrade conversion script is appreciated.
Falk
Falk 30-04-2019 11:42, 5 months ago
Re: First v7 site to v8 upgrade a success! On a side note, to reduce loading time you can identify Chars needed for conversion on your given language and cut the function short.
Now it takes our full list and compare them all, naturally that will cause some increased load.

For exaple in Swedish I only need, ( Also for lower case ) and in scenarios questions marks etc.. But it still reduce the load by a lot.

Code
dbquery("UPDATE ".$table." SET ".$column['Field']." = REPLACE(".$column['Field']." ,'Ã¥','Å')");
dbquery("UPDATE ".$table." SET ".$column['Field']." = REPLACE(".$column['Field']." ,'ö','ö')");
dbquery("UPDATE ".$table." SET ".$column['Field']." = REPLACE(".$column['Field']." ,'Ä','Ä')");

Falk
Falk 30-04-2019 06:16, 5 months ago
Re: First v7 site to v8 upgrade a success! Good news!
Wanabo
Wanabo 29-04-2019 12:30, 5 months ago
Re: First v7 site to v8 upgrade a success! Upgraded https://www.phpfusion-nederlands.info/ to v8.

I was a little nervous because this is the first site with a large database (20mb) and this would be a showcase if the rest of the sites with big databases will encounter problems.
The UTF-8 conversion took about 35 minutes, but after 30 minutes I got a 504 Gateway timeout from Nginx. But by monitoring the load of my server I guessed the conversion process was still running.
Afterwards I double checked if new tables were there and the old ones where altered to utfmb4. All seemed in order. After uploading the new files all worked as expected. smile
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.