code not available

Gesperrt
chris580
Beiträge: 2
Registriert: Do 13. Mai 2004, 14:48
Kontaktdaten:

code not available

Beitrag 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
timo
Beiträge: 6284
Registriert: Do 15. Mai 2003, 18:32
Wohnort: Da findet ihr mich nie!
Kontaktdaten:

Beitrag von timo »

Wenn du die Beispiele nicht installiert hast und noch keine Kategorien/Artikel angelegt hast, kommt es zu dieser Meldung.
chris580
Beiträge: 2
Registriert: Do 13. Mai 2004, 14:48
Kontaktdaten:

Beitrag 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........................
Halchteranerin
Beiträge: 5478
Registriert: Di 2. Mär 2004, 21:11
Wohnort: Halchter, wo sonst? ;-)
Kontaktdaten:

Beitrag 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.
Gesperrt