Search Results (Searched for: rank)
Change
class KunenaUser
{
/**
* @var null
* @since Kunena 6.0
*/
protected static $_ranks = null;
to
#[\AllowDynamicProperties]
class KunenaUser
{
/**
* @var null
* @since Kunena 6.0
*/
protected static $_ranks = null;
so there ist one entry "holdNewUsersPosts":""
no more
In einer lokalen Testversion habe ich diesen Eintrag überprüft und bekomme die Meldung:Die Datei /srv/www/htdocs/BFB604/cache/com_kunena_configuration/da6ac0e935255ab885b41742806a2a84-cache-com_kunena_configuration-64b04f0955a3c77e422be2e28d265ecc.php ist geöffnet worden, enthält aber zu lange Zeilen (länger als die eingestellte Grenze von 4.096 Zeichen).
Die längste Zeile war 6.677 Zeichen lang.
Die langen Zeilen sind umgebrochen worden und das Dokument ist im Nur-Lesen-Modus, da ein Speichervorgang den Inhalt verändern würde.
Darunter ist der Eintrag
Das sieht doch ganz so aus, als wäre das ein Konfigurations Report in der Rohfassung. (E-Mail Adresse unkenntlich gemacht)<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:221:{s:8:"template";s:7:"aurelia";s:10:"boardTitle";s:23:"Beagle-Freunde-Butzbach";s:5:"email";s:31:"info@xxxxxxxxxxxxxxxxxxx";s:15:"emailSenderName";s:36:"webmaster@xxxxxxxxxxxxxx";s:10:"sendEmails";s:1:"1";s:12:"boardOffline";s:1:"0";s:14:"offlineMessage";s:95:"Das Forum ist für Wartungszwecke vorübergehend abgeschaltet
Bitte kommen Sie später wieder!";s:8:"readOnly";s:1:"0";s:14:"sessionTimeOut";s:4:"1800";s:9:"enableRss";s:1:"1";s:5:"debug";s:1:"0";s:8:"profiler";s:1:"0";s:15:"fallbackEnglish";s:1:"1";s:16:"timeToCreatePage";s:1:"1";s:3:"sef";s:1:"1";s:15:"accessComponent";s:1:"0";s:11:"sefRedirect";s:1:"1";s:5:"cache";s:1:"1";s:9:"cacheTime";s:2:"60";s:14:"threadsPerPage";s:2:"30";s:15:"messagesPerPage";s:1:"8";s:21:"messagesPerPageSearch";s:2:"15";s:11:"showHistory";s:1:"1";s:12:"historyLimit";s:2:"10";s:14:"postDateFormat";s:8:"datetime";s:19:"postDateFormatHover";s:8:"datetime";s:7:"showNew";s:1:"1";s:16:"showAnnouncement";s:1:"1";s:16:"avatarOnCategory";s:1:"1";s:21:"listCatShowModerators";s:1:"1";s:16:"showChildCatIcon";s:1:"1";s:15:"enableForumJump";s:1:"0";s:9:"reportMsg";s:1:"1";s:14:"orderingSystem";s:5:"mesid";s:6:"hideIp";s:1:"1";s:16:"latestCategoryIn";s:1:"1";s:14:"latestCategory";a:1:{i:0;s:1:"0";}s:10:"topicIcons";s:1:"1";s:8:"lightbox";s:1:"1";s:12:"showListTime";s:3:"720";s:11:"topicLayout";s:4:"flat";s:14:"pickupCategory";s:1:"0";s:14:"articleDisplay";s:5:"intro";s:11:"defaultSort";s:3:"asc";s:10:"searchTime";s:3:"all";s:18:"allowChangeSubject";s:1:"1";s:13:"ratingEnabled";s:1:"0";s:11:"attachStart";s:1:"0";s:9:"attachEnd";s:2:"20";s:10:"quickReply";s:1:"1";s:9:"disableRe";s:1:"0";s:25:"displayFilenameAttachment";s:1:"0";s:16:"datePickerFormat";s:10:"dd/mm/yyyy";s:8:"username";s:1:"1";s:8:"askEmail";s:1:"0";s:9:"showEmail";s:1:"0";s:13:"showUserStats";s:1:"1";s:9:"showKarma";s:1:"0";s:12:"showThankYou";s:1:"1";s:11:"thankYouMax";s:2:"10";s:8:"userEdit";s:1:"1";s:12:"userEditTime";s:4:"7200";s:17:"userEditTimeGrace";s:3:"600";s:10:"editMarkup";s:1:"1";s:14:"allowFavorites";s:1:"1";s:15:"boxGhostMessage";s:1:"0";s:16:"showBannedReason";s:1:"1";s:25:"showImgFilesManageProfile";s:1:"1";s:10:"userReport";s:1:"1";s:13:"logModeration";s:1:"0";s:10:"userStatus";s:1:"1";s:9:"signature";s:1:"1";s:6:"maxSig";s:3:"300";s:8:"personal";s:1:"1";s:14:"privateMessage";s:1:"0";s:11:"emailHeader";s:33:"/media/kunena/email/hero-wide.png";s:16:"emailHeaderSizeY";s:3:"560";s:16:"emailHeaderSizeX";s:3:"560";s:18:"allowSubscriptions";s:1:"1";s:8:"mailFull";s:1:"1";s:10:"plainEmail";s:1:"1";s:21:"categorySubscriptions";s:5:"topic";s:18:"topicSubscriptions";s:5:"first";s:20:"subscriptionsChecked";s:1:"0";s:19:"emailRecipientCount";s:1:"5";s:21:"emailRecipientPrivacy";s:3:"bcc";s:19:"emailVisibleAddress";s:31:"[email protected]";s:15:"useSystemEmails";s:1:"0";s:9:"utmSource";s:1:"0";s:18:"sendMailUserBanned";s:1:"0";s:18:"mailBodyUserBanned";s:0:"";s:20:"mailBodyUserUnBanned";s:0:"";s:8:"pubWrite";s:1:"0";s:14:"holdGuestPosts";s:1:"0";s:15:"userlistAllowed";s:1:"0";s:10:"pubProfile";s:1:"0";s:7:"regOnly";s:1:"0";s:17:"holdNewUsersPosts";s:1:"0";s:17:"userDeleteMessage";s:1:"0";s:13:"modSeeDeleted";s:1:"0";s:15:"floodProtection";s:1:"0";s:14:"mailModerators";s:2:"-1";s:18:"mailAdministrators";s:1:"0";s:10:"ipTracking";s:1:"1";s:16:"statsLinkAllowed";s:1:"0";s:8:"maxLinks";s:1:"6";s:6:"teaser";s:1:"0";s:15:"urlSubjectTopic";s:1:"1";s:19:"moderatorPermDelete";s:1:"0";s:28:"newUsersPreventPostUrlImages";s:1:"0";s:27:"minimalUserPostsAddUrlImage";s:2:"10";s:7:"captcha";s:1:"1";s:16:"captchaPostLimit";s:1:"2";s:16:"stopForumSpamKey";s:0:"";s:25:"stopForumSpamNewUserCheck";s:1:"0";s:10:"avatarType";s:1:"1";s:13:"defaultAvatar";s:11:"nophoto.png";s:18:"defaultAvatarSmall";s:13:"s_nophoto.png";s:11:"avatarTypes";s:16:"gif,jpeg,jpg,png";s:17:"allowAvatarUpload";s:1:"1";s:18:"allowAvatarGallery";s:1:"0";s:10:"avatarSize";s:3:"800";s:13:"avatarQuality";s:2:"75";s:10:"avatarCrop";s:1:"0";s:10:"avatarEdit";s:1:"0";s:15:"attachmentLimit";s:3:"100";s:20:"attachmentProtection";s:1:"0";s:14:"attachmentUtf8";s:1:"1";s:11:"imageUpload";s:10:"registered";s:15:"showImgForGuest";s:1:"0";s:10:"imageTypes";s:21:"jpeg,jpg,gif,png,tiff";s:14:"checkMimeTypes";s:1:"1";s:14:"imageMimeTypes";s:51:"image/jpeg,image/jpg,image/gif,image/png,image/tiff";s:9:"imageSize";s:3:"800";s:10:"imageWidth";s:3:"800";s:11:"imageHeight";s:3:"800";s:10:"thumbWidth";s:2:"32";
s:11:"thumbHeight";s:2:"32";s:12:"imageQuality";s:2:"50";s:10:"fileUpload";s:10:"registered";s:16:"showFileForGuest";s:1:"0";s:9:"fileTypes";s:34:"txt,rtf,pdf,zip,tar.gz,tgz,tar.bz2";s:8:"fileSize";s:4:"7168";s:11:"showRanking";s:1:"1";s:10:"rankImages";s:1:"0";s:12:"trimLongUrls";s:1:"1";s:17:"trimLongUrlsFront";s:2:"40";s:16:"trimLongUrlsBack";s:2:"20";s:8:"autoLink";s:1:"1";s:12:"smartLinking";s:1:"0";s:16:"autoEmbedYoutube";s:1:"1";s:13:"autoEmbedEbay";s:1:"0";s:18:"autoEmbedInstagram";s:1:"1";s:19:"autoEmbedSoundcloud";s:1:"0";s:13:"highlightCode";s:1:"0";s:15:"bbcodeImgSecure";s:4:"text";s:12:"ebayLanguage";s:2:"77";s:15:"ebayAffiliateId";s:10:"5337089937";s:10:"ebayApiKey";s:0:"";s:10:"ebayCertId";s:0:"";s:21:"blueskyappHandleOfApp";s:0:"";s:23:"blueskyappPasswordOfApp";s:0:"";s:12:"XConsumerKey";s:0:"";s:15:"XConsumerSecret";s:0:"";s:15:"googleMapApiKey";s:0:"";s:7:"rssType";s:5:"topic";s:16:"rssSpecification";s:6:"rss2.0";s:12:"rssTimeLimit";s:6:"1 week";s:8:"rssLimit";s:3:"100";s:21:"rssIncludedCategories";s:1:"0";s:21:"rssExcludedCategories";s:1:"0";s:12:"rssAllowHtml";s:1:"1";s:15:"rssAuthorFormat";s:4:"name";s:16:"rssAuthorInTitle";s:1:"1";s:12:"rssWordCount";s:1:"0";s:12:"rssOldTitles";s:1:"0";s:8:"rssCache";s:3:"900";s:16:"rssFeedBurnerUrl";s:0:"";s:12:"userlistRows";s:2:"50";s:14:"userlistOnline";s:1:"1";s:14:"userlistAvatar";s:1:"1";s:13:"userlistPosts";s:1:"1";s:13:"userlistKarma";s:1:"0";s:13:"userlistEmail";s:1:"0";s:16:"userlistJoinDate";s:1:"1";s:21:"userlistLastVisitDate";s:1:"1";s:16:"userlistUserHits";s:1:"1";s:18:"superAdminUserlist";s:1:"1";s:16:"userListUserType";s:1:"0";s:15:"showSessionType";s:1:"0";s:20:"showSessionStartTime";s:1:"0";s:15:"showWhoIsOnline";s:1:"1";s:9:"showStats";s:1:"1";s:12:"showGenStats";s:1:"1";s:16:"showPopUserStats";s:1:"1";s:12:"popUserCount";s:3:"100";s:19:"showPopSubjectStats";s:1:"1";s:15:"popSubjectCount";s:2:"15";s:16:"showPopPollStats";s:1:"1";s:13:"popPollsCount";s:1:"5";s:20:"showPopThankYouStats";s:1:"0";s:14:"popThanksCount";s:1:"5";s:18:"userlistCountUsers";s:1:"3";s:11:"pollEnabled";s:1:"1";s:13:"pollNbOptions";s:2:"10";s:15:"pollTimeBtVotes";s:8:"00:15:00";s:17:"pollNbVotesByUser";s:2:"10";s:16:"pollAllowVoteOne";s:1:"1";s:20:"pollResultsUserslist";s:1:"1";s:17:"allowUserEditPoll";s:1:"0";s:11:"defaultPage";s:6:"recent";s:14:"activeMenuItem";s:0:"";s:10:"mainMenuId";s:0:"";s:6:"homeId";s:0:"";s:7:"indexId";s:0:"";s:12:"moderatorsId";s:0:"";s:11:"topicListId";s:0:"";s:6:"miscId";s:0:"";s:9:"profileId";s:0:"";s:8:"searchId";s:0:"";s:5:"rules";s:0:"";}s:6:"output";s:0:"";}
In Joomla 6.0.2 und davor gibt es diesen Eintrag nicht.
Gruß gindi
Das hatte ich eigentlich im deutschen Verzeichnis geschrieben.
I want to thank you and the others here very much. With the change of the two variable names, the test site now runs for the first time without visible error messages with debugging max - and the rank system also works again.
There are still some other problems to which I open a new thread.
Thanks again for the great support!
Hello,Hi rich,
I'm maybe a step further: I turned the extended php debugging on and get two error messages, that I couldn't interpret well - it seems that they are caused by the migration - how ever I wondering how this could be possible because kunena was set up completely new (now with v. 7.0.1).
Do you have a idea, what causes the following error and how to fix it?:
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Forum\Category\KunenaCategory::$allow_ratings is deprecated in /mnt/web508/e1/97/510678697/htdocs/Update/libraries/kunena/src/Database/KunenaDatabaseObject.php on line 128 Deprecated: Creation of dynamic property
Since K6.0.0 beta3 the column allow_ratings has been renammed in allowRatings, so make an export of the table #__kunena_categories with phpmyadmin just in case. Then you can apply this query to fix the table :
Same here on table #__kunena_ranks before K6.0.0 beta3 there was a column nammed rank_id which has been renammed. so make an export of the table #__kunena_ranks with phpmyadmin just in case, then apply this query :and,
Warning: Undefined property: stdClass::$rankId in /mnt/web508/e1/97/510678697/htdocs/Update/libraries/vendor/joomla/database/src/DatabaseDriver.php on line 1309
THX
It is more of a warning to tell you that in future php versions things might stop working.
With the information given it is hard to troubleshoot.
In the Kunena code pre 7.0.2 the dashboard was responsible for doing al kind of upgrade chores (like making changes in the database structure). When visiting the dashboard was 'skipped' and then another upgrade was done, then there was already the issue that the upgrade chores didn't run for the previous version and will not run as the version number was changed.
In version 7.0.2 this will never happen again as the update chores are now part of the upgrade itself, so no more visiting the dashboard after an update.
That said: likely your database is in an state of 'flux' where upgrades did happen and upgrades didn't happen. impossible to tell which ones did and which ones didn't
In the Kunena package there are upgrade xml file(s) with the logic that would run on each version.
I would walk through each one of these database lines and check if the current database tables have these changes and if not run the changes.
Easier said then done I know....
sorry my mistake I did't explain it well - it's a bit more complicated... I did several test. The test site that throw the error runs currently with a kunena that is updated from 6.4.6 to 7.0.1 on a Joomla 5.3.4, and a php 8.4.
The real site was migrated by a professional service from kunena 5 kunena 6 but unfortunately they did't finished the work very well and we still have many errors on the forum of our live site... So I set up copy of the site and started debugging. First I try to fix the database where I still found a lot of variables with utf8mb3_general_ci type and some missing or wrong fields (I had a clean installation - with kunena test data - in parallel, so that I could compare the database).
My fixes of the database where good enough to let the error messages disappear that I've got on the site (without debugging max on) - how ever it did't fix the existing problems (rank system doesn't work as expected and e-mail notification from the forum doesn't work.)
Interestingly in the clean test version, that uses the kunena test data only, every think works perfect so that I think, it have something to do with the data in the database itself that may not migrated very well.
My problem is, that I have no clue where to start because I could find a proper documentation of the data and I don't have the time and the knowledge to re-engineer the code. So my approach for now is trying to fix the obvious errors first and the see what's happen.
I think the problem is not a bug in kunena itself but probably a problem in the migration process of the existing data in database. My hope was that updating Kunea with the real data from 6.4.6 to 7.0.1 would fix these problems - but it seems that this was not the case...
Do you have any ideas where I can start to search?
THX
I'm asking because 'allow_ratings' was used pre 6.0.0 and was change into allowRatings in 6.0.0
So it can only be referenced when there was on old version installed where the upgrade that goes via the Kunena dashboard didn't take place.
I'm maybe a step further: I turned the extended php debugging on and get two error messages, that I couldn't interpret well - it seems that they are caused by the migration - how ever I wondering how this could be possible because kunena was set up completely new (now with v. 7.0.1).
Do you have a idea, what causes the following error and how to fix it?:
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\Forum\Category\KunenaCategory::$allow_ratings is deprecated in /mnt/web508/e1/97/510678697/htdocs/Update/libraries/kunena/src/Database/KunenaDatabaseObject.php on line 128 Deprecated: Creation of dynamic property
and,
Warning: Undefined property: stdClass::$rankId in /mnt/web508/e1/97/510678697/htdocs/Update/libraries/vendor/joomla/database/src/DatabaseDriver.php on line 1309
THX
But anyway - I thing there's probably much more screwed up in the database (even if the kunena configuration report and the kunena diagnostic say every think is fine...) I don't know how web-max did the migration, but I guess he simply try's to copy the old database and tweak some values directly in the database.
Meanwhile I made a second clean and empty installation and found out, that there are even more data types had changed in the new kunena version. More over a couple of new values were added which are partly missing in the current installation (e.g. timestamp in the user data). So I will now try to fix the datatypes and the missing colums first and then come back if the error still exists.
Migrating a old Forum ist really pretty complicated... I appreciate your help!
THX!
Do you have any ideas how to fix this?
THX