- Posts: 18
- Thank you received: 1
Kunena 6.3.4 released
The Kunena team has announce the arrival of Kunena 6.3.4 [K 6.3.4] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.
Question Unable to change avatar in profile
I managed to monitor the call for a successful transfer (With Joomla SEO turned off). This is what I saw...
I then did the same with SEO turned on...
The actual error response here is a 400 which is Bad Request. This seems to point towards some kind of issue with the URL query data.
I went and double checked my server configuration and that is fine.The re-write directive is as per the Joomla recommendations. I've been using the same rule for a decade or more with no issues.
It is a very curious problem.
/DM
Please Log in or Create an account to join the conversation.
Important! Always create a backup before you make any changes to your website!
Please Log in or Create an account to join the conversation.
Completely deleting all menus and then reinstating the Kunena menu from Kunena tools does exactly the same.
Here's an updated configuration report...
Database collation check: ✔ The collation of your table fields are correct
Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |
This message contains confidential informationhtaccess: Missing | PHP environment: Max execution time: 30 seconds | Max execution memory: 128M | Max file upload: 16M
Kunena menu details:
Warning: Spoiler!
ID Name Menutype Link Path In trash 160 Forum mainmenu Itemid=150 kunena-2020-07-30 No 150 Forum kunenamenu view=home&defaultmenu=152 forum No 151 Index kunenamenu view=category&layout=list forum/index No 152 Recent Topics kunenamenu view=topics&mode=replies forum/recent No 153 Unread kunenamenu view=topics&layout=unread forum/unread No 154 New Topic kunenamenu view=topic&layout=create forum/newtopic No 155 No Replies kunenamenu view=topics&mode=noreplies forum/noreplies No 156 My Topics kunenamenu view=topics&layout=user&mode=default forum/mylatest No 157 Profile kunenamenu view=user forum/profile No 158 Help kunenamenu view=misc forum/help No 159 Search kunenamenu view=search forum/search No
Joomla default template details : protostar | author: Kyle Ledbetter | version: 1.0 | creationdate: 4/30/2012
Kunena default template details : Crypsis | author: Kunena Team | version: 5.1.18 | creationdate: 2020-06-30
Kunena template params:
Warning: Spoiler!
DefaultCategoryicon profileIconset default DefaultIconset default editorIconset default bootstrap 0 icomoon 1 tooltips 1 borderless 1 SubjectLengthMessage 80 fullactions 1 quick 0 displayMenu 1 displayDropdownMenu 1 displayDropdownContent 1 displayModule 1 displayBreadcrumb 1 displayAnnouncement 1 displayFooter 1 avatarPosition left avatarType img-circle labels 0 whoisonlineName default formRecover 0 topicicontype B2 fontawesome 0 socialshare 0 socialsharetag socialtheme classic optional_username 0 writeaccess 0 localstorage 0 IconColor inherit IconColorNew #48a348 editor 0 video 1 maps 1 emoticons 1 1 ebay 1 link 1 picture 1 hide 1 spoiler 1 table 1 code 1 quote 1 divider 1 1 soundcloud 1 confidential 1 hr 1 listitem 1 supscript 1 subscript 1 numericlist 1 bulletedlist 1 alignright 1 alignleft 1 center 1 underline 1 italic 1 bold 1 strikethrough 1 colors 1 size 1 wysibb avatarSizeX 40 avatarSizeY 90 avatarSizeXThumb 36 avatarSizeYThumb 36 avatarSizeXWelcome 72 avatarSizeYWelcome 72 avatarSizeXList 36 avatarSizeYList 36 avatarSizeXPost 144 avatarSizeYPost 144 avatarSizeXProfile 200 avatarSizeYProfile 200 templatebyText templatebyName templatebyLink
Kunena version detailed: Kunena 5.1.18 | 2020-06-30 [ Rhea ]
| Kunena detailed configuration:| Kunena integration settings:Warning: Spoiler!
Kunena config settings: board_offline 0 enablerss 0 threads_per_page 20 messages_per_page 6 messages_per_page_search 15 showhistory 1 historylimit 6 shownew 1 disemoticons 0 template crypsis showannouncement 1 avataroncat 0 catimagepath category_images showchildcaticon 1 rtewidth 450 rteheight 300 enableforumjump 0 reportmsg 1 username 1 askemail 0 showemail 0 showuserstats 0 showkarma 0 useredit 1 useredittime 0 useredittimegrace 600 editmarkup 1 allowsubscriptions 1 subscriptionschecked 1 allowfavorites 1 maxsubject 50 maxsig 300 regonly 0 pubwrite 0 floodprotection 0 mailmod 0 mailadmin 0 captcha 0 mailfull 1 allowavatarupload 1 allowavatargallery 0 avatarquality 75 avatarsize 2048 imageheight 800 imagewidth 800 imagesize 150 filetypes txt,rtf,pdf,zip,tar.gz,tgz,tar.bz2 filesize 1024 showranking 1 rankimages 1 userlist_rows 30 userlist_online 1 userlist_avatar 1 userlist_posts 1 userlist_karma 1 userlist_email 0 userlist_joindate 1 userlist_lastvisitdate 1 userlist_userhits 1 latestcategory showstats 1 showwhoisonline 1 showgenstats 1 showpopuserstats 1 popusercount 5 showpopsubjectstats 1 popsubjectcount 5 showspoilertag 1 showvideotag 1 showebaytag 1 trimlongurls 1 trimlongurlsfront 40 trimlongurlsback 20 autoembedyoutube 1 autoembedebay 1 ebaylanguagecode en-us sessiontimeout 1800 highlightcode 0 rss_type topic rss_timelimit month rss_limit 100 rss_included_categories rss_excluded_categories rss_specification rss2.0 rss_allow_html 1 rss_author_format name rss_author_in_title 1 rss_word_count 0 rss_old_titles 1 rss_cache 900 defaultpage recent default_sort asc sef 1 showimgforguest 1 showfileforguest 1 pollnboptions 4 pollallowvoteone 1 pollenabled 1 poppollscount 5 showpoppollstats 1 polltimebtvotes 00:15:00 pollnbvotesbyuser 100 pollresultsuserslist 1 allow_user_edit_poll 0 maxpersotext 50 ordering_system mesid post_dateformat ago post_dateformat_hover datetime hide_ip 1 imagetypes jpg,jpeg,gif,png checkmimetypes 1 imagemimetypes image/jpeg,image/jpg,image/gif,image/png imagequality 50 thumbheight 32 thumbwidth 32 hideuserprofileinfo put_empty boxghostmessage 0 userdeletetmessage 0 latestcategory_in 1 topicicons 0 debug 0 catsautosubscribed 0 showbannedreason 0 showthankyou 0 showpopthankyoustats 1 popthankscount 5 mod_see_deleted 0 bbcode_img_secure text listcat_show_moderators 1 lightbox 1 show_list_time 720 show_session_type 2 show_session_starttime 1800 userlist_allowed 1 userlist_count_users 1 enable_threaded_layouts 0 category_subscriptions post topic_subscriptions every pubprofile 1 thankyou_max 10 email_recipient_count 0 email_recipient_privacy bcc captcha_post_limit 0 image_upload registered file_upload registered topic_layout flat time_to_create_page 0 show_imgfiles_manage_profile 1 hold_newusers_posts 0 hold_guest_posts 0 attachment_limit 8 pickup_category 0 article_display intro send_emails 1 fallback_english 1 cache 0 cache_time 60 iptracking 1 rss_feedburner_url autolink 1 access_component 1 statslink_allowed 1 superadmin_userlist 0 legacy_urls 1 attachment_protection 0 categoryicons 1 avatarresizemethod 1 avatarcrop 0 user_report 1 searchtime 365 teaser 0 ebay_language 0 allow_change_subject 0 max_links 6 read_only 0 ratingenabled 0 url_subject_topic 0 log_moderation 0 attach_start 0 attach_end 14 attachment_utf8 1 autoembedsoundcloud 1 emailheader /images/DIYFB_banner.jpg user_status 1 signature 1 personal 1 social 1 plain_email 0 moderator_permdelete 0 avatartypes gif,jpeg,jpg,png smartlinking 0 defaultavatar nophoto.png defaultavatarsmall s_nophoto.png quickreply 1 avataredit 0 activemenuitem mainmenu_id home_id index_id moderators_id topiclist_id misc_id profile_id search_id avatar_type 1 sef_redirect 1 allow_edit_poll 1 use_system_emails 0 autoembedinstagram 1 disable_re 0 | Joomla! detailed language files installed:Warning: Spoiler!Kunena - Finder Disabled
Kunena - AltaUserPoints Disabled
Kunena - Community Builder Disabled
Kunena - Easyblog Disabled
Kunena - Easyprofile Disabled
Kunena - Easysocial Disabled
Kunena - Gravatar Disabled
Kunena - JomSocial Disabled
Kunena - Joomla Enabled: access=1 login=1
Kunena - Kunena Enabled: avatar=1 profile=1
Kunena - UddeIM Disabled
Warning: Spoiler!
Joomla! languages installed: en-GB English (United Kingdom)
Third-party components: None
Third-party SEF components: None
Plugins: None
Modules: None
Please Log in or Create an account to join the conversation.
The text beneath the image that would normally show the file name in blue after a successful upload, shows nothing. However, whilst no text is displayed, the span tags that act as the texts placeholder are. What I've noticed is that these have the class "text-danger" indicating that the upload is failing, it is recognising that it is failing, however it looks as if there is possibly no response coded for a 400 error.
If I was able to find out what is happening with the Ajax calls between the page and server it might give more of an idea, however Javascript / Ajax is not my strong point. I'm at the limit of my knowledge there.
To recap...
- Avatar upload works fine when Joomla SEO is disabled (This would indicate it is likely not a permissions / ownership / filesize / memsize etc issue)
- Avatar upload fails with 400 error message "bad request" (This would indicate that URL is correct but query data is not)
- Error message is displayed on page but is is empty
[strike]To me it seems like an issue with the javascript that uploads the image (jquery.fileupload-min.js ?) but cannot understand why this issue is not more prevalent, which then leads me to think that it could be server related[/strike]
Tested in Safari. Upload works.
Tested in Chrome. Upload does not work
Appears to be an issue with Chrome.
Smells like the good ole days of IE5
Have no idea why Chrome is not working. Something for the devs to take a look into I guess.
This post may be related...
stackoverflow.com/questions/16017081/get...-in-jquery-ajax-post
Not sure if anyone else is able to reproduce? on Apache? on Nginx?
/DM
Please Log in or Create an account to join the conversation.
I'm sorry, but can't reproduce on Apache. I remember only on these users with this problem. www.kunena.org/forum/k5-1-support/154646...-profile-since-k-5-1Not sure if anyone else is able to reproduce? on Apache? on Nginx?
You have tested this fix without success. Unfortunately I had forgotten to say that the change only is visible, if you use the Kunena debug mode.
There are two files: The upload.avatar.js and upload.avatar-min.js. In normal operation of the webpage the upload.avatar-min.js is accessed, therefore you need the change in both files.
Can you test it with other browsers too (such as Firefox)?Tested in Safari. Upload works.
Tested in Chrome. Upload does not work
Important! Always create a backup before you make any changes to your website!
Please Log in or Create an account to join the conversation.
I went back and took another look at the solution offered in the linked post.
After some experimenting I found that using a relative path actually worked...
I know it's not the most elegant of solutions, but using an absolute path did not work.
Very bizarre.
[strike]I wonder if this mod translates well across browsers / server types?[/strike]
Just tested and the change fails for Safari. So I guess that some kind of browser detection is needed.
(What was it I was saying about IE5? :whistle: )
OK. Specifying the full URL appears to work on both Chrome and Safari...
That's obviously not going to port very well for other people with the same issue. So I replaced the domain with the relevant javascript...
This is working for me on both Chrome and Safari
Thanks for the help rich. Very much appreciated.
/DM
Please Log in or Create an account to join the conversation.
I'll assume that Opera works too. (does anyone still use Opera? )
Would be good to get this change verified on Apache and rolled into the main repo so it doesn't get killed on each update.
Thanks once again for your help rich.
/DM
Please Log in or Create an account to join the conversation.
Try by apllying this changes to see if it fix the issue : github.com/xillibit/Kunena-forum/commit/...cdcc3499a73219bf03c6
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
Yes I can confirm that this change is working on both Chrome and Safari.
Regards
/DM
Please Log in or Create an account to join the conversation.
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.