Discuss: phpBB 3.2.2 Release

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Scam Warning
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26505
Joined: Fri Aug 29, 2008 9:49 am

Re: Discuss: phpBB 3.2.2 Release

Post by Mick »

mamba wrote: Fri Apr 13, 2018 6:20 amIs there a quick tutorial on how to do this?
By no means definitive there must be more, results are from a quick search:

https://www.phpbb.com/extensions/writing/
viewtopic.php?f=461&t=2211276
viewtopic.php?f=461&t=2395991
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
mamba
Registered User
Posts: 603
Joined: Thu Jan 16, 2003 7:59 pm
Location: Australia

Re: Discuss: phpBB 3.2.2 Release

Post by mamba »

Thanks, does not look simple.

So, any answers to my other question about whether the auto updater is fixed?
Using latest version of PHPBB
User avatar
GanstaZ
Registered User
Posts: 1187
Joined: Wed Oct 11, 2017 10:29 pm
Location: GZOverse

Re: Discuss: phpBB 3.2.2 Release

Post by GanstaZ »

About auto-updater i can say only one thing, use full package to update and no auto. Extensions are simple if you start developing those.
Usus est magister optimus! phpBB pre-Triton & latest php environment.
When answer lies in the question, question becomes redundant!
User avatar
Kailey
Community Team Leader
Community Team Leader
Posts: 3732
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Snay
Contact:

Re: Discuss: phpBB 3.2.2 Release

Post by Kailey »

mamba wrote: Fri Apr 13, 2018 12:56 pm So, any answers to my other question about whether the auto updater is fixed?
Why not try and see? If you make backups of your files and database before updating (like you always should), then if something goes wrong it's no problem to reload the backups.

Also, you are always welcome to post a request in Extension Requests detailing what you need these extensions to do.
Kailey Snay - Community Team Leader
Knowledge Base | Documentation | Community rules

If you have any questions about the rules/customs of this website, feel free to send me a PM.
User avatar
mamba
Registered User
Posts: 603
Joined: Thu Jan 16, 2003 7:59 pm
Location: Australia

Re: Discuss: phpBB 3.2.2 Release

Post by mamba »

kinerity wrote: Fri Apr 13, 2018 2:01 pm Why not try and see?
Okay, I'll be the crash test dummy. :shock:

I'll report back soon
Using latest version of PHPBB
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Discuss: phpBB 3.2.2 Release

Post by Lumpy Burgertushie »

the answer to your question is no, the auto updater is not fixed for 3.2.2
I don't remember there being any problems with it for 3.2.0 to 3.2.1 but there are definitely problems with the 3.2.1 to the 3.2.2

as you probably know, with extensions there is usually no need to edit core code and it is not recommended.

so, if you don't edit any core code then there is no reason for the auto updater. that is what it was designed for but is rarely needed now.


For most people a simple file replacement ,except for the few things listed in the instructions, is the best and easiest way to update/upgrade.



robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
mamba
Registered User
Posts: 603
Joined: Thu Jan 16, 2003 7:59 pm
Location: Australia

Re: Discuss: phpBB 3.2.2 Release

Post by mamba »

Lumpy Burgertushie wrote: Fri Apr 13, 2018 11:47 pm the answer to your question is no, the auto updater is not fixed for 3.2.2
Oh great, aborting upgrade now....
I don't remember there being any problems with it for 3.2.0 to 3.2.1 but there are definitely problems with the 3.2.1 to the 3.2.2
Um, there was extensive discussion about the problems with the autoupdater in the thread about the 3.2.0►3.2.1 update. That's why a bunch of people did not perform the update, including me.
so, if you don't edit any core code then there is no reason for the auto updater. that is what it was designed for but is rarely needed now.
And despite this your own documentation states in the INSTALL.html:
4.iv. Automatic update package

This update method is the recommended method for updating. This package detects changed files automatically and merges in changes if needed.
But now you tell me the "recommended method" is broken

Is this some kind of sick joke, or is phpbb really running into the ground?
Last edited by mamba on Sat Apr 14, 2018 2:04 am, edited 1 time in total.
Using latest version of PHPBB
User avatar
mamba
Registered User
Posts: 603
Joined: Thu Jan 16, 2003 7:59 pm
Location: Australia

Re: Discuss: phpBB 3.2.2 Release

Post by mamba »

Now during my abort of the auto-update, I can simply delete the INSTALL folder but the VENDOR folder was half-way updated by uploads when I aborted.

Will that be a problem? Should I re-download the full installation of my current version, 3.2.0, and then re-upload the matching vendor folder to overwrite the changed files back to the older versions?
Using latest version of PHPBB
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Discuss: phpBB 3.2.2 Release

Post by Lumpy Burgertushie »

first, it is not "my documentation"
I am not sure why they have not removed that statement since most of the staff are saying to use the file replacement method.
just replace the files with the backups you made before you started and you will be fine.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
mamba
Registered User
Posts: 603
Joined: Thu Jan 16, 2003 7:59 pm
Location: Australia

Re: Discuss: phpBB 3.2.2 Release

Post by mamba »

I did not back up the vendor folder, only folders containing content I have created or modified, as well as the mysql db.

So I have re-downloaded 3.2.0 and I am uploading the old vendor folder.

This is so incredibly frustrating and annoying.

It's starting to feel as if I will never update phpbb again, and perhaps I should start looking for another forum software, after over 15 years.
Using latest version of PHPBB
User avatar
mamba
Registered User
Posts: 603
Joined: Thu Jan 16, 2003 7:59 pm
Location: Australia

Re: Discuss: phpBB 3.2.2 Release

Post by mamba »

GanstaZ wrote: Fri Apr 13, 2018 1:22 pm About auto-updater i can say only one thing, use full package to update and no auto. Extensions are simple if you start developing those.
Sigh.... I don't think they are "simple", after looking at the documentation, but it looks like I have 2 choices:
  1. install a new forum software (e.g. vBulletin or XenForo) and go through a painful conversion process
  2. invest hours of reading and learning to be able to write my own extensions that inject the changes I need
Sweet Jeebus, I am so busy already, I don't know where I will find the time....
Using latest version of PHPBB
User avatar
GanstaZ
Registered User
Posts: 1187
Joined: Wed Oct 11, 2017 10:29 pm
Location: GZOverse

Re: Discuss: phpBB 3.2.2 Release

Post by GanstaZ »

You don't need auto updater to update your board. Update it with full package and problem is solved. Extension development is just something you want to do or not. It's not about docs, more about doing the coding and learning at the same time. Some changes you mentioned above may already be available as extensions in CDB or if you want to start developing and have questions, there's Extension Writers Discussion forum + google has almost all the answers.
Usus est magister optimus! phpBB pre-Triton & latest php environment.
When answer lies in the question, question becomes redundant!
User avatar
mamba
Registered User
Posts: 603
Joined: Thu Jan 16, 2003 7:59 pm
Location: Australia

Re: Discuss: phpBB 3.2.2 Release

Post by mamba »

GanstaZ wrote: Sat Apr 14, 2018 2:36 am You don't need auto updater to update your board.
Yes, I do.

I have bespoke code in
  1. ucp.php (text changes only ... and btw there are TWO files called ucp.php in this software, which is dumb)
  2. functions_messenger.php (because of this bug)
  3. overall_header.html (because I have a special slider in the header)
  4. admin_welcome_inactive.txt (specific text changes)
  5. bbcode.html (altered the flash code to play=true and loop=true)
  6. colours.css (color changes for my board)
I can redo them all by hand, now that I review what's required, but would rather not.

So now I'm thinking I should download the "Changed Files Only" package, edit the changed files affected, and upload them with the new install and vendor folders, and fire off "Update database only" from the install directory.

Painful, but since a decision has clearly been made to abandon the "recommended" update route, that's all I can do.
Using latest version of PHPBB
User avatar
mamba
Registered User
Posts: 603
Joined: Thu Jan 16, 2003 7:59 pm
Location: Australia

Re: Discuss: phpBB 3.2.2 Release

Post by mamba »

Okay, I managed to update successfully to 3.2.2 using the method described above.

Basically, if you have essential core file edits, do this:
  1. keep a document describing all your edits and changes
  2. at update time, download the "changed files only" package
  3. update the affected files as per the document in (1) above
  4. upload them
  5. go to the /install/app.php/update, select "Update", and then "Update database only".


I had to recreate my search index and make some minor changes to one file, then all was well.

It's do-able.

"Automatic Update" should be removed from all documentation, since it's no longer reliable.
Last edited by mamba on Tue Jul 03, 2018 10:52 pm, edited 2 times in total.
Using latest version of PHPBB
User avatar
GanstaZ
Registered User
Posts: 1187
Joined: Wed Oct 11, 2017 10:29 pm
Location: GZOverse

Re: Discuss: phpBB 3.2.2 Release

Post by GanstaZ »

mamba wrote: Sat Apr 14, 2018 3:07 am
  1. ucp.php (text changes only ... and btw there are TWO files called ucp.php in this software, which is dumb)
  2. functions_messenger.php (because of this bug)
  3. overall_header.html (because I have a special slider in the header)
  4. admin_welcome_inactive.txt (specific text changes)
  5. bbcode.html (altered the flash code to play=true and loop=true)
  6. colours.css (color changes for my board)
  1. Where do you see the second ucp file?
  2. It should be fixed in version 3.2.2
  3. Flash is at is end, it should be removed from the core.
  4. Everything that is related to style, create a custom one based on prosilver (copy/paste/rename and do the edits that are needed)
Usus est magister optimus! phpBB pre-Triton & latest php environment.
When answer lies in the question, question becomes redundant!
Post Reply

Return to “phpBB Discussion”