ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: kucing on November 28, 2013, 10:17:46 pm

Title: Cannot upload avatar
Post by: kucing on November 28, 2013, 10:17:46 pm
Another error found :) When I tried to upload an avatar it will fail and no description of error found. screenshot attached.
I can use url and gravatar as source though.

note: maybe it's only existed in converted forum.
Title: Re: Cannot upload avatar
Post by: TE on November 28, 2013, 10:58:45 pm
oh sh*t, can you please check the elkarte Error log? there should be an undefined index error or similar?
Title: Re: Cannot upload avatar
Post by: kucing on November 28, 2013, 11:24:11 pm
Quote from: TE – oh sh*t, can you please check the elkarte Error log? there should be an undefined index error or similar?

yes there are, screenshot attached.

EDIT:
 Ah.. it seems the problem caused by the path is wrong/not existed.
Title: Re: Cannot upload avatar
Post by: TE on November 29, 2013, 01:03:51 am
the issue is related to a non writeable attachments directory.. can you please change the attachments directory using CHMOD to 644 or 666 (if 644 doesn't work).

However, a proper error message would be nice, thus tracked..
Title: Re: Cannot upload avatar
Post by: TE on November 29, 2013, 12:16:42 pm
https://github.com/eurich/Elkarte/commit/91d3dde414fe05a97a6562e85143aa57fe49789e