<p>Check the log files in <code>craft/storage/runtime/logs</code> and search for <code>[error]</code> or <code>[warning]</code> to see the underlying error message.</p>

CC BY-SA 3.0
2014-09-13T13:41:28.950Z
Added the error message to the question, doesn't appear to be related?
Ryan Shrum
CC BY-SA 3.0
2014-09-13T13:48:45.503Z
I think those may be old errors. Is there a way to clear the logs so I can try the action again?
Ryan Shrum
CC BY-SA 3.0
2014-09-13T15:44:29.167Z
Yeah... just delete that logs folder and it will be re-created.
Brad Bell
CC BY-SA 3.0
2014-09-13T18:07:01.123Z
I've got 8,200 lines, and at each iteration, the warning/error is above.
Ryan Shrum
CC BY-SA 3.0
2014-09-14T03:23:41.820Z
Is there any [error] or [warning] *not* related to a 404? You're looking for something related to when you were uploading your profile image.
Brad Bell
CC BY-SA 3.0
2014-09-12T21:57:47.800Z
2014-09-12T21:57:47.800Z
Brad Bell
<p>I'm trying to change my profile avatar image, and I'm getting a "An unknown error occurred." No indication of what might have gone wrong. Permissions are correct on <code>/craft/storage/userphotos</code> and all the user directories inside. What am I doing wrong?</p>

<p>Error message in <code>/craft/storage/runtime/logs/craft.log</code>:</p>

<pre><code>2014/09/13 13:39:02 [warning] [application] 404 - 
2014/09/13 13:39:02 [error] [exception.Craft\HttpException.404] exception 'Craft\HttpException' in /abs/path/to/craft/app/controllers/TemplatesController.php:59
</code></pre>

CC BY-SA 3.0
2014-10-14T19:36:25.770Z
Hey Ryan, this sounds like a bug. Go ahead and contact support@buildwithcraft.com directly (if you haven't already), and we'll close this question. Seeing as how this question is a month old, you've probably already resolved it.
Lindsey D
<users>
"An unknown error occurred." when changing profile avatar image
# "An unknown error occurred." when changing profile avatar image

(Asked by: username_0 on 2014-09-12)

I'm trying to change my profile avatar image, and I'm getting a "An unknown error occurred." No indication of what might have gone wrong. Permissions are correct on /craft/storage/userphotos and all the user directories inside. What am I doing wrong?
Error message in /craft/storage/runtime/logs/craft.log:
2014/09/13 13:39:02 [warning] [application] 404 - 
2014/09/13 13:39:02 [error] [exception.Craft\HttpException.404] exception 'Craft\HttpException' in /abs/path/to/craft/app/controllers/TemplatesController.php:59

**Tags:** users
> **Comments:**
> **username_1**: Hey Ryan, this sounds like a bug. Go ahead and contact support@buildwithcraft.com directly (if you haven't already), and we'll close this question. Seeing as how this question is a month old, you've probably already resolved it.  

---

## 1 answers

### Answer by username_2 on 2014-09-12. Score: 2

Check the log files in `craft/storage/runtime/logs` and search for `[error]` or `[warning]` to see the underlying error message.

> **Comments:**
> **username_0**: Added the error message to the question, doesn't appear to be related?  
> **username_0**: I think those may be old errors. Is there a way to clear the logs so I can try the action again?  
> **username_2**: Yeah... just delete that logs folder and it will be re-created.  
> **username_0**: I've got 8,200 lines, and at each iteration, the warning/error is above.  
> **username_2**: Is there any [error] or [warning] *not* related to a 404? You're looking for something related to when you were uploading your profile image.  

---

