XF 2.0 Server errors have been logged. You should review these.

Abraham54

Well-known member
For some time server errors have been logged on National Computer Forum, where I am admin.

The latest error:
Error: Maximum function nesting level of '256' reached, aborting! src/XF/Str/Formatter.php:162
Generated by: Unknown account Sep 28, 2018 at 6:03 PM

Request state

<pre class='xdebug-var-dump' dir='ltr'>
<small>/home/x/domains/nationaalcomputerforum.nl/public_html/src/XF/Debugger.php:28:</small>
<b>array</b> <i>(size=4)</i>
'url' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'/threads/logje-van-systeemfout.94091/'</font> <i>(length=37)</i>
'referrer' <font color='#888a85'>=&gt;</font> <small>boolean</small> <font color='#75507b'>false</font>
'_GET' <font color='#888a85'>=&gt;</font>
<b>array</b> <i>(size=0)</i>
<i><font color='#888a85'>empty</font></i>
'_POST' <font color='#888a85'>=&gt;</font>
<b>array</b> <i>(size=0)</i>
<i><font color='#888a85'>empty</font></i>
</pre>

My question: is this forum hacked or not?
 

Attachments

Last edited by a moderator:
Disabling Xdebug

Edit the php.ini file and search for xdebug. You should find a line that starts with zend_extension= and the path of the xdebug extension getting loaded. Comment that line out by prefixing with a semicolon (;):

;zend_extension="/usr/local/opt/php56-xdebug/xdebug.so"

Then restart your Apache server.
 
Create file phpinfo.php with these contents:

<?php phpinfo();

Navigate to that in the browser, it will tell you location of php.ini on your server.

You'll need root access to edit php.ini, so unless you have your own vps/server, you can't edit it.
 
Top Bottom