Author |
Message |
nextgen Board Member

Joined: 17 Dec 2020
Posts: 19

|
Posted: Thu Dec 17, 2020 11:39 pm Post subject: New install progress |
|
|
I am installing 2.0.23 on my local using PHP 7x and want to keep track of the changes i make while installing it. I hope someone may find it useful.
root index.php threw a warning on line 423
was
Code: | if ( count($forum_moderators[$forum_id]) > 0 ) |
changed to
Code: | if ( $results && count($forum_moderators[$forum_id]) > 0 ) |
same issue as above on admin/index.php on line 479 _________________ Use the search button.. It really works.. |
|
Back to top |
|
 |
Jim_UK Board Member

Joined: 19 Nov 2008
            Posts: 629 Location: North West UK

|
Posted: Fri Dec 18, 2020 8:18 am Post subject: Re: New install progress |
|
|
I am sure that many will find it of use. The topic that rears it's head more than any other is related to "upgrades" of PHP to version 7.
Just to make it clear you are using mysqli are you and not mysql?
Jim _________________ The truth is out there.
Unfortunately they will not let you anywhere near it! |
|
Back to top |
|
 |
nextgen Board Member

Joined: 17 Dec 2020
Posts: 19

|
Posted: Fri Dec 18, 2020 11:53 am Post subject: Re: New install progress |
|
|
Yes, that is a must for sure friend. _________________ Use the search button.. It really works.. |
|
Back to top |
|
 |
Vendethiel Board Member

Joined: 26 Oct 2014
      Posts: 224

|
Posted: Fri Dec 18, 2020 2:35 pm Post subject: Re: New install progress |
|
|
Hi,
I've generally replaced instances of count() that produced such warnings with a count_safe() variants that accounted for null. _________________ Developer on EzArena, the ADR premod.
Developer on Icy Phoenix, the phpBB hybrid cms.
Developer on IntegraMOD, the full-featured premod.
Help me archive premods on github! (fixed for recent PHPs). |
|
Back to top |
|
 |
nextgen Board Member

Joined: 17 Dec 2020
Posts: 19

|
Posted: Fri Dec 18, 2020 5:14 pm Post subject: Re: New install progress |
|
|
So far the install, aside from the 2 edits i mentioned has been flawless and i forgot how fast phpbb2 moves. I am running it on php 7.2 with all errors reporting and so far it is smooth. So i am going to transfer to a live site and get working on the responsive theme i saw requested on the forum here. _________________ Use the search button.. It really works.. |
|
Back to top |
|
 |
nextgen Board Member

Joined: 17 Dec 2020
Posts: 19

|
Posted: Mon Dec 21, 2020 3:35 pm Post subject: Re: New install progress |
|
|
Vendethiel you were so right, i moved my files to a live server and a ton of errors (count errors) in the admin area. I am keepong track as to a list of what i replaced to solve all issues as i go along. _________________ Use the search button.. It really works.. |
|
Back to top |
|
 |
|