• Wenn du hier im Forum ein neues Thema erstellst, sind schon Punkte aufgeführt die du ausfüllen musst. Das dient im Allgemeinen dazu die notwendigen Informationen direkt mit der Frage bereitzustellen.
    Da in letzter Zeit immer wieder gerne das Formular gelöscht wurde und erst nach 3 Seiten Nachfragen die benötigten Infos für eine Hilfe kommen, werde ich nun jede Fragestellung die nicht einmal annähernd das Formular benutzt, sofort in den Sondermüll schicken.
    Füllt einfach die abgefragte Daten aus und alle können euch viel schneller helfen.

XF2.2 Bug - doppelter Prefix ?

otto

Die 5k-Labertasche
Lizenzinhaber
Registriert
11. Dez. 2010
Beiträge
5.215
Punkte
448
XF Version
  1. 2.2.15
XF Instanz
Hosting
PHP-Version
8.2.x
MySQL/MariaDB
10.3.x
Provider/Hoster
Strato/Hetzner
Um Dir am besten Helfen zu können, solltest du ein paar Grundlegende Informationen bereithalten.
Um wirklich Hilfe zu erhalten sollten die Felder auch ausgefüllt werden.

Xenforo Version: 2.2.5
(Neuinstallation oder Upgrade von XF1/XF2)
Installierte AddOns inkl. Version:
PHP Version: 7.4.x
MySQL Version: 10.x

Link zum Forum: zetor-forum.de
------------------------------------------------
Erläuterung des Fehlers:
upload_2021-6-11_11-54-17.png

Jemand ne Idee? Schaut euch das mal bei mir mit der Entwicklerkonsole an:
upload_2021-6-11_11-55-35.png


vorderes Prefix:
upload_2021-6-11_11-56-3.png
upload_2021-6-11_12-0-33.png
Der Code ist im Template prefix_input zu finden.



hinteres 2. Prefix

upload_2021-6-11_11-56-30.png
upload_2021-6-11_11-59-9.png
Der Code ist im template base_prefix_selector zu finden.


Könnte das mit dem AMPFX Addon zusammen hängen?
Edit: nein - wenn ichs deaktiviere, ist der Fehler dennoch da.

Das betreffende Template prefix_input und base_prefix_selector hab ich mit einem sauberen, leeren Xenforo 2.2.5 verglichen, beide sind sauber.



Jemand nen Tipp?
 
Zuletzt bearbeitet:
Hast du eventuell das MultiPrefix AddOn von Xon installiert?

Hast du eventuell JS Fehler in der Console oder mal geschaut was du in der Extra.less zusätzlich eingebaut hast?

Einfach mal einen neuen Style erstellen und schauen ob der Fehler mit auftritt.

EDIT: Es hängt am LESS bzw. eventuell auch am JS, siehe Anhang

Bildschirmfoto 2021-06-11 um 16.50.51.png
 
Zuletzt bearbeitet:
Hast du eventuell das MultiPrefix AddOn von Xon installiert?
Nein, noch nie.

Hast du eventuell JS Fehler in der Console oder mal geschaut was du in der Extra.less zusätzlich eingebaut hast?
upload_2021-6-12_10-20-26.png
Keine richtigen Fehler.

Extra.less
CSS:
// Share Button Farben
.shareButtons-button.shareButtons-button--facebook {
    background-color: #3B5998;
}
.shareButtons-button.shareButtons-button--twitter {
    background-color: #1DA1F3;
}
.shareButtons-button.shareButtons-button--gplus {
    background-color: #dd4b39;
}
.shareButtons-button.shareButtons-button--reddit {
    background-color: #FF4500;
}
.shareButtons-button.shareButtons-button--pinterest {
    background-color: #bd081c;
}
.shareButtons-button.shareButtons-button--tumblr {
    background-color: #35465c;
}
.shareButtons-button.shareButtons-button--whatsApp {
    background-color: #25D366;
}
.shareButtons-button.shareButtons-button--email {
    background-color: #1289ff;
}
.shareButtons-button.shareButtons-button--link {
    background-color: #787878;
}
.shareButtons--iconic .shareButtons-button:hover {
    opacity: .5;
}
.shareButtons--iconic .shareButtons-button {
    opacity: 1;
    color: #fff;
    margin: 0 3px 3px;
}
.shareButtons-label {
    float: left;
    margin-right: 3px;
    color: #000000;
    min-height: 35px;
    line-height: 35px;
}

// Textfarbe des Beschreibungstextes
/* .p-description {
    margin: 5px 0 0;
    padding: 0;
    font-size: 13px;
    color: #000000;
}*/

// Farben des Benachrichtigungsballons (Neue Beiträge)
.badgeContainer.badgeContainer--highlighted:after {
    display: inline-block;
    color: black;
    background: #04ff00;
}

// Siganturen auch in der mobilen Ansicht
@media (max-width: 480px) {
    .message-signature{ display: block; }
}

// Farbe für die sticky Themen (AndyB)
// sticky threads
.sticky-threads{
    background: @xf-paletteColor1;
}

// Hintergrundfarbe innerer Body bereich
.p-body-inner {
    background: @xf-subNavBg;
}

// Tabs-BBcode
.tabs-tab {
    display: inline-block;
    cursor: pointer;
    white-space: nowrap;
    color: white;
    font-weight: inherit;
    text-decoration: none;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
}

.tabs-tab:hover {
    text-decoration: bold;
}

// Keyword Styling global
.keywordLink {
    color: blue;
    font-weight: bold;
}

// Editor beim bearbeiten nicht im eingeschränken Modus anzeigen
.fr-toolbar .fr-command.fr-btn[data-cmd="xfBbCode"]
{
    color: @xf-successColor;
    &.fr-active {
        color: @xf-errorColor;
    }
    i:before {
        content: "\f8e7";
    }
}
// Unter-Navigation bei den neuen Beiträgen, statt weißer Schrift
.tabs-tab{
    color: #000;
}
.block-tabHeader {
    background: #bf8860;
}

// Gästen keine Avatare anzeigen
[data-logged-in="false"] .avatar
    {
        display: none;
    }

// https://xenforo.com/community/resources/whatsxfessenger.8317/
{{ include('cta_whatsXFessenger.less') }}

EDIT: Es hängt am LESS bzw. eventuell auch am JS, siehe Anhang
OK, also mal alle Addons ausknipsen... yeah... ;)
 
Check das hier mal..

Bildschirmfoto 2021-06-12 um 10.36.59.png
 
Mal noch meine Addon-Liste der Verdächtigen:
  1. [AddonsLab] Navigation Badge 1.0.0
    Ability to add badges on any public navigation entry.
  2. [AddonsLab] Unread Post Count 1.4.2
  3. [bd] API 2.2.0 Beta 1

  4. [Boothby] LTE - Language Translation Enhancements 0.2.1.7
    Useful extension to the phrase translations.
    • Entwickler: Boothby
  5. [cv6] Custom Fields Extension 1.0.0 Release Candidate 1
    This AddOn provides more Custom Field Types
  6. [cv6] NodeIcon 1.1.0 Release Candidate
    Change the node icon to any font awesome icon or other images
  7. [otto] Move Thread fields 1.0.0 Alpha
    Move the thread fileds from below to above message block.
  8. [OzzModz] Advanced Forms 2.1.2
    Create forms that users can fill out on your site.
  9. [OzzModz] Conversation Folders 2.0.0
    Organise conversations into folders
  10. [OzzModz] Conversation Read Checkmark 2.0.3
    Shows a checkmark for users that have read a conversation
  11. [OzzModz] Debug & Development Mode From ACP 2.0.0
  12. [OzzModz] Quick Thread Permissions 2.0.1
  13. [TH] Auto Merge Double Posts 1.1.1 Patch Level 2
    Automatically merge double posts.
  14. [Widget] New Threads and posts With Prefix Limit 1.0.5
    Adds 2 new widgets to show new threads and posts with prefix filter and other extra options
  15. [XFA] Who Read This Thread 1.5.0
    Allow to view who have read threads based on permissions
  16. [XT] Membermap 1.0.2
    A membermap with Google Maps Api based on user location field with opt-in.
  17. About tab default 1.2
    Makes the About tab in Member view the default selection.
  18. Alerts Auto-refresh (AJAX) 1.0.2
  19. Alphabetical pagination (ABP2) 1.2.8
    Alphabetical pagination for XF and more
    • Entwickler: au lait
  20. AMPXF 1.4.1
    AMP views for threads / posts
  21. BBCODE Tabs 1.0.0
  22. Bookmark list 1.1
    Easy to use bookmark system for posts.
  23. Check Tables 1.0.1
    • Entwickler: 0815
  24. Conversation Improvements 2.2.1
    Enables conversation searching, message edit history, and more.
  25. Conversation search 2.4
    Allows searching conversations.
  26. Custom Fields Permissions 2.5.0
    Input and output permissions for custom fields
  27. Keyword Linking 1.3.7
    Allows you to link keywords in thread posts, conversation messages, profile posts and more!
  28. Members recently online 2.8
    Displays a block containing members recently online.
  29. Post Content Find / Replace 2.0.1
    Allows an administrator to do a regular expression find and replace in the content of all posts.
  30. Redis Cache 2.10.0
    XenForo + Redis
  31. Remove insert full image 1.4
    Removes insert full image option during message composing.
  32. Rotate 1.4
    Easily rotate any attached image in a post.
  33. Sold 1.0
    Allows thread starter or staff to change thread prefix to sold with one click.
  34. Standard Library 1.6.0
    A number of helper utilities designed to ease add-on development
  35. Sticky threads 1.1
    Makes sticky threads stand out.
  36. Watermark System (STWM2) 1.2.2
    Watermark for Images in Posts, RM, MG and others
  37. Weekly newsletter 1.4
    Sends an email to your members every week showing most popular topics.
  38. XenForo Enhanced Search 2.2.1
    An enhanced version of the XenForo search system, allowing higher quality results and faster searching for bigger installations.
  39. XenForo Media Gallery 2.2.2
    The XenForo Media Gallery is an add-on that allows you and your users to create galleries of images and videos in your forum, organized into admin-defined categories or user-created albums.
  40. XenForo Resource Manager 2.2.2
    The XenForo Resource Manager is an add-on that allows you to manage files, downloads, and article-like content within your forum.
 
Zuletzt bearbeitet:
Check das hier mal..
Das ist doch aber nen standard Xenforo Less Template...

Das auch nur XF Addons erweitern/anpassen:
upload_2021-6-12_12-15-20.png
Beide Anpassungen sind intakt und arbeiten.

Ich vergleich mal mit nem nackigen XF2
Edit:
upload_2021-6-12_12-17-25.png
 
Alle Addons deaktiviert - Fehler immer noch da. Gibts doch nicht... Könnte seit dem Update von 2.2.4 auf 2.2.5 da sein, bin mir aber unsicher.

Deaktivieren aller individuellen TMS Änderungen - keine Besserung.

Ich weiß gerade nicht so recht wie weiter.
 
@otto kannst du mal schauen ob du die js/xf/prefix_menu.js einfach mal neu hochlädst?
 
... ist bei mir vom 13.3.2021 also scheinbar noch die von der XF 2.2.4
Hab sie jetzt noch mal explizit von der XF 2.2.5 geladen, was auch Fehlerfrei ging. Sind auch alle 98 Dateien im js Ordner enthalten, Besitzer und Rechte passen.

Der Fehler des doppelten Präfix ist aber unverändert da.
 
Da fällt mir ein, ich hatte die Tage die Prefixe etwas umkonfiguriert, so dass jedes Forum einen default Prefix hat, ich teste mal obs daran liegt.

Atze wie hattest du das bei dir nachgestellt? Nur mit der Deaktivierung im CSS per DEV console?
 
Das ist bei dir ja das Problem das diese CSS Klasse .has-js .u-noJsOnly fehlen. Die Frage ist nur warum.. :smoke:

Am besten mal wirklich bei xf.com fragen, vielleicht kann Kier oder Mike was sagen.
 
Ich versuch mein Glück...
Edit: Support Ticket erstellt.
Wenn da nichts bei um kommt, frag ich im öffentlichen Bereich.

Hab das problem auch aufm Handy, also liegts auch nicht am Browser.
 
Zuletzt bearbeitet:
Zurück
Oben