Wenn ich bei mir versuche die Artikel zu exportieren bekomme ich immer den folgenden Fehler:
Could not create HEAP Table tmp_5cc5e54aa9cf12e1d319af6137db4cEgal was ich auch mache, es funktioniert einfach nicht etwas aus dem Shop zu exportieren.Ich habe zwei Shops laufen und bei beiden kommt der gleiche Fehler.
https://bugs.oxid-esales.com/view.php?id=838 oder auchhttp://www.oxid-esales.com/de/resources/forum/newbies/neuer-shop-mit-db-mysql-5018-probleme alternativ:http://www.oxid-esales.com/de/resources/forum/novichkam-newbies/kak-importirovat
Marco Steinhäuser
Community Guide
OXID eSales AG
http://twitter.com/marcosteinhaeus
Danke, jetzt gehts wieder.
Hier nochmal der korrekte Code aus der dynexportbase.php…
private function _generateTableCharSet($sMysqlVersion)
{
$oDB = oxDb::getDb(true);
//if MySQL >= 4.1.0 set charsets and collations
if (version_compare($sMysqlVersion, '4.1.0', '>=')>0) {
$sMysqlCharacterSet = null;
$sMysqlCollation = null;
$rs = $oDB->execute( "SHOW FULL COLUMNS FROM `oxarticles` WHERE field like 'OXID'" );
if ( isset( $rs->fields['Collation'] ) && ( $sMysqlCollation = $rs->fields['Collation'] ) ) {
$rs = $oDB->execute( "SHOW COLLATION LIKE '{$sMysqlCollation}'" );
if ( isset( $rs->fields['Charset'] ) ) {
$sMysqlCharacterSet = $rs->fields['Charset'];
}
}
if ( $sMysqlCollation && $sMysqlCharacterSet ) {
$sTableCharset = "DEFAULT CHARACTER SET ".$sMysqlCharacterSet." COLLATE ".$sMysqlCollation;
} else {
$sTableCharset = "";
}
} else {
$sTableCharset = "";
}
return $sTableCharset;
}