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!
Get Involved
User avatar
Mick
Support Team Member
Support Team Member
Posts: 20095
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Discuss: phpBB 3.2.2 Release

Post by Mick » Fri Apr 13, 2018 7:59 am

mamba wrote:
Fri Apr 13, 2018 6:20 am
Is 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

There are no ‘threads’ in phpBB, they are topics.

User avatar
mamba
Registered User
Posts: 426
Joined: Thu Jan 16, 2003 7:59 pm

Re: Discuss: phpBB 3.2.2 Release

Post by mamba » Fri Apr 13, 2018 12:56 pm

Thanks, does not look simple.

So, any answers to my other question about whether the auto updater is fixed?
Using 3.2, PHP version 7, MySQL 5.5, Host: hostgator shared Linux, Style: Prosilver

User avatar
GanstaZ
Registered User
Posts: 520
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Discuss: phpBB 3.2.2 Release

Post by GanstaZ » 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.
"When answer lies in the question,.. question becomes redundant!"

User avatar
kinerity
Community Team Member
Community Team Member
Posts: 1885
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: Discuss: phpBB 3.2.2 Release

Post by kinerity » Fri Apr 13, 2018 2:01 pm

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 Truscott - Community Team

User avatar
mamba
Registered User
Posts: 426
Joined: Thu Jan 16, 2003 7:59 pm

Re: Discuss: phpBB 3.2.2 Release

Post by mamba » Fri Apr 13, 2018 11:39 pm

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 3.2, PHP version 7, MySQL 5.5, Host: hostgator shared Linux, Style: Prosilver

User avatar
Lumpy Burgertushie
Registered User
Posts: 65022
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Discuss: phpBB 3.2.2 Release

Post by Lumpy Burgertushie » Fri Apr 13, 2018 11:47 pm

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
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
mamba
Registered User
Posts: 426
Joined: Thu Jan 16, 2003 7:59 pm

Re: Discuss: phpBB 3.2.2 Release

Post by mamba » Sat Apr 14, 2018 12:44 am

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 3.2, PHP version 7, MySQL 5.5, Host: hostgator shared Linux, Style: Prosilver

User avatar
mamba
Registered User
Posts: 426
Joined: Thu Jan 16, 2003 7:59 pm

Re: Discuss: phpBB 3.2.2 Release

Post by mamba » Sat Apr 14, 2018 12:48 am

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 3.2, PHP version 7, MySQL 5.5, Host: hostgator shared Linux, Style: Prosilver

User avatar
Lumpy Burgertushie
Registered User
Posts: 65022
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Discuss: phpBB 3.2.2 Release

Post by Lumpy Burgertushie » Sat Apr 14, 2018 1:15 am

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
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
mamba
Registered User
Posts: 426
Joined: Thu Jan 16, 2003 7:59 pm

Re: Discuss: phpBB 3.2.2 Release

Post by mamba » Sat Apr 14, 2018 1:19 am

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 3.2, PHP version 7, MySQL 5.5, Host: hostgator shared Linux, Style: Prosilver

User avatar
mamba
Registered User
Posts: 426
Joined: Thu Jan 16, 2003 7:59 pm

Re: Discuss: phpBB 3.2.2 Release

Post by mamba » Sat Apr 14, 2018 1:51 am

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 3.2, PHP version 7, MySQL 5.5, Host: hostgator shared Linux, Style: Prosilver

User avatar
GanstaZ
Registered User
Posts: 520
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Discuss: phpBB 3.2.2 Release

Post by GanstaZ » Sat Apr 14, 2018 2:36 am

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.
"When answer lies in the question,.. question becomes redundant!"

User avatar
mamba
Registered User
Posts: 426
Joined: Thu Jan 16, 2003 7:59 pm

Re: Discuss: phpBB 3.2.2 Release

Post by mamba » Sat Apr 14, 2018 3:07 am

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 3.2, PHP version 7, MySQL 5.5, Host: hostgator shared Linux, Style: Prosilver

User avatar
mamba
Registered User
Posts: 426
Joined: Thu Jan 16, 2003 7:59 pm

Re: Discuss: phpBB 3.2.2 Release

Post by mamba » Sat Apr 14, 2018 6:30 am

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 3.2, PHP version 7, MySQL 5.5, Host: hostgator shared Linux, Style: Prosilver

User avatar
GanstaZ
Registered User
Posts: 520
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Discuss: phpBB 3.2.2 Release

Post by GanstaZ » Sat Apr 14, 2018 1:17 pm

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)
"When answer lies in the question,.. question becomes redundant!"

Post Reply

Return to “phpBB Discussion”

Who is online

Users browsing this forum: Chico Gois, Mathieu M., Real_Bill_Thompson and 28 guests