I have a fresh mediawiki 1.29.1 installation on godaddy server, PHP5.6. The process was fine. The only thing is that I cannot register new user or login. When I click login I get something like
Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /home/content/.../html/wiki/includes/specialpage/LoginSignupSpecialPage.php on line 473".
I checked the last several lines, it looks like "
$helper = new LoginHelper( $this->getContext() );
$helper->showReturnToPage( $type, $returnTo, $returnToQuery, $stickHTTPS );
}
/**
* Replace some globals to make sure the fact that the user has just been logged in is
* reflected in the current request.
* @param User $user
*/
protected function setSessionUserForCurrentRequest() {
global $wgUs
. I try to change PHP.ini file but nothing happened. What can I do then?