Any solution for the itemid=0 problem for 4.5.1a? Hello I'll wite in english and german:
I have problems with the itemid=0 in search or read next etc.
I'm using MOS 4.5.1a and PHP 5.0.2 and mySQL 4.0.21.
It appears in Static content, typed content (section, categories) in a read next and search results which I click on the link a URL with itemid=0 is created (either at the end or in between of the link), and neither unregistered nor registered user can acces the URL though everything is published and public.
I've learned, that itemid=0 is an invalid id but why and how is such an invalid id created?
If I manually change itemid to 1 in the link, it works (thats of course not the solution).
I've tried seeral hacks and hint's from many forums but the best I've got was a hack which works for unregisterd users but then registerd user cant access their stuff (even worse).
German:
Ich benutzee MOS 4.5.1a, PHP 5.0.2, mySQL 4.0.21 and IIS 5.x:
Suche seit Monaten eine Lösung für das itemid=0 Problem.
Fehler tritt bei Suche oder nächste Seite beim Lesen/Suchen von Content (Static, typed) auf. Es wird eine URL mit itemid=0 angezeigt was zu einere Zugriffsfehlermeldung führt (sie müssen sich anmelden). Das wird auch bei angemeldeten Zustand angezeit (itemid=0 führt zu einer ungültigen Berechtigungsabfrage). Ich habe diverse Hacks (für die 4.5.1a probiert, die für 4.5.0 funktionieren sowieso nicht), aber die beste Lösung war, dass unregistrierte Benutzer zugreifen können aber dann registrierte nicht mehr (noch schlechter).
Das Problem haben auch andere Leute, leider habe ich noch keine Lösung gefunden, die das Problem restlos (ohne Nebenwirkungen) beheben.
Wie kommt die ungültieg itemid=0 zustande? Jeder Content wurde ohne Fehler abgespeichert, ist public und publiziert. Warum kommen bei der Suche oder beim weiterblättern links zustande die itemid=0 beinhalten, was nicht funktioniert?
Gruss Heinz |