Loading...
 
Architecture / Installation

Architecture / Installation


user avatars not working

posts: 8

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?

posts: 1

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


posts: 4

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).


posts: 8
Did anybody ever find the cause of this bug?

posts: 4656 Japan

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

posts: 8

Yes!
That fixes it!
Thanks!


posts: 1817 Catalan Countries

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+Build

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

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


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting