Page 1 of 1

Mediendatenbank fehlerhafte Darstellung

Posted: Mon Mar 26, 2007 8:19 pm
by andreas_herzog
Hallo erstmal!
Ich möchte mal vorab sagen, diese Blogsoftware ist toll. Leider habe ich nach dem upload meines Blogs einen Fehler beim Aufruf der Mediendatenbank:

Code: Select all

SELECT  i.id, '' AS orderkey, i.name, i.extension, i.mime, i.size, i.dimensions_width, i.dimensions_height, i.date, i.thumbnail_name, i.authorid, i.path, i.hotlink, i.realname,
                     a.realname AS authorname
                     FROM serendipity_images AS i
       LEFT OUTER JOIN serendipity_authors AS a
                    ON i.authorid = a.authorid
                        LEFT JOIN serendipity_authorgroups AS acl_a
                                   ON acl_a.authorid = 1
                            LEFT JOIN serendipity_access AS acl_acc
                                   ON (    acl_acc.artifact_mode = 'read'
                                       AND acl_acc.artifact_type = 'directory'
                                       AND acl_acc.artifact_index = i.path
                                      )

                       WHERE 1=1  AND     (
                                 i.path IS NULL OR
                                        acl_acc.groupid IS NULL
                                 OR ( acl_acc.groupid = acl_a.groupid OR acl_acc.groupid = 0)
                                 OR ( acl_acc.artifact_id IS NULL
                                      
                                    )
                               )
                     GROUP BY i.id
            ORDER BY i.date DESC  LIMIT 0, 8
/ Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (latin1_general_ci,IMPLICIT) for operation '='
  Filter - Mediendaten durchsuchen 
Er schreibt irgendwas wegen der Schriftart raus.
Außerdem schreibt Serendipity --> "keine Bilder gefunden".
Es sind aber Bilder im Uploadverzeichnis online und der Pfad ist auch auf /uploads eingestellt

Auch die Bilder, die jetzt gerade direkt online geladen habe werden nicht angezeigt, obwohl sie tatsächlich online sind.
Im Blog werden alle Bilder korrekt dargestellt (Direkt eingebettet und Links auf Popupfenster). Es kann sich eigentlich nur um eine Kleinigkeit handeln ;-D *hoffentlich*

Kann mir da jemand helfen?

lg,
Andreas

Posted: Mon Mar 26, 2007 8:38 pm
by andreas_herzog
Hat sich erledigt.
Tabelle serendipity_access wurde geändert --> da waren die collations auf swedish eingestellt? Die Frage nur weshalb.
Aber jetzt funkts.

lg,
Andi