Closed hvorragend closed 11 years ago
Comment by @Guite in the original ticket:
in _templates/Avatar_useruploadform.htm replace
<input type="hidden" name="authid" value="{insert name="csrftoken" module="Avatar"}" />
by
<input type="hidden" name="csrftoken" value="{insert name='csrftoken'}" />
in lib/Avatar/Controller/User.php replace
if (!SecurityUtil::confirmAuthKey()) {
return LogUtil::registerAuthidError();
}
by
$this->checkCsrfToken();
This should do it :-)
Created by @Boddah here: https://github.com/zikula-modules/Avatar/issues/1
Hi,
Everytime i attempt to upload an avatar in My Account / Avatar Management I get the following error:
The avatar directory is writeable by the web server, I've tried changing the Avatar settings to not resize images, but to no avail. I've done some reading around and there seems to be some other people who have run into this error with other modules and it seems to relate to the Security settings, but I'm not having any luck whatsoever sorting it out.
Does anyone have any insight, or think they may be able to help solve this issue? Running Zikula 1.3.2.