sorry for writing things in english, my deutsch is crappy. in earlier versions of contenido it was allowed to use RAND() for the order option. now it is not available, because you bind the '$this->order' value to a table
so contenido/classes/class.article.php around row 578 should be changed from this
Code: Alles auswählen
if (!$this->offline)
{
$sql .= ' AND a.online = 1 ';
}
$sql .= ' ORDER BY a.'.$this->order.' '.$this->direction.'';
$this->db->query($sql);
Code: Alles auswählen
if (!$this->offline)
{
$sql .= ' AND a.online = 1 ';
}
if(this->order=="RAND()"){
$sql .= ' ORDER BY '.$this->order.' '.$this->direction.'';
}else{
$sql .= ' ORDER BY a.'.$this->order.' '.$this->direction.'';
}
$this->db->query($sql);
gabor