Facebook Integration - Server Error (Create New Account)

I feel like I am doing QA at work.

1. Go to http://forums.manadeprived.com
2. Choose to Login with Facebook
3. Once you have agreed to let the app access your Facebook...
4. You are brought back to the forum where you are then asked to create a new account for the forum itself.

After submitting, the following message:

"A server error occurred. Please try again later." is shown. However, the new user is actually created, although with no password being given, I cannot login with it.

Jake Bunce

XenForo moderator
Staff member
Is there a detailed error in the logs?

Admin CP -> Tools -> Server Error Log

Or enable debug mode by adding this line to the library/config.php file:

$config['debug'] = 1;
That will expose a more detailed error.
rename(D:\inetpub\vhost\manadeprived.com\subdomains\forums\httpdocs\internal_data\temp\xf2EDA.tmp,D:\inetpub\vhost\manadeprived.com\subdomains\forums\httpdocs/data/avatars/l/0/9.jpg) [<a href='function.rename'>function.rename</a>]: Permission denied
rename(D:\inetpub\vhost\manadeprived.com\subdomains\forums\httpdocs\internal_data\temp\xf2E92.tmp,D:\inetpub\vhost\manadeprived.com\subdomains\forums\httpdocs/data/avatars/l/0/8.jpg) [<a href='function.rename'>function.rename</a>]: Permission denied
rename(D:\inetpub\vhost\manadeprived.com\subdomains\forums\httpdocs\internal_data\temp\xf2E8F.tmp,D:\inetpub\vhost\manadeprived.com\subdomains\forums\httpdocs/data/avatars/l/0/7.jpg) [<a href='function.rename'>function.rename</a>]: Permission denied

All having to do with library\XenForo\Model\Avatar.php:333.
I am not sure what it is trying to do. I tried to look up D:\inetpub\vhost\manadeprived.com\subdomains\forums\httpdocs/data/avatars/l/0/9.jpg

Does not exist. Is it basically trying to rename xf2EDA.tmp to 9.jpg?


XenForo developer
Staff member
Ensure that the data directory and all sub-directories and files within can be written by the web server. Usually this means chmod 0777 or ensuring they're world-writable, though you're on Windows so the process can be a bit different. You probably need to ensure that the web server user has write permissions here ("full control" as well?).
I have set data and internal_data folders to 777. I have also made it so everything under it is set to 777.

However, I have not given them "full control".


XenForo developer
Staff member
Can you upload an avatar with your admin account? If not, then did you do a server move (or copy the files around)?