Mehrere Ranggrafiken Problem

Bitte in den Beiträgen keine externe Bilder einbinden, sondern nur die Dateianhänge verwenden.
Vielen dank.
  • Heyho,

    Ich habe neue Ranggrafiken eingefügt, diese Funktionieren im ACP auch also sie werden dort Angezeigt. Im Profil, in der Mitgliederliste auch allerdings nicht bei den Beiträgen links an der Seite.

    Ich hab das Plugin mehrere Ranggrafiken auch schon neuinstalliert.

    Deinstallier bzw. Deaktivier ich es funktioniert alles wieder normal.

    Bild wurde angehängt.


    Mit freundlichen Grüßen

    Ben Krueger

  • Cyperghost

    Hat das Thema freigeschaltet
  • In der Datei wcf/lib/system/multirank/MultirankSidebar.class.phpdie Zeilen

    PHP: MultirankSidebar.class.php
    1. public function getDataUserID() {
    2. return 'user-id';
    3. }


    durch diese hier


    PHP: MultirankSidebar.class.php
    1. public function getDataUserID() {
    2. return 'object-id';
    3. }

    Der Fehler ist in der kommenden Version behoben

  • Hey Cyperghost,

    leider hat genau diese Änderung bei uns dazu geführt, dass es bei uns eben nicht mehr funktioniert, obwohl alles bis dato einwandfrei lief.

    Ich habe nach dem Update die Änderung bzgl. der object-id rückgängig gemacht und nun scheint alles bei uns wieder zu funktionieren.

    Kann ich unter Version 3.1.18 bestätigen. Mit object-id werden die Grafiken nicht angezeigt, mit user-id hingegen schon.

  • Cyperghost

    Hat das Label behoben hinzugefügt
  • Update geht bei mir nicht durch - Fehler.

    Could not execute statement 'ALTER TABLE `wcf1_multirank` ADD CONSTRAINT `4a77c8d438cab1269d665c1de318d157_fk` FOREIGN KEY (`objectTypeID`) REFERENCES `wcf1_object_type` (`objectTypeID`) ON DELETE CASCADE'


    Mon, 21 Dec 2020 11:57:48 +0000

    Message: Could not execute statement 'ALTER TABLE `wcf1_multirank` ADD CONSTRAINT `4a77c8d438cab1269d665c1de318d157_fk` FOREIGN KEY (`objectTypeID`) REFERENCES `wcf1_object_type` (`objectTypeID`) ON DELETE CASCADE'

    PHP version: 7.3.19-1~deb10u1

    WoltLab Suite version: 5.3.1

    Request URI: POST /acp/index.php?install-package/&t=8468c9f713c23624a11d7110d61b6e224587f1b0

    Referrer: https://radio-butterfly.net/ac…ation-confirm/&queueID=93

    User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0

    Peak Memory Usage: 3104656/536870912

    ======

    Error Class: wcf\system\database\exception\DatabaseQueryExecutionException

    Error Message: Could not execute statement 'ALTER TABLE `wcf1_multirank` ADD CONSTRAINT `4a77c8d438cab1269d665c1de318d157_fk` FOREIGN KEY (`objectTypeID`) REFERENCES `wcf1_object_type` (`objectTypeID`) ON DELETE CASCADE'

    Error Code: HY000

    File: /var/www/html/lib/system/database/statement/PreparedStatement.class.php (105)

    Extra Information: YTowOnt9

    Stack Trace: [{"file":"\/var\/www\/html\/lib\/system\/database\/editor\/MySQLDatabaseEditor.class.php","line":338,"function":"execute","class":"wcf\\system\\database\\statement\\PreparedStatement","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/system\/database\/util\/SQLParser.class.php","line":271,"function":"addForeignKey","class":"wcf\\system\\database\\editor\\MySQLDatabaseEditor","type":"->","args":["wcf1_multirank","4a77c8d438cab1269d665c1de318d157_fk",{"columns":"[redacted]","referencedTable":"[redacted]","referencedColumns":"[redacted]","ON DELETE":"[redacted]","ON UPDATE":"[redacted]"}]},{"file":"\/var\/www\/html\/lib\/system\/package\/PackageInstallationSQLParser.class.php","line":338,"function":"executeAddForeignKeyStatement","class":"wcf\\system\\database\\util\\SQLParser","type":"->","args":["wcf1_multirank","4a77c8d438cab1269d665c1de318d157_fk",{"columns":"[redacted]","referencedTable":"[redacted]","referencedColumns":"[redacted]","ON DELETE":"[redacted]","ON UPDATE":"[redacted]"}]},{"file":"\/var\/www\/html\/lib\/system\/database\/util\/SQLParser.class.php","line":128,"function":"executeAddForeignKeyStatement","class":"wcf\\system\\package\\PackageInstallationSQLParser","type":"->","args":["wcf1_multirank","4a77c8d438cab1269d665c1de318d157_fk",{"columns":"[redacted]","referencedTable":"[redacted]","referencedColumns":"[redacted]","ON DELETE":"[redacted]","ON UPDATE":"[redacted]"}]},{"file":"\/var\/www\/html\/lib\/system\/database\/util\/SQLParser.class.php","line":47,"function":"executeStatement","class":"wcf\\system\\database\\util\\SQLParser","type":"->","args":["ALTER TABLE","ALTER TABLE wcf1_multirank\n ADD FOREIGN KEY (objectTypeID) REFERENCES wcf1_object_type (objectTypeID)\n ON DELETE CASCADE"]},{"file":"\/var\/www\/html\/lib\/system\/package\/plugin\/SQLPackageInstallationPlugin.class.php","line":65,"function":"execute","class":"wcf\\system\\database\\util\\SQLParser","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/system\/package\/plugin\/AbstractPackageInstallationPlugin.class.php","line":70,"function":"install","class":"wcf\\system\\package\\plugin\\SQLPackageInstallationPlugin","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/system\/package\/PackageInstallationDispatcher.class.php","line":747,"function":"update","class":"wcf\\system\\package\\plugin\\AbstractPackageInstallationPlugin","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/system\/package\/PackageInstallationDispatcher.class.php","line":144,"function":"executePIP","class":"wcf\\system\\package\\PackageInstallationDispatcher","type":"->","args":[{"attributes":"[redacted]","pip":"[redacted]","value":"[redacted]"}]},{"file":"\/var\/www\/html\/lib\/acp\/action\/InstallPackageAction.class.php","line":73,"function":"install","class":"wcf\\system\\package\\PackageInstallationDispatcher","type":"->","args":["d2f4f649"]},{"file":"\/var\/www\/html\/lib\/action\/AbstractDialogAction.class.php","line":68,"function":"stepInstall","class":"wcf\\acp\\action\\InstallPackageAction","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/action\/AbstractAction.class.php","line":47,"function":"execute","class":"wcf\\action\\AbstractDialogAction","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/system\/request\/Request.class.php","line":83,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/system\/request\/RequestHandler.class.php","line":107,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/var\/www\/html\/acp\/index.php","line":9,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf",true]}]

    ======

    Error Class: PDOException

    Error Message: SQLSTATE[HY000]: General error: 1005 Can't create table `wcf`.`wcf1_multirank` (errno: 121 "Duplicate key on write or update")

    Error Code: HY000

    File: /var/www/html/lib/system/database/statement/PreparedStatement.class.php (93)

    Extra Information: -

    Stack Trace: [{"file":"\/var\/www\/html\/lib\/system\/database\/statement\/PreparedStatement.class.php","line":93,"function":"execute","class":"PDOStatement","type":"->","args":[[]]},{"file":"\/var\/www\/html\/lib\/system\/database\/editor\/MySQLDatabaseEditor.class.php","line":338,"function":"execute","class":"wcf\\system\\database\\statement\\PreparedStatement","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/system\/database\/util\/SQLParser.class.php","line":271,"function":"addForeignKey","class":"wcf\\system\\database\\editor\\MySQLDatabaseEditor","type":"->","args":["wcf1_multirank","4a77c8d438cab1269d665c1de318d157_fk",{"columns":"[redacted]","referencedTable":"[redacted]","referencedColumns":"[redacted]","ON DELETE":"[redacted]","ON UPDATE":"[redacted]"}]},{"file":"\/var\/www\/html\/lib\/system\/package\/PackageInstallationSQLParser.class.php","line":338,"function":"executeAddForeignKeyStatement","class":"wcf\\system\\database\\util\\SQLParser","type":"->","args":["wcf1_multirank","4a77c8d438cab1269d665c1de318d157_fk",{"columns":"[redacted]","referencedTable":"[redacted]","referencedColumns":"[redacted]","ON DELETE":"[redacted]","ON UPDATE":"[redacted]"}]},{"file":"\/var\/www\/html\/lib\/system\/database\/util\/SQLParser.class.php","line":128,"function":"executeAddForeignKeyStatement","class":"wcf\\system\\package\\PackageInstallationSQLParser","type":"->","args":["wcf1_multirank","4a77c8d438cab1269d665c1de318d157_fk",{"columns":"[redacted]","referencedTable":"[redacted]","referencedColumns":"[redacted]","ON DELETE":"[redacted]","ON UPDATE":"[redacted]"}]},{"file":"\/var\/www\/html\/lib\/system\/database\/util\/SQLParser.class.php","line":47,"function":"executeStatement","class":"wcf\\system\\database\\util\\SQLParser","type":"->","args":["ALTER TABLE","ALTER TABLE wcf1_multirank\n ADD FOREIGN KEY (objectTypeID) REFERENCES wcf1_object_type (objectTypeID)\n ON DELETE CASCADE"]},{"file":"\/var\/www\/html\/lib\/system\/package\/plugin\/SQLPackageInstallationPlugin.class.php","line":65,"function":"execute","class":"wcf\\system\\database\\util\\SQLParser","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/system\/package\/plugin\/AbstractPackageInstallationPlugin.class.php","line":70,"function":"install","class":"wcf\\system\\package\\plugin\\SQLPackageInstallationPlugin","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/system\/package\/PackageInstallationDispatcher.class.php","line":747,"function":"update","class":"wcf\\system\\package\\plugin\\AbstractPackageInstallationPlugin","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/system\/package\/PackageInstallationDispatcher.class.php","line":144,"function":"executePIP","class":"wcf\\system\\package\\PackageInstallationDispatcher","type":"->","args":[{"attributes":"[redacted]","pip":"[redacted]","value":"[redacted]"}]},{"file":"\/var\/www\/html\/lib\/acp\/action\/InstallPackageAction.class.php","line":73,"function":"install","class":"wcf\\system\\package\\PackageInstallationDispatcher","type":"->","args":["d2f4f649"]},{"file":"\/var\/www\/html\/lib\/action\/AbstractDialogAction.class.php","line":68,"function":"stepInstall","class":"wcf\\acp\\action\\InstallPackageAction","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/action\/AbstractAction.class.php","line":47,"function":"execute","class":"wcf\\action\\AbstractDialogAction","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/system\/request\/Request.class.php","line":83,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/system\/request\/RequestHandler.class.php","line":107,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/var\/www\/html\/acp\/index.php","line":9,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf",true]}]

  • Hallo,


    wir haben jetzt vor kurzen bzw. letzte Woche auf die aktuelle Version vom WFC geupdatet. Vor dem Update ging alles aktuell haben wir das Problem das nirgends die Ranggrafiken zu sehen sind ausser im Backend.


    Ich habe das Packet deinstalliert und neu installiert und auch mal Alle Anzeigen über das Backend aktualisieren lassen, leider ohne Erfolg. :(


    Was wird benötigt damit wir überprüfen können woran es liegt?

  • Wenn keine Ranggrafiken zu sehen sind, bitte überprüf ob das Module Mehrere Ranggrafiken aktiviert ist und du musst nach der neu Installation, einmal die Anzeige aktualisieren, dies findest du im ACP unter Verwaltung, es reicht bei der Anzeige Aktualisierung die für die Mehrere Ranggrafiken auszuführen :)