updating phpbb - a modified approach

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Anti-Spam Guide
User avatar
A_O_C
Registered User
Posts: 2383
Joined: Sun Jul 01, 2007 11:26 pm
Location: phpbb_

updating phpbb - a modified approach

Post by A_O_C »

i have been through lots oh phpbb updates (v2 and v3), but when i redid my board for after 3.0.2 was released, i started thinking. when 3.0.3 is released, i want to make sure that my MODs work with it. so, i thought of this:
  • download a FRESH copy of 3.0.3, install MODs, and test locally
  • after testing is complete, upload ALL files EXCEPT FOR config.php to production board
  • download the changed files package, and upload the install folder
  • run /install/database_update.php
do any members (specifically team members) see a problem with this approach? i havent tested, but theoretically it should work, right?
User avatar
ChrisRLG
Former Team Member
Posts: 3420
Joined: Wed Nov 24, 2004 3:18 pm
Location: Essex, UK

Re: updating phpbb - a modified approach

Post by ChrisRLG »

That is how I do it :)
phpBB: The All Important Rules - Bertie Bear 3.0 - No support via PM system - use the forums please.
phpBB v2: Retirement (1/1/2009) : phpBB v3: Read Me Topic - Custom BBCodes - Support Template
Matthew 7:7"Ask and it will be given to you; seek and you will find; knock and a door will be opened to you."
My Links: MS MVP (Consumer Security) - Malware Removal:University - Own Forum: Custom BBCode testing
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6601
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: updating phpbb - a modified approach

Post by thecoalman »

A_O_C wrote:run /install/database_update.php[/list]
That file is in the full package. ;)
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
A_O_C
Registered User
Posts: 2383
Joined: Sun Jul 01, 2007 11:26 pm
Location: phpbb_

Re: updating phpbb - a modified approach

Post by A_O_C »

ChrisRLG wrote:That is how I do it :)
hahaha, really? i dont feel so bad about doing it now. :D


thecoalman wrote:That file is in the full package. ;)
is it really? i never noticed that. awesome.
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28948
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier

Re: updating phpbb - a modified approach

Post by Paul »

If you have a lot of spare time you can do it that way, but I will not suggest it. The automatic updater and patch files are good enough mostly.
User avatar
A_O_C
Registered User
Posts: 2383
Joined: Sun Jul 01, 2007 11:26 pm
Location: phpbb_

Re: updating phpbb - a modified approach

Post by A_O_C »

Paul wrote:If you have a lot of spare time you can do it that way, but I will not suggest it
can i ask why not?
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28948
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier

Re: updating phpbb - a modified approach

Post by Paul »

A_O_C wrote:
Paul wrote:If you have a lot of spare time you can do it that way, but I will not suggest it
can i ask why not?
Because it takes a lot of unneeded time, as there are enough ways of doing it even good or better.
User avatar
ChrisRLG
Former Team Member
Posts: 3420
Joined: Wed Nov 24, 2004 3:18 pm
Location: Essex, UK

Re: updating phpbb - a modified approach

Post by ChrisRLG »

I do it once for several forums - all with the same set of MODs - so once is fine for me. :)
phpBB: The All Important Rules - Bertie Bear 3.0 - No support via PM system - use the forums please.
phpBB v2: Retirement (1/1/2009) : phpBB v3: Read Me Topic - Custom BBCodes - Support Template
Matthew 7:7"Ask and it will be given to you; seek and you will find; knock and a door will be opened to you."
My Links: MS MVP (Consumer Security) - Malware Removal:University - Own Forum: Custom BBCode testing
User avatar
Phil
Former Team Member
Posts: 10403
Joined: Sat Nov 25, 2006 4:11 am
Name: Phil Crumm

Re: updating phpbb - a modified approach

Post by Phil »

Is there a reason you can't use the code changes or auto-updater when updating?
Moving on, with the wind. | My Corner of the Web
User avatar
A_O_C
Registered User
Posts: 2383
Joined: Sun Jul 01, 2007 11:26 pm
Location: phpbb_

Re: updating phpbb - a modified approach

Post by A_O_C »

iWisdom wrote:Is there a reason you can't use the code changes or auto-updater when updating?
dont like the auto-updater (although i got through it, it just seemed a little complicated due to my MODs). the code changes, i could use, but i thought this would be somewhat better (that way i can test my MODs on the newly released 3.0.x clean install version).
User avatar
ChrisRLG
Former Team Member
Posts: 3420
Joined: Wed Nov 24, 2004 3:18 pm
Location: Essex, UK

Re: updating phpbb - a modified approach

Post by ChrisRLG »

Same for me - I use a test forum first - with my own MODs, some of which are not public.

I was badly burned by easy mod on v2 :( once bitten twice shy - I know we have the auto updater which is different - but I LIKE doing the code changes - so I know what is happening myself.
phpBB: The All Important Rules - Bertie Bear 3.0 - No support via PM system - use the forums please.
phpBB v2: Retirement (1/1/2009) : phpBB v3: Read Me Topic - Custom BBCodes - Support Template
Matthew 7:7"Ask and it will be given to you; seek and you will find; knock and a door will be opened to you."
My Links: MS MVP (Consumer Security) - Malware Removal:University - Own Forum: Custom BBCode testing
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: updating phpbb - a modified approach

Post by Lumpy Burgertushie »

I don't know anything about the updater for 3 however, I have lots of experience with EM.
I always use EM for updating phpbb2 with MODs.

I have never had a problem other than the occasional code that can't be found due to other changes.


I never use the changed files method. It make no sense to me. Why not just replace all the files except for the config.php file? That is much easier and less likely to give errors.

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
lurttinen
Translator
Posts: 4729
Joined: Tue Sep 21, 2004 12:05 pm

Re: updating phpbb - a modified approach

Post by lurttinen »

I believe this is just a matter of what the board owner prefers to achieve their goal.
I have one forum which gets manual changes and one which gets the code changes.
I have used the automatic updater and it does its job. However, that is not what i want... :mrgreen:
Signature is here
User avatar
Kellanved
Former Team Member
Posts: 2635
Joined: Wed Jan 26, 2005 2:48 pm
Location: Meta-level

Re: updating phpbb - a modified approach

Post by Kellanved »

While this might work for some updates, it should be noted that the files of a new release are usually incompatible with old databases.
Nocando is in Idontwanna county. No support via PM
User avatar
ChrisRLG
Former Team Member
Posts: 3420
Joined: Wed Nov 24, 2004 3:18 pm
Location: Essex, UK

Re: updating phpbb - a modified approach

Post by ChrisRLG »

I always run the DB update routeen - so that should cover that.
phpBB: The All Important Rules - Bertie Bear 3.0 - No support via PM system - use the forums please.
phpBB v2: Retirement (1/1/2009) : phpBB v3: Read Me Topic - Custom BBCodes - Support Template
Matthew 7:7"Ask and it will be given to you; seek and you will find; knock and a door will be opened to you."
My Links: MS MVP (Consumer Security) - Malware Removal:University - Own Forum: Custom BBCode testing

Return to “phpBB Discussion”