phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

New install progress


 
Search this topic... | Search Just Getting Started... | Search Box
Register or Login to Post    Index » Just Getting Started  Previous TopicPrint TopicNext Topic
Author Message
nextgen
Board Member



Joined: 17 Dec 2020

Posts: 19


flag
PostPosted: 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


flag
PostPosted: 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


flag
PostPosted: 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



PostPosted: 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


flag
PostPosted: 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


flag
PostPosted: 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
Display posts from previous:   
Register or Login to Post    Index » Just Getting Started  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0243 seconds using 17 queries. (SQL 0.0023 Parse 0.0008 Other 0.0212)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo