Zum Inhalt springen

Statische Templates

Erstellt am 22. Januar 2005 · 2 Antworten · letzte Antwort am 31. Januar 2005

Tags: Frage

Arakasi ·

Hi,

bei mir werden die Statischen Templates (z.B. content(default) nicht angezeigt, die komplette Liste ist leer.

Auch nachdem ich im Setup-Menü sie Importiert habe, zumindest hab ich auf import geklickt, und keine Fehlermeldung bekommen, erscheint da keine Liste.
Alles andere läuft einwandfrei.

Wo kann das Problem noch liegen?

Vielen Dank

Arakasi ·

Hm...mal etwas weiter geschaut, unter:

typo3conf/database.sql (1.2 M) ---> VIEW

seh ich:

CREATE TABLE `static_template` (
`uid` int(11) unsigned NOT NULL auto_increment,
`pid` int(11) unsigned NOT NULL default '0',
`tstamp` int(11) unsigned NOT NULL default '0',
`crdate` int(11...

INSERT INTO `static_template` VALUES (7,0,1054752613,938564296,'frameset; top-left-page','',' # cat=basic/dims; type=small; label=Top Frame: The height of the topframe
topFrameHeight = 150
...

INSERT INTO `static_template` VALUES (13,0,1054752637,941993948,'frameset; top-page','',' # cat=basic/dims; type=small; label=Top Frame: The height of the topframe
topFrameHeight = 150','frames...

INSERT INTO `static_template` VALUES (17,0,1054752662,941996666,'frameset; top-page-right','',' # cat=basic/dims; type=small; label=Top Frame: The height of the topframe
topFrameHeight = 150
...

INSERT INTO `static_template` VALUES (19,0,1054752589,942004100,'frameset; top / left-page','',' # cat=basic/dims; type=small; label=Top Frame: The height of the topframe
topFrameHeight = 150
...

INSERT INTO `static_template` VALUES (23,0,1054752536,942090884,'frameset; left-page','',' # cat=basic/dims; type=small; label=Left Frame: The width of the left frame
leftFrameWidth = 150
',...

usw.

Aber komischerweise, keine Ahnung, ob das was damit zu tun hat, bekomm ich bei:

typo3conf/database.sql (1.2 M) --> IMPORT

die Fehlermeldung:

No tables
here seems to be no CREATE TABLE definitions in the SQL file. This tool is intelligently creating one table at a time and not just dumping the whole content of the file uncritically. That's why there must be defined tables in the SQL file.

Was ist denn da los? Hab alles eigentlich richtig konfiguriert :/

Hille ·

Wie auch in den anderen Post.

DEFAULT '0' NOT NULL auto_incement ist Blödsinn

den die neueren MySQL-Versionen nicht mehr annehmen.
Lösung:

Kopier die den kompletten SQL-Code in phpmyadmin, entferne die unsinnigen Statements (default '0' not null) und startet es dann von dort aus.

Hille