Kunena 7.0.3 Released

The Kunena team has announce the arrival of Kunena 7.0.3 [K 7.0.3] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question No Avatar upload in user profile since K 5.1

More
7 years 5 months ago - 7 years 5 months ago #204910 by uz-online
Hi,
When a user will change the default profile image (Avatar) to a new image, the user is clicking Edit profile.
Then go to Avatar-image. Then the user will upload a new image with the correct size and file format. The image is shown at the desktop but in the console there is an error message "POST check.mydomain.de/profil/index.php?option=com_kunena .... &task=upload&format=json 404 (Not found)" (Screenshot).

After click at Save. The message that the profile is saved will apear. But when you go back to the profil/avatar page. There is nothing changed (No Upload, No Avatar).

I've testet on Version K 5.0.13 and every thing is working fine. But with backup from K 5.1 until now K 5.5 there is an upload no more possible.

I am using sh404sef and if I disable sh404sef it works! What can I do?
Last edit: 7 years 5 months ago by uz-online.

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #204936 by rich

Important! Always create a backup before you make any changes to your website!

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #204948 by uz-online
My .htaccess is OK.

I've testet with two different Templates and on my Server. I can see this request:

Template purity_III
Code:
[06/Nov/2018:10:39:15 +0100] "POST /profil/task-loadavatar.html?5bff424817654f8afc44afc6abb09493=1&format=json HTTP/1.1" 200 87 "https://www.kabe-freunde.de/profil/edit/219-gast.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36" "www.kabe-freunde.de" [06/Nov/2018:10:39:25 +0100] "POST /profil/edit/index.php?option=com_kunena&view=user&task=upload&format=json HTTP/1.1" [b]500[/b] 534 "https://www.kabe-freunde.de/profil/edit/219-gast.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36" "www.kabe-freunde.de"
Template helix_ii
Code:
[06/Nov/2018:10:48:09 +0100] "POST /profil/task-loadavatar.html?5bff424817654f8afc44afc6abb09493=1&format=json HTTP/1.1" 200 87 "https://www.kabe-freunde.de/profil/edit/219-gast.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36" "www.kabe-freunde.de" [06/Nov/2018:10:48:16 +0100] "POST /profil/edit/index.php?option=com_kunena&view=user&task=upload&format=json HTTP/1.1" [b]404[/b] 12793 "https://www.kabe-freunde.de/profil/edit/219-gast.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36" "www.kabe-freunde.de"

I am thinking there ist a problem with incorrect URL. Kunena is using a relative URL instead of a relative to site or absolute one .

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #204953 by rich

I am thinking there ist a problem with incorrect URL. Kunena is using a relative URL instead of a relative to site or absolute one .

You're right, but it's not the relative url, it adds a double slash to the path to "media" if you set in Crypsis "Load bootstrap css" and "Load Icomoon icons".
Can you please test something? Go to "/components/com_kunena/template/crypsis/template.php" line 87 - 93 and remove the slashes at the beginning before "media". Then empty the cache and test, whether it works.

Important! Always create a backup before you make any changes to your website!

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #204961 by uz-online
I've done.
1. Crypsis "Load bootstrap css" and "Load Icomoon icons".
2. remove the slashes at the beginning before "media".
But it is the same problem. No Avatar ist uploading and "POST /profil/edit/index.php?option=com_kunena&view=user&task=upload&format=json HTTP/1.1" is still logging 404 (Serverlogfile).

What do you think about to "use of RELATIVE URL instead of JRouted URLs, which is not OK"?

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #204994 by rich

What do you think about to "use of RELATIVE URL instead of JRouted URLs, which is not OK"?

I'm not sure, but know, that relative urls within the forum not always correct linking, when the Joomla installation is in a extra folder (not on root).

I've noticed on your page, that on the addresses it lacks the word "forum" such as:
webaddress/index
webaddress/recent and so on..
Are this addresses created by sh404sef?
If you open a topic it shows correct webaddress/forum/topicname

If you want upload a avatar the address is correct?
Should be .../forum/profile/edit/xxx-username.html (xxx is user id).

Important! Always create a backup before you make any changes to your website!

Please Log in or Create an account to join the conversation.

Time to create page: 0.240 seconds