By david.bruehlmeier@sozialinfo.ch on Friday, 09 March 2018
Posted in Technical Issues
Replies 10
Likes 0
Views 589
Votes 0
Text Based Avatars will only generate one letter after January 20th. And the letter is unrelated to the username. So far this function has been available without any problems. I did not change the setting. What could be the cause of the problem?
Hey Martin,

I am really sorry for the delay of this reply as it is a weekend for us here. Wow, before anything else, I really love what you did with Vanilla! It looks really really pleasant to the eyes! Well done!

By the way, I am unsure if this could be the reason why it is not generating the correct avatar but it seems like the disk size on your hosting environment is full, http://take.ms/RbumQ . This could be the reason why it wasn't able to generate the profile picture correctly.
·
Saturday, 10 March 2018 15:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark
Thanks for the friendly feedback on the implementation of the Vanilla template.
Attached the details to the server. There should be enough memory available.

Unfortunately, Snetz.ch is no longer available. The browser displays the error HTTP 500 Error. Could it be that you have made a change that leads to this problem? What are you thinking about that?
For info: my staging site under snetz.ch/demopro works great.

Best regards
Martin


Server Information
Processor Information
Total processors: 2

Processor #1

Vendor
GenuineIntel

Name
Intel(R) Xeon(R) CPU E5-2630L v3 @ 1.80GHz

Speed
1799.998 MHz

Cache
20480 KB

Processor #2

Vendor
GenuineIntel

Name
Intel(R) Xeon(R) CPU E5-2630L v3 @ 1.80GHz

Speed
1799.998 MHz

Cache
20480 KB


Memory Information

Memory: 3902944k/5242880k available (5460k kernel code, 1049092k absent, 290844k reserved, 6959k data, 1316k init)


System Information

Linux server1.soziale-dienste.ch 2.6.32-642.4.2.el6.x86_64 #1 SMP Tue Aug 23 19:58:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux


Physical Disks

sd 2:0:0:0: [sda] 209715200 512-byte logical blocks: (107 GB/100 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 61 00 00 00
sd 2:0:0:0: [sda] Cache data unavailable
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Cache data unavailable
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Cache data unavailable
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg1 type 0


Current Memory Usage

total used free shared buffers cached
Mem: 4056508 1525808 2530700 516 147804 811340
-/+ buffers/cache: 566664 3489844
Swap: 10239996 0 10239996
Total: 14296504 1525808 12770696


Current Disk Usage

Filesystem Size Used Avail Use% Mounted on
/dev/sda2 88G 27G 57G 33% /
tmpfs 1.9G 4.0K 1.9G 1% /dev/shm
/dev/sda1 976M 90M 836M 10% /boot
/usr/tmpDSK 3.7G 72M 3.4G 3% /tmp
·
Sunday, 11 March 2018 00:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Martin,

It's still not working as I am hitting this error, http://take.ms/kgfHk . It's not related to the memory, it's related to the disk space. You can try to use FTP to modify the file /administrator/components/com_easysocial/includes/user/user.php , the file wouldn't save
·
Sunday, 11 March 2018 12:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark
>it's related to the disk space.
Current Disk Usage: see screenshot disk usage

I was able to upload an old user.php file via ftp upload (I imported it from the staging site demopro) without any problems. See scrrenshot user.php. This means. There is enough disk memory available. snetz.ch was online again, and I was able to log in, but I could not open individual profiles. Therefore I uninstalled the non-current version of the user.php file and uploaded the empty user.php file. Snetz.ch is therefore not available on the web.

Do you have the last version of the user.php file available? If so, you can submit this user.php to me so that I can upload the file via FTP.

Martin
·
Sunday, 11 March 2018 18:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

Please see attached for the user.php file
·
Monday, 12 March 2018 10:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you. I have saved the file via FTP. Snetz.ch is online again. The profile pages of the user can not be viewed. the profile pages are blank. What could be the reason for this?
·
Monday, 12 March 2018 14:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

Can you try to replace the attached file in ../administrator/components/com_easysocial/includes/template/helpers/cover.php and see how it goes.
·
Monday, 12 March 2018 15:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nik
Thank you. it looks like the website snetz.ch is working again. As a test I have created a new account. The text Avatar is displayed correctly with two letters. Unfortunately, the last 4 accounts are displayed with only one letter. How can I recreate these 4 text avatars? Resaving the affected profiles with a portrait photo and then deleting the photo will not produce the desired text avatars.
Best regards,
Martin
·
Tuesday, 13 March 2018 02:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

Hm, I suspect the issue is caused by the character in that name. I am able to replicate this locally by using the same name as your affected user: http://take.ms/WTDbm . If you notice, in the screenshot, the user without 'ä' have no issue with the text avatar. I will log this in our issue tracker and see what we can do about this.
·
Tuesday, 13 March 2018 10:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

I have checked the code that generate the initials in avatar. Previously there was an issue where the user's name is in other language such as: 이민호 , 海子 and จอห์น . The text avatar will fail in generating initial for these names. There is no way to properly fix this and as a workaround (until we find a proper way to fix), it will generate random character for those non-ascii text.
·
Tuesday, 13 March 2018 11:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post