1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Error on adding admin on install

Discussion in 'Installation, Upgrade, and Import Support' started by JamesBrown, Mar 25, 2016.

  1. JamesBrown

    JamesBrown Well-Known Member

    Install goes fine, but at the end when adding the admin I'm getting this error. Any ideas? Thanks.

    Parse error: syntax error, unexpected 'return' (T_RETURN) in /var/www/vhosts/mysite.com/httpdocs/community/library/XenForo/Model/User.php on line 2397
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Try downloading a new copy of the license files and uploading them again.
  3. JamesBrown

    JamesBrown Well-Known Member

    Thanks, I deleted all the files in the community directory. Fresh download and upload of all the xF files, and I get the same error when adding the administrator.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    If you submit a ticket with FTP or cPanel log in credentials, as well as the MySQL database and admin details you are using for the installation, I can take a look.

Share This Page