Seite 1 von 1

code not available

Verfasst: Do 13. Mai 2004, 14:52
von chris580
Hallo zs.,

habe soeben 4.4 installiert. Die Administration funktioniert, aber sobald ich mir die Vorschau zu einem Artikel anschauen will bzw. direkt Seiten aufrufe bekomme ich die Fehlermeldung ... "code not available"??

Während der Installation gab es keine Fehler.

Gruss und danke für jede Hilfe

Christian

Verfasst: Do 13. Mai 2004, 14:53
von timo
Wenn du die Beispiele nicht installiert hast und noch keine Kategorien/Artikel angelegt hast, kommt es zu dieser Meldung.

Verfasst: Do 13. Mai 2004, 21:33
von chris580
Ich habe es mit Beispielen installiert.


Nach einer Neuinstallation steht in error_lo folgendes:

[13-Mai-2004 22:26:45] Invalid SQL: lock tables con_sequence write<br><br>
[13-Mai-2004 22:26:45] lock() failed.
[13-Mai-2004 22:26:45] cannot lock con_sequence - has it been created?
[13-Mai-2004 22:27:30] Invalid SQL: lock tables con_sequence write<br><br>


und in install_log:

2004-May-Thu 22:24:28: error 1068 (Multiple primary key defined) - Invalid SQL: ALTER TABLE con_template CHANGE COLUMN idtpl idtpl int(10) NOT NULL DEFAULT '0' PRIMARY KEY<br><br>

bald ich mir dann das erste Mal die Vorschau ansehe, steht folgendes in der error_log:

13-Mai-2004 22:27:30] lock() failed.
[13-Mai-2004 22:27:30] cannot lock con_sequence - has it been created?
[13-May-2004 22:27:30] Invalid SQL: lock tables con_sequence write<br><br>
[13-May-2004 22:27:30] lock() failed.
[13-May-2004 22:27:30] cannot lock con_sequence - has it been created?
[13-May-2004 22:27:30] Invalid SQL: lock tables con_sequence write<br><br>
[13-May-2004 22:27:30] lock() failed.
[13-May-2004 22:27:30] cannot lock con_sequence - has it been created?
[13-May-2004 22:27:30] Invalid SQL: INSERT INTO
con_stat
( idstat, idcatart, idlang, idclient, visited )
VALUES (
0,
29,
1,
1,
0 )<br><br>
[13-May-2004 22:27:30] Invalid SQL: lock tables con_sequence write<br><br>
[13-May-2004 22:27:30] lock() failed.
[13-May-2004 22:27:30] cannot lock con_sequence - has it been created?
[13-May-2004 22:27:30] Invalid SQL: INSERT INTO
con_stat
( idstat, idcatart, idlang, idclient, visited )
VALUES (
0,
28,
1,
1,
0 )<br><br>
[13-May-2004 22:27:30] Invalid SQL: lock tables con_sequence write<br><br>
[13-May-2004 22:27:30] lock() failed.
[13-May-2004 22:27:30] cannot lock con_sequence - has it been created?
[13-May-2004 22:27:30] Invalid SQL: INSERT INTO
con_stat
( idstat, idcatart, idlang, idclient, visited )
VALUES (
0,
27,
1,
1,
0 )<br><br>

etc........................

Verfasst: Do 13. Mai 2004, 21:51
von Halchteranerin
Tja, dann such mal im Forum nach 'lock tables', schon wirst Du fuendig. Entweder gibt Dir Dein Provider das Recht, oder Du wechselst den Provider. Oder Du benutzt einen Workaround (auch im Forum zu finden), von dem allerdings timo abraet.