Search found 15 matches

by Frank Rizzo
Sat Dec 09, 2017 11:33 am
Forum: [3.x] Discussion
Topic: What's the Fix for PHP 7.2 Count() Issue?
Replies: 10
Views: 11368

Re: What's the Fix for PHP 7.2 Count() Issue?

I edited the core.php file, changing the section for twig_length_filter from: /** * Returns the length of a variable. * * @param Twig_Environment $env * @param mixed $thing A variable * * @return int The length of the value */ function twig_length_filter(Twig_Environment $env, $thing) { if (is_scala...
by Frank Rizzo
Sat Dec 09, 2017 11:28 am
Forum: [3.x] Discussion
Topic: What's the Fix for PHP 7.2 Count() Issue?
Replies: 10
Views: 11368

Re: What's the Fix for PHP 7.2 Count() Issue?

Having had a look at this it's obvious the specific error I quoted above is due to twig and not phpbb. This solves the twig\core.php error: https://github.com/twigphp/Twig/commit/d2b7a01a181efa9ff081df1e43226605e33bed8d#diff-d7378002f67a61c458c1de0468eef74f So the solution for this is for the phpBB ...
by Frank Rizzo
Fri Dec 08, 2017 4:21 pm
Forum: [3.x] Discussion
Topic: What's the Fix for PHP 7.2 Count() Issue?
Replies: 10
Views: 11368

What's the Fix for PHP 7.2 Count() Issue?

PHP 7.2 throws various errors due to the way count() is now handled. e.g. when browsing the forum index: My Forum Section My Forum Description [phpbb Debug] Warning : in file [ROOT} /vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that impl...
by Frank Rizzo
Thu Dec 15, 2016 9:12 pm
Forum: [3.x] Discussion
Topic: 3.2 sample config file
Replies: 8
Views: 5716

Re: 3.2 sample config file

I would not have copied and pasted verbatim from another user - obviously - but it would have been good to compare what was different and to enquire about the differences. Already resolved in the support forum now anyway. I re-ran the install setting up a fake database name and just copied the 3.2 g...
by Frank Rizzo
Thu Dec 15, 2016 11:36 am
Forum: [3.x] Discussion
Topic: 3.2 sample config file
Replies: 8
Views: 5716

Re: 3.2 sample config file

Thank you.
by Frank Rizzo
Thu Dec 15, 2016 10:55 am
Forum: [3.x] Discussion
Topic: 3.2 sample config file
Replies: 8
Views: 5716

Re: 3.2 sample config file

Hmm, the time you two took to think of and to type out those replies is surely longer than just cutting and pasting your config.php in the first place.

Merry xmas.
by Frank Rizzo
Tue Dec 13, 2016 10:09 pm
Forum: [3.x] Discussion
Topic: 3.2 sample config file
Replies: 8
Views: 5716

3.2 sample config file

Every time I install the new release I just copy my old config.php back.Can someone check this config.php is valid and optimal for 3.2 RC2? <?php $dbms = 'mysqli'; $dbhost = 'localhost'; $dbport = ''; $dbname = 'xxxx'; $dbuser = 'xxxx'; $dbpasswd = 'xxxx'; $table_prefix = 'xxxx_'; $acm_type = 'file'...
by Frank Rizzo
Mon Nov 30, 2015 10:09 pm
Forum: [3.x] Discussion
Topic: phpBB 3.2.0-a1 released
Replies: 118
Views: 155373

Re: phpBB 3.2.0-a1 released

OK, I uploaded the 3.2 version of the files (not the downloaded merged files) and all is working fine, so the issue is with the download to .tar format storing the files as base64. As to if this is due to my rig or a common problem I do not know. ---- A separate issue if someone else gets this is th...
by Frank Rizzo
Mon Nov 30, 2015 9:40 pm
Forum: [3.x] Discussion
Topic: phpBB 3.2.0-a1 released
Replies: 118
Views: 155373

Re: phpBB 3.2.0-a1 released

Ok, confirmed this base64 problem is due to the download of modified files. I used the From 3.1.5 - > Automatic Update Package from 3.1.5 - zip from here: https://area51.phpbb.com/downloads/ Running the update process states that faq.php, index.php ... are modified and do not represent the original ...
by Frank Rizzo
Mon Nov 30, 2015 8:31 pm
Forum: [3.x] Discussion
Topic: phpBB 3.2.0-a1 released
Replies: 118
Views: 155373

Re: phpBB 3.2.0-a1 released

Yep it's defintely the phpBB files. I just tried viewing files in the root of the forum and I think I found the problem. Some of the files such as: faq.php index.php mcp.php are all base64 encoded. I don't know if my sftp client converted it, or the update process did. Will start again and try and f...