Antwort schreiben 
 
Themabewertung:
  • 0 Bewertungen - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Problem mit Installation / Upgrade auf v1.2
26.01.2012, 14:59 (Dieser Beitrag wurde zuletzt bearbeitet: 26.01.2012 15:01 von friedemann.)
Beitrag: #1
Problem mit Installation / Upgrade auf v1.2
Hallo Leute,

ich wollte nun endlich auf die neueste Version umsteigen, stoße aber auf massive Probleme: Die Installation schlägt mit Datenbank-Fehlermeldungen fehl. Das Ganze habe ich vorsichtshalber nur unter XAMPP (Vers. 1.7.4, MySQL V. 5.5.8, MySQL-Client-Version mysqlnd 5.0.7-dev - 091210 - $Revision: 304625 $, PHP V 5.3.5) gemacht.

Versuche ich eine komplette Neuinstallation, bekomme ich folgendes:
Code:
Installationsschritt Nr. 3

- Datenbank-Verbindung vorhanden.
- Die Tabellen konnte nicht fehlerfrei erstellt werden!
   Die Datenbank-Fehlermeldungen:
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 55
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 5
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 13
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 24
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 12
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 10
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 12
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 9
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 18
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 13
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 15
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 13
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 6
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 10
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 10
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 7

Also habe ich zunächst (problemlos) die 1.1 installiert, um dann ein Upgrade zu machen. Ergebnis:

Code:
expCounter: MySQL error!
SQL query:
    CREATE TABLE expc_xss_log (
    id INT(14) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
    timestamp INT(10) UNSIGNED NOT NULL default 0,
    ip VARCHAR(255) NOT NULL,
    host VARCHAR(255) NOT NULL,
    message TEXT NOT NULL ) TYPE=MyISAM;
Error number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 9
Script stopped.

Wenn ich die Tabelle dann zu Fuß angelegt habe und das Update wiederhole, gibt es folgende Fehlermeldung:

Code:
expCounter: MySQL error!
SQL query:
    INSERT INTO expc_config (setting, value) VALUES ('xss_protection_status', '0'), ('xss_protection_exceptions', '%@%;%[%;%]%;'), ('xss_log_status', '0')
Error number: 1062
Duplicate entry 'xss_protection_status' for key 'PRIMARY'
Script stopped.

Das Ganze habe ich versucht sowohl auf einem vHost mit bestehender Installation von WB282, Rev. 1480 als auch auf einem frisch angelegten leeren.

Ich bin jetzt ziemlich ratlos und für jede Hilfe dankbar.
Ein möglicher Ausweg: wenn jemand ein Datenbank-Backup einer frischen Installation hätte und zur Verfügung stellen würde, könnte ich dies importieren und anpassen; dann sollte der Counter eigentlich laufen. Taugt zwar nicht bei einer vorhandenen Installation (ich wüßte nicht, wie ich die alten Statistiken importieren könnte, ohne die Tabellen wieder zu versauen), wäre aber für eine Neuinstallation hilfreich.

Herzliche Grüße, Friedemann
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
26.01.2012, 20:00
Beitrag: #2
RE: Problem mit Installation / Upgrade auf v1.2
IMHO liegt das Installationsproblem an der MySQL-Version.
Wenn Du in der tables.sql alle Vorkommen von TYPE=MyISAM durch ENGINE=MyISAM ersetzt, sollte es klappen.
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
Antwort schreiben 


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste

Kontakt | expblog.net | Nach oben | Zum Inhalt | Archiv-Modus | RSS-Synchronisation