- Posts: 28
- Thank you received: 0
Kunena 6.3.8 Released
The Kunena team has announce the arrival of Kunena 6.3.8 [K 6.3.8] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x/5.2.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 protected category shows 500 error
Access Control Type:User Groups
Set primary user group to Registered
When a registered user is given an URL to the new forum and goes to the site and is not logged in they get a 500 error
These are the urls i am using to track users in my next campaign that receive the 500 error
This is the only restricted forum category I have.
Kunena debug does not show anything when turned on
All these URLs return this 500 error I pasted in private tab
- Forums
- an out-of-date bookmark/favourite
- a search engine that has an out-of-date listing for this site
- a mistyped address
- you have no access to this page
- The requested resource was not found.
- An error has occurred while processing your request.
I assume the 500 error is triggered because of the number 4 reason "you have no access to this page"
However when you are logged in there is no error and you correctly can see and use the forum
Expected behaviour: non logged user is shown the login form with message to login
Actual behaviour: non logged user is shown the 500 error which is unexpected behaviour
I placed sign in info in private message tab
Please review and thank you for your time?
Please Log in or Create an account to join the conversation.
- Posts: 629
- Thank you received: 98
Please Log in or Create an account to join the conversation.
This is the path to the error file you provided
/public_html/components/com_kunena/template/aurelia/layouts/widget/error/default.php
This is just the error page it does not show errors
Why do you think this file has an error or indicates error?
This file and the error message it shows does not appear to be correct.
There is no 500 error the message shouldnt show up?
It only happens if I change permissions in Kunena to a forum category to be for registered users
After I log in the category shows fine.
Is there error logs for kunena ?
This kunena error shows in my sites error log
[Mon Apr 22 07:54:03.709302 2024] [security2:error] [pid 25901:tid 22618004457216] [client 99.241.160.21:64755] [client 99.241.160.21] ModSecurity: Warning. Match of "rx ^$" against "FILES_TMPNAMES:install_package" required. [file "/etc/apache2/conf.d/modsec_vendor_configs/imunify360-full-apache/014_i360_filescan.conf"] [line "43"] [id "77317957"] [msg "IM360 WAF: Track file upload||MV:/tmp/20240422-075402-ZiZ6Cuv4cvURPJokldKwGwAAAFU-file-3UhsuD||Size:0||User:asbnca||SC:/home/asbnca/staging.asbn.ca/administrator/index.php||WPU:||T:APACHE||"] [severity "NOTICE"] [tag "service_im360"] [tag "noshow"] [hostname " www.staging.asbn.ca "] [uri "/administrator/index.php"] [unique_id "ZiZ6Cuv4cvURPJokldKwGwAAAFU"], referer: www.staging.asbn.ca/administrator/index....mplate&layout=addnew Latest suEXEC event log messages:No recent suEXEC events exist for your domain: asbn.ca
Thank you for taking a look .would you mind answering these questions?
Where did you find that did you turn on system debug or Kunena debug
You think this file has an error in it or the file itself layouts/widget/error/default.php does not belong?
Is this a Kunena error if it is perhaps an upgrade or reinstall of kunena might work?
Thank you
Please Log in or Create an account to join the conversation.
- Posts: 629
- Thank you received: 98
Please Log in or Create an account to join the conversation.
This setting under security tab title "Registered Users Only" Set to Yes to limit all forum access to registered users (view and post).
Set to No to allow any Guest (non registered visitor) to at least see the forum. See 'Allow Guests to post/write' for additional Guest access control.
If I set to "no" then there is no 500 error for logged in or out going to forum both receive correct login message
If logged out go to protected category directly from link they get correct message without 500 error message.
If logged in go to protected category directly from link they get access to protected category correctly without 500 error message.
This is now working as expected
The problem remaining is that if If logged out go to forum or any category, whether the category is protected or not, they get the following
Please Log In
Only community members can participate in this forum. You must register or log in to contribute.
I want the main forum home page to be viewable by logged out showing to the public logged out viewers all the categories
and showing any category I set and want to be viewed by logged out
In other words I want Kunena to work correctly and show the categories I want to show to logged out and not shoow categories I have protected and do not want to show to logged out with the correct message to log in to view.
If I set this to "yes" then the 500 error incorrectly shows to logged out visitors.
Please advise on how to correct this?
Dont know if this is related but I also get this system error message now?
Please check your Joomla menus: Default Menu Item in Entry Page is not pointing to Kunena.
here is my configuration report
Please read my edited reply above as well?
Database collation check: gic_guru_kunena_courseslinkage have wrong collation of type utf8_general_ci on field coursename gic_guru_kunena_lessonslinkage have wrong collation of type utf8_general_ci on field lessonname
Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |
This message contains confidential informationhtaccess: Exists | PHP environment: Max execution time: 300 seconds | Max execution memory: 768M | Max file upload:
Kunena menu details:
Warning: Spoiler!
ID Name Menutype Link Path In trash 2072 Forums office-index view=home&defaultmenu=296 forums No 3591 FAQ Supplier Directory mainmenu view=category&catid=29 bc-s-b2b-directory/faq-b2b-directory No 3592 Supplier Directory FAQ mainmenu view=category&catid=28 bc-s-b2b-directory/for-suppliers/b2b-directory-faq No 2066 Forums tool-room-index view=home&defaultmenu=296 tool-forums No 2058 Forums tech-centre-index view=home&defaultmenu=296 resources No 4349 Forum kunenamenu view=home&defaultmenu=4351 forum No 4350 Index kunenamenu view=category&layout=list forum/index No 4351 Recent Topics kunenamenu view=topics&mode=replies forum/recent No 4352 Unread kunenamenu view=topics&layout=unread forum/unread No 4353 New Topic kunenamenu view=topic&layout=create forum/newtopic No 4354 No Replies kunenamenu view=topics&mode=noreplies forum/noreplies No 4355 My Topics kunenamenu view=topics&layout=user&mode=default forum/mylatest No 4356 Profile kunenamenu view=user forum/profile No 4357 Help kunenamenu view=misc forum/help No 4358 Search kunenamenu view=search forum/search No 4359 Forum mainmenu Itemid=4349 kunena-2022-12-27 Yes 4841 bad hidden view=category&catid=30 bad No
Joomla default template details : t4_blank | author: JoomlArt | version: 1.1.4 | creationdate: January 14, 2022
Kunena default template details : Aurelia | author: Kunena Team | version: 6.2.0 | creationdate: 2023-10-17
Kunena template params:
Warning: Spoiler!
DefaultCategoryicon profileIconset default DefaultIconset default editorIconset default bootstrap 1 borderless 1 tooltips 1 SubjectLengthMessage 80 fullactions 1 quick 0 displayMenu 1 displayDropdownMenu 1 displayDropdownContent 1 displayModule 1 displayBreadcrumb 1 displayAnnouncement 1 displayFooter 1 avatarPosition left formRecover 0 labels 0 whoisonlineName default avatarType rounded topicicontype svg fontawesome 0 socialshare 0 socialsharetag socialtheme classic optional_username 0 writeaccess 0 localstorage 0 moduleIdWebauthn 0 IconColor inherit IconColorNew #48a348 editorType ckeditor Bold 1 Italic 1 Underline 1 Strike 1 Subscript 1 Superscript 1 RemoveFormat 1 BulletedList 1 NumberedList 1 Blockquote 1 JustifyLeft 1 JustifyCenter 1 JustifyRight 1 JustifyBlock 1 Link_Unlink 1 Image 1 Smiley 1 Confidential 1 Hidetext 1 Spoiler 1 Code 1 Ebay 1 1 1 Soundcloud 1 FontSize 1 TextColor 1 Maximize 1 Map 1 Video 1 editorButtons nameskinckeditor ckeditorcustomprefixconfigfile 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 6.2.0 | 2023-10-17 [ Git Repository ]
| Kunena detailed configuration:| Kunena integration settings:Warning: Spoiler!
Kunena config settings: boardOffline 0 enableRss 1 threadsPerPage 20 messagesPerPage 6 messagesPerPageSearch 15 showHistory 1 historyLimit 6 showNew 1 disableEmoticons 0 template aurelia showAnnouncement 1 avatarOnCategory 1 showChildCatIcon 1 rteWidth 450 rteHeight 300 enableForumJump 1 reportMsg 1 username 1 askEmail 0 showEmail 0 showUserStats 1 showKarma 1 userEdit 1 userEditTime 0 userEditTimeGrace 600 editMarkup 1 allowSubscriptions 1 subscriptionsChecked 1 allowFavorites 1 maxSig 300 regOnly 0 pubWrite 0 floodProtection 0 mailModerators 0 mailAdministrators 0 captcha -1 mailFull 1 allowAvatarUpload 1 allowAvatarGallery 1 avatarQuality 75 avatarSize 2048 imageHeight 800 imageWidth 800 imageSize 8000 fileTypes txt,rtf,pdf,zip,tar.gz,tgz,tar.bz2 fileSize 120 showRanking 1 rankImages 1 userlistRows 30 userlistOnline 1 userlistAvatar 1 userlistPosts 1 userlistKarma 1 userlistEmail 0 userlistJoinDate 1 userlistLastVisitDate 1 userlistUserHits 1 latestCategory 0 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 rssType topic rssTimeLimit 1 month rssLimit 100 rssIncludedCategories rssExcludedCategories rssSpecification rss2.0 rssAllowHtml 1 rssAuthorFormat name rssAuthorInTitle 1 rssWordCount 0 rssOldTitles 1 rssCache 900 defaultPage recent defaultSort desc sef 1 showImgForGuest 1 showFileForGuest 1 pollNbOptions 4 pollAllowVoteOne 1 pollEnabled 1 popPollsCount 5 showPopPollStats 1 pollTimeBtVotes 00:15:00 pollNbVotesByUser 100 pollResultsUserslist 1 allowUserEditPoll 0 maxPersonalText 50 orderingSystem mesid postDateFormat ago postDateFormatHover datetime hideIp 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 userDeleteMessage 0 latestCategoryIn 1 topicIcons 1 debug 0 catsAutoSubscribed 0 showBannedReason 0 showThankYou 1 showPopThankYouStats 1 popThanksCount 5 modSeeDeleted 0 bbcodeImgSecure text listCatShowModerators 1 lightbox 1 showListTime 8760 showSessionType 2 showSessionStartTime 1800 userlistAllowed 1 userlistCountUsers 1 enableThreadedLayouts 0 categorySubscriptions post topicSubscriptions every pubProfile 1 thankYouMax 10 emailRecipientCount 0 emailRecipientPrivacy bcc captchaPostLimit 0 imageUpload registered fileUpload registered topicLayout flat timeToCreatePage 1 showImgFilesManageProfile 1 holdNewUsersPosts 0 holdGuestPosts 0 attachmentLimit 8 pickupCategory 0 articleDisplay intro sendEmails 1 fallbackEnglish 1 cache 1 cacheTime 60 ipTracking 1 rssFeedBurnerUrl autoLink 1 accessComponent 1 statsLinkAllowed 1 superAdminUserlist 0 attachmentProtection 0 categoryIcons 1 avatarCrop 0 userReport 1 searchTime 365 teaser 1 ebayLanguage 0 ebayCertId allowChangeSubject 1 maxLinks 6 readOnly 0 ratingEnabled 0 urlSubjectTopic 0 logModeration 0 attachStart 0 attachEnd 14 attachmentUtf8 1 autoEmbedSoundcloud 1 emailHeader media/kunena/email/hero-wide.png userStatus 1 signature 1 personal 1 social 1 plainEmail 1 moderatorPermDelete 0 avatarTypes gif,jpeg,jpg,png smartLinking 0 defaultAvatar nophoto.png defaultAvatarSmall s_nophoto.png quickReply 1 avatarEdit 0 activeMenuItem mainMenuId homeId indexId moderatorsId topicListId miscId profileId searchId custom_id avatarType 1 sefRedirect 1 allowEditPoll 1 useSystemEmails 1 autoEmbedInstagram 1 disableRe 0 email_sender_name display_filename_attachment 0 new_users_prevent_post_url_images 0 minimal_user_posts_add_url_image 10 utmSource 0 emailHeaderSizeY 560 emailHeaderSizeX 560 moderator_id profiler 0 pickup_category 0 privateMessage 1 datePickerFormat mm/dd/yyyy sendMailUserBanned 0 mailBodyUserBanned board_title Industry Forums board_offline 0 offline_message The Forum is currently offline for maintenance.
Check back soon!enablerss 1 threads_per_page 20 messages_per_page 6 messages_per_page_search 15 showhistory 1 historylimit 6 shownew 1 disemoticons 0 showannouncement 1 avataroncat 0 catimagepath category_images showchildcaticon 1 rtewidth 450 rteheight 300 enableforumjump 1 reportmsg 1 askemail 0 showemail 0 showuserstats 1 showkarma 1 useredit 1 useredittime 0 useredittimegrace 600 editmarkup 1 allowsubscriptions 1 subscriptionschecked 1 allowfavorites 1 maxsubject 50 maxsig 300 regonly 0 pubwrite 0 floodprotection 30 mailmod -1 mailadmin 1 mailfull 1 allowavatarupload 1 allowavatargallery 1 avatarquality 75 avatarsize 2048 imageheight 800 imagewidth 800 imagesize 150 filetypes txt,rtf,pdf,zip,tar.gz,tgz,tar.bz2 filesize 120 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 0 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 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 datetime 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 1 catsautosubscribed 0 showbannedreason 0 showthankyou 1 showpopthankyoustats 1 popthankscount 5 mod_see_deleted 0 bbcode_img_secure text listcat_show_moderators 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 0 thankyou_max 10 email_recipient_count 0 email_recipient_privacy bcc email_visible_address [email protected] captcha_post_limit 0 image_upload registered file_upload registered topic_layout flat time_to_create_page 1 show_imgfiles_manage_profile 1 hold_newusers_posts 0 hold_guest_posts 0 attachment_limit 8 article_display intro send_emails 1 fallback_english 1 cache_time 60 ebay_affiliate_id 5337089937 iptracking 0 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 ebay_language 0 ebay_api_key ebay_cert_id twitter_consumer_key twitter_consumer_secret allow_change_subject 1 max_links 6 read_only 0 ratingenabled 0 url_subject_topic 1 log_moderation 0 attach_start 0 attach_end 14 google_map_api_key attachment_utf8 1 autoembedsoundcloud 1 emailheader media/kunena/email/hero-wide.png user_status 1 plain_email 0 moderator_permdelete 0 avatartypes gif, jpeg, jpg, png smartlinking 0 defaultavatar nophoto.png defaultavatarsmall s_nophoto.png stopforumspam_key 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 1 autoembedinstagram 1 disable_re 0 | Joomla! detailed language files installed:Warning: Spoiler!Kunena - Finder Disabled
Kunena - AltaUserPoints Disabled
Kunena - Community Builder Enabled: access=1 login=1 activity=1 avatar=1 profile=1 private=1
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: CommunityBuilder 2.8.2
Third-party SEF components: None
Plugins: Content - Kunena Discuss 6.0.2-DEV
Modules: Kunena Latest 6.0.2 | Kunena Search 5.2.2
Please Log in or Create an account to join the conversation.
If you have a restricted area, make sure that no menu item or link leading to it is visible to users who are not logged in. These menu items should only be visible to registered users.
For guests, you can then create your own menu items leading to the registration form, which will disappear once they are logged in.
As for your menu errors, please read this: As for your menu errors, please read this: Menu Issues
Important! Always create a backup before you make any changes to your website!
Please Log in or Create an account to join the conversation.
- Posts: 629
- Thank you received: 98
Please Log in or Create an account to join the conversation.
Please clarify, what should be the case?
"Check \components\com_kunena\template\aurelia\layouts\widget\error\default.php,...."
I went to that URL with my domain in front of it and that page is blank it shows no error
I also opened the file itself default.php and it looks fine to me
So I am not sure what you want me to do or where to replicate the error you found?
I also noted the permissions on that file default.php are 0644 is that correct?
" it shows a not found error." I dont see this or know how to find it?
Title is correct 401: Unauthorized, but content is not.
I dont see this or know how to find it?
Please elaborate for me?
Thank you for your help
Please Log in or Create an account to join the conversation.
- Posts: 629
- Thank you received: 98
Please Log in or Create an account to join the conversation.
What is the fix or replacement Pinkeltje?
Please Log in or Create an account to join the conversation.