There is a small bug in phpBB 3.2.2 with PHP 7.2+ that's related IMO, here's the fix:
./config.php
in order to see errors like..
plan B: switch back to PHP 7.1.xx and wait for the next phpBB's release (3.2.3)[phpBB Debug] PHP Warning: in file includes/functions_messenger.php on line 506: count(): Parameter must be an array or an object that implements Countable.
Code: Select all
@define('PHPBB_INSTALLED', true);
@define('DEBUG', true);
@define('DEBUG_EXTRA', true);
Good point, I didn't include that confirmation. After not seeing the "DEBUG" and "DEBUG_EXTRA" change have any effect, I purged the board cache, but there still wasn't any effect in any of the three ways I was looking for. (phpBB error log messages, independent error log file, or debug page content.)
Thanks Lumpy and everyone thus far. So I edited the config.php to re-enabled DEBUG and DEBUG_EXTRA again, and flushed the cache from ACP, and CRTL-F5 refreshed my pages before trusting them, just for good measure.Lumpy Burgertushie wrote: ↑Wed Aug 22, 2018 9:34 pm debug info ( if any) will show up at the bottom of the page with the copyright info etc.
if there are no errors then none will be presented. however, it should show you the time for the page load and database queries etc.
Code: Select all
<div class="copyright">
Powered by <a href="https://www.phpbb.com/">phpBB</a>® Forum Software © phpBB Limited
<br />GZIP: Off </div>
<div id="darkenwrapper" class="darkenwrapper" data-ajax-error-title="AJAX error" data-ajax-error-text="Something went wrong when processing your request." data-ajax-error-text-abort="User aborted request." data-ajax-error-text-timeout="Your request timed out; please try again." data-ajax-error-text-parsererror="Something went wrong with the request and the server returned an invalid reply.">
<div id="darken" class="darken"> </div>
</div>
<div id="phpbb_alert" class="phpbb_alert" data-l-err="Error" data-l-timeout-processing-req="Request timed out.">
<a href="#" class="alert_close">
<i class="icon fa-times-circle fa-fw" aria-hidden="true"></i>
</a>
<h3 class="alert_title"> </h3><p class="alert_text"></p>
</div>
<div id="phpbb_confirm" class="phpbb_alert">
<a href="#" class="alert_close">
<i class="icon fa-times-circle fa-fw" aria-hidden="true"></i>
</a>
<div class="alert_text"></div>
</div>
Code: Select all
<div class="copyright">
Powered by <a href="https://www.phpbb.com/">phpBB</a>® Forum Software © phpBB Limited
<br />GZIP: Off </div>
<div id="darkenwrapper" class="darkenwrapper" data-ajax-error-title="AJAX error" data-ajax-error-text="Something went wrong when processing your request." data-ajax-error-text-abort="User aborted request." data-ajax-error-text-timeout="Your request timed out; please try again." data-ajax-error-text-parsererror="Something went wrong with the request and the server returned an invalid reply.">
<div id="darken" class="darken"> </div>
</div>
<div id="phpbb_alert" class="phpbb_alert" data-l-err="Error" data-l-timeout-processing-req="Request timed out.">
<a href="#" class="alert_close">
<i class="icon fa-times-circle fa-fw" aria-hidden="true"></i>
</a>
<h3 class="alert_title"> </h3><p class="alert_text"></p>
</div>
<div id="phpbb_confirm" class="phpbb_alert">
<a href="#" class="alert_close">
<i class="icon fa-times-circle fa-fw" aria-hidden="true"></i>
</a>
<div class="alert_text"></div>
</div>
That's a config.php file which belongs to phpBB 3.0, first of all.EA117 wrote: ↑Wed Aug 22, 2018 9:09 pmCode: Select all
@define('PHPBB_INSTALLED', true); @define('DEBUG', true); @define('DEBUG_EXTRA', true);
Code: Select all
<?php
// phpBB 3.2.x auto-generated configuration file
// Do not change anything in this file!
$dbhost = 'localhost';
$dbport = '';
$dbname = 'qi_322_dtst';
$dbuser = 'root';
$dbpasswd = '';
$table_prefix = 'phpbb_';
$dbms = 'phpbb\\db\\driver\\mysqli';
$acm_type = 'phpbb\\cache\\driver\\file';
$phpbb_adm_relative_path = 'adm/';
@define('PHPBB_INSTALLED', true);
@define('DEBUG', true);
@define('PHPBB_ENVIRONMENT', 'production');
@define('DEBUG_CONTAINER', true);
@define('PHPBB_DISPLAY_LOAD_TIME', true);
And report.3Di wrote: ↑Wed Aug 22, 2018 7:29 pmThere is a small bug in phpBB 3.2.2 with PHP 7.2+ that's related IMO, here's the fix:
https://github.com/phpbb/phpbb/commit/1 ... c2b8808064
Well THAT'S certainly interesting. I would have to conclude that although a "new" 3.2.2 installation might create such a config.php, it's not actually expected for an upgrade to modify the config.php in this manner?
Done. Set PHP version back to 7.2 (ACP shows "7.2.6"), applied the functions_messenger.php patch, cleared the cache, and repeated the same "private message notification" test that I've been performing all along. (Since that's the failure case I know I have, and was actually chasing.) Still no email generated for PM notification; only the on-board "Notification" at the top of the phpBB page is received.
Code: Select all
<div class="copyright">
Powered by <a href="https://www.phpbb.com/">phpBB</a>® Forum Software © phpBB Limited
<br />Style proflat © 2017 <a href="http://www.phpbb-fr.com/customise/db/author/mazeltof/">Mazeltof</a>
<br /><span title="SQL time: 0.001s / PHP time: 0.505s">Time: 0.506s</span> | <span title="Cached: 2">Queries: 31</span> | Peak Memory Usage: 14.3 MiB | GZIP: Off
</div>
<div class="socialinks">
<ul>
<li>
<a type="application/rss+xml" href="/app.php/feed">
<i class="icon fp-feed" title="Feed - EA 117 Gaming Community"></i>
</a>
</li>
</ul>
</div>
</div>
</div>
<div id="darkenwrapper" class="darkenwrapper" data-ajax-error-title="AJAX error" data-ajax-error-text="Something went wrong when processing your request." data-ajax-error-text-abort="User aborted request." data-ajax-error-text-timeout="Your request timed out; please try again." data-ajax-error-text-parsererror="Something went wrong with the request and the server returned an invalid reply.">
<div id="darken" class="darken"> </div>
</div>
<div id="phpbb_alert" class="phpbb_alert" data-l-err="Error" data-l-timeout-processing-req="Request timed out.">
<a href="#" class="alert_close">
<i class="icon fa-times-circle fa-fw" aria-hidden="true"></i>
</a>
<h3 class="alert_title"> </h3><p class="alert_text"></p>
</div>
<div id="phpbb_confirm" class="phpbb_alert">
<a href="#" class="alert_close">
<i class="icon fa-times-circle fa-fw" aria-hidden="true"></i>
</a>
<div class="alert_text"></div>
</div>
</div>
Exactly, it's a matter of discussion at the tracker though.. still.
Very well, that's easy.. undo the fix and redo the test.
As I said, i tried to tell you that the debugger is not a "statistics page" of sort, it throws out "verbosely" errors at runtime, if any.EA117 wrote: ↑Thu Aug 23, 2018 12:48 am I now see the additional output in the same place "GZip: Off" was showing before. But performing the "send a private message" test scenario with this debug enabled still doesn't show anything interesting or extra on the "your private message has been sent" page:
Code: Select all
//@define('PHPBB_DISPLAY_LOAD_TIME', true);
A view-source means nothing, you are only viewing the source.
Sure, of course. Understood, and no worries.
Indeed.
You should make an RFC at Area51 or post an idea.
Or find a host which doesn't have such restrictions as GoDaddy (as from older topics, there are a lot of issues of different kind with them)