Loading...
 
Skip to main content

Architecture / Installation


user avatars not working

Hi, new to Tikiwiki here.
Fresh install.
MyTiki Home->MyInfo->Avatar can upload an image but it never displays.
in temp/public/avatar_username.jpg shows up but I get red X on upload,
and shows up as gray ramps where the avatar should elsewhere.
Same result whether Community->GeneralSettings->Store full-sized copy of avatar in file gallery is set or not. Also can't figure out which file gallery to reference if that option was checked.
Suggestions?

I have encounterd the same problem. Comparing the uploaded file against the original shows that bytes with a value > 7FH are replace by 3FH (which is a '?').

Is this some kind of upload restriction or incorrect setting?

Using TikiWiki 5.0, php5.3.2, firefox3.6.6


I'm having the same issue. The files are in their proper place on the server, but are corrupt. I'm trying to find the source of the issue right now. If I come across it, I'll let you guys know.

The "fix" I'm currently using is going into phpMyAdmin and manually adding them for people in the user_user table. HTH if you need it right now.

I'm going to go submit it as a bug (along with the second page of a forum thread disappearing).


Did anybody ever find the cause of this bug?

Hi davesieg, klaver and emimi (and Gary, of course 😊 ):

This issue might very well be related to the problem with encondings in the database introduced in Tiki5.0 under certain specific scenarios (yours might be one of them). As fas we now, most (if not all) problems with encodings are solved in Tiki 5.1, after the hardwork of some developers in TikiFestBarcelona2 some weeks ago.
Tiki 5.1 should be released very soon.

If you could test upgrading a copy of your site & db to Tiki 5.1 and see if it also fixes your problems with image uploads, it would be awesome.

You can download at any time a pre-release tarball from:
http://dev.tikiwiki.org/Daily+BuildQuestion

which will lead you to:
http://tikiwiki.org/tar/lastiki_BRANCH-5-x.zipQuestion

Hope this helps, and please report back with the results of your test.


I don't know if this is related, but there's a bug that affects image uploads in general in some installations of Tiki 5.0.

You could try commenting out (add two forward slash marks at the beginning of) the last line of the file db/local.php (which concerns character encoding), and see if this makes a difference.

-- Gary

Yes!
That fixes it!
Thanks!