Page 4 of 6

Re: Discuss: phpBB 3.2.2 Release

Posted: Fri Apr 13, 2018 7:59 am
by Mick
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

Re: Discuss: phpBB 3.2.2 Release

Posted: Fri Apr 13, 2018 12:56 pm
by mamba
Thanks, does not look simple.

So, any answers to my other question about whether the auto updater is fixed?

Re: Discuss: phpBB 3.2.2 Release

Posted: Fri Apr 13, 2018 1:22 pm
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.

Re: Discuss: phpBB 3.2.2 Release

Posted: Fri Apr 13, 2018 2:01 pm
by kinerity
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.

Re: Discuss: phpBB 3.2.2 Release

Posted: Fri Apr 13, 2018 11:39 pm
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

Re: Discuss: phpBB 3.2.2 Release

Posted: Fri Apr 13, 2018 11:47 pm
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

Re: Discuss: phpBB 3.2.2 Release

Posted: Sat Apr 14, 2018 12:44 am
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?

Re: Discuss: phpBB 3.2.2 Release

Posted: Sat Apr 14, 2018 12:48 am
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?

Re: Discuss: phpBB 3.2.2 Release

Posted: Sat Apr 14, 2018 1:15 am
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

Re: Discuss: phpBB 3.2.2 Release

Posted: Sat Apr 14, 2018 1:19 am
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.

Re: Discuss: phpBB 3.2.2 Release

Posted: Sat Apr 14, 2018 1:51 am
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....

Re: Discuss: phpBB 3.2.2 Release

Posted: Sat Apr 14, 2018 2:36 am
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.

Re: Discuss: phpBB 3.2.2 Release

Posted: Sat Apr 14, 2018 3:07 am
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.

Re: Discuss: phpBB 3.2.2 Release

Posted: Sat Apr 14, 2018 6:30 am
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.

Re: Discuss: phpBB 3.2.2 Release

Posted: Sat Apr 14, 2018 1:17 pm
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)