• 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

JamesBrown

Well-known member
#1
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
 

JamesBrown

Well-known member
#3
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.
 

Brogan

XenForo moderator
Staff member
#4
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.