Manually adding code!

Discussion about phpBB 3.1.x.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Manually adding code!

Postby steve » 04 Jan 2015, 18:17

If I was manually edit any phpbb 3.1.x files will they be lost when phpbb releases an update?
Steve ©

User avatar
bonelifer
Administrator
Administrator
Posts: 477
Joined: 24 Jun 2006, 17:48
Real name: William
Location: htpc.MythBuntu
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Manually adding code!

Postby bonelifer » 04 Jan 2015, 18:39

If you manually edit them, you'll then have to use the automatic updater files to go between releases. That will mean you'll have to manually merge files that where changed. Instead you should really be doing things using Extensions.

steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Manually adding code!

Postby steve » 04 Jan 2015, 18:42

Thanks boner ,at least phpbb still support merging files.
Not been around much for a while so thought I would ask here ;)
Steve ©

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Manually adding code!

Postby RMcGirr83 » 04 Jan 2015, 18:56

Further, the extension will never get approved if you manually add edits to the files.

steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Manually adding code!

Postby steve » 04 Jan 2015, 19:01

It's for my forum rich ,I'm up to date with extensions just no so clued up on how phpbb handles updates.
Steve ©

User avatar
bonelifer
Administrator
Administrator
Posts: 477
Joined: 24 Jun 2006, 17:48
Real name: William
Location: htpc.MythBuntu
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Manually adding code!

Postby bonelifer » 04 Jan 2015, 19:06

I personally wouldn't suggest using the auto-update/merge approach. Do things right and you'll have no troubles. This is the whole reason Extensions were added to 3.1. Why go backwards in time.

steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Manually adding code!

Postby steve » 04 Jan 2015, 19:13

Because some tweaks are not worthy of writing up extension files!!
Steve ©

User avatar
bonelifer
Administrator
Administrator
Posts: 477
Joined: 24 Jun 2006, 17:48
Real name: William
Location: htpc.MythBuntu
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Manually adding code!

Postby bonelifer » 04 Jan 2015, 19:17

That line of reasoning just doesn't add up.

steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Manually adding code!

Postby steve » 04 Jan 2015, 19:28

This forum seems pointless then: viewforum.php?f=129
Steve ©

Pete
New member
New member
Posts: 22
Joined: 29 Aug 2008, 04:56
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Manually adding code!

Postby Pete » 08 Jan 2015, 19:35


User avatar
Pond Life
Member
Member
Posts: 53
Joined: 31 Dec 2014, 12:43
Location: Earth
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Manually adding code!

Postby Pond Life » 08 Jan 2015, 22:48


User avatar
Stoker
Member
Member
Posts: 198
Joined: 14 May 2011, 20:54
Contact:

Re: Manually adding code!

Postby Stoker » 10 Jan 2015, 05:29

Regards Stoker


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “phpBB 3.1.x "Ascraeus" discussion”

Who is online

Users browsing this forum: No registered users and 5 guests