Page 1 of 1

A problem after upgrading to php 7.2

Posted: Thu Sep 05, 2019 3:42 am
by fredbucket
A phpBB Board I administer has recently upgraded to php 7.2. As a result, this bit of code doesnt work anymore - it just gives a blank screen.

Can somebody please suggest what may be wrong. As may be gathered, my skills is this regard are demonstrably non-existent :-)

________________________________________________________________________________
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Opus Transcribisticum</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="85,*" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="searchFrame.php" name="topFrame" scrolling="NO" noresize >
<frame src="searchResultFrame.php?list=komponist" name="resultFrame">
</frameset>
<noframes><body>

</body></noframes>
</html>
________________________________________________________________________________

Thanks for any help.

Regards
Fred

Re: A problem after upgrading to php 7.2

Posted: Thu Sep 05, 2019 8:55 am
by JimA
Hi, welcome to phpBB.com! :)

Could you provide a link to your board and the page where you put this?

This isn't a PHP page, rather just HTML that's embedding another PHP page, so isn't too helpful and I also don't see the connection with phpBB at this point. Are you sure it's related to the board?

Re: A problem after upgrading to php 7.2

Posted: Thu Sep 05, 2019 9:19 am
by 3Di
The issue is the scripts give 500s, hence blank pages. @see: http://prntscr.com/p23pax
http://www.pianophilia.com/ot/

The forum seems to be this one: http://www.pianophilia.com/phpBB3/index.php

http://www.pianophilia.com/phpBB3/viewt ... ?f=32&t=40 (the OP)

Re: A problem after upgrading to php 7.2

Posted: Thu Sep 05, 2019 10:45 am
by warmweer
I'm not sure whether phpbb 3.2.3 is compatible with php 7.2.
The problem could perhaps be solved in upgrading to 3.2.7.

Re: A problem after upgrading to php 7.2

Posted: Thu Sep 05, 2019 9:59 pm
by fredbucket
JimA wrote:
Thu Sep 05, 2019 8:55 am
Hi, welcome to phpBB.com! :)

Could you provide a link to your board and the page where you put this?

This isn't a PHP page, rather just HTML that's embedding another PHP page, so isn't too helpful and I also don't see the connection with phpBB at this point. Are you sure it's related to the board?
In the sense that it is part of a phpBB board, yes it is :-)

Regards
Fred

Re: A problem after upgrading to php 7.2

Posted: Fri Sep 06, 2019 12:53 am
by 3Di
phpBB 3.2.3 is not fully compatible with PHP 7.2.

Moreover, your 2 files (searchFrame.php and searchResultFrame.php) give 500 Internal server error.

I suspect those 2 files are not compatible with PHP 7.2 as well.

You can try to downgrade to PHP 7.1 and have a look at your error log server side.

Re: A problem after upgrading to php 7.2

Posted: Fri Sep 06, 2019 1:09 am
by Heo32
3Di wrote:
Fri Sep 06, 2019 12:53 am
phpBB 3.2.3 is not fully compatible with PHP 7.2.
Wrong.

Re: A problem after upgrading to php 7.2

Posted: Fri Sep 06, 2019 1:33 am
by 3Di
Heo32 wrote:
Fri Sep 06, 2019 1:09 am
3Di wrote:
Fri Sep 06, 2019 12:53 am
phpBB 3.2.3 is not fully compatible with PHP 7.2.
Wrong.
Nope, is right. I said NOT FULLY.

Example of a fix for 3.2.6-rc1 here: https://tracker.phpbb.com/browse/PHPBB3-15904

Example of a fix for 3.2.4-rc1 here: https://tracker.phpbb.com/browse/PHPBB3-15612

You can lurk at the search page to find the others: https://www.phpbb.com/search/?q=3.2.3+PHP+7.2