TPerry
Well-known member
So they have stripped the below from the login.php file
One more thing to look for, in your moderation.php they have a deprecated statement.
I was getting this in my log constantly:
2013/03/31 11:23:09 [error] 12420#0: *19658 FastCGI sent in stderr: "PHP message: PHP Deprecated: Call-time pass-by-reference has been deprecated in ./include/moderation.php on line 52" while reading response header from upstream, client: 24.49.69.204, server: twowheeldemon.com, request: "POST /mobiquo/mobiquo.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "twowheeldemon.com"
Line 52:
Code:
if (!$threadModel->canEditThread($thread, $forum, &$errorPhraseKey, $permissions, $visitor->toArray()))
If I'm learning PHP correctly, shouldn't it be
PHP:
if (!$threadModel->canEditThread($thread, $forum, $errorPhraseKey, $permissions, $visitor->toArray()))
The ironic thing is, I posted a message on their support site and used the built in PHP code segment to put their code in... and it stripped the & from the &$errorPhraseKey. Looks like the built in editor does better code than whomever did that segment?
