[TYPO3-german] Kann keine Inhalte mehr anlegen - SQL Fehler

Tim Küppers tim.kueppers at gmx.de
Fri Jan 9 16:36:19 CET 2009


Nochmal ein hallo in die Runde,

Peters Tipp mit dem SQL-Debug hat mich soweit gebracht, dass ich jetzt 
zumindest weiß, was nicht funktioniert. Nur mit dem warum und dem "was 
tun" hapert es noch...

Beim Speichern schlägt die INSERT INTO tt_content Query fehl.
Dort steht irgendwo als Wertepaar eben sys_language_uid und ''.
(Gesamte Query siehe unten.)

sys_language hat, wie schon erwähnt, keine Einträge und ist konfiguriert 
mit Primary Key uid, NOT NULL und Autoincrement.

Weiß noch jemand Rat?

Gruß
Tim

Anhang - Ausgabe des SQL-Debuggers:
caller  	t3lib_DB::exec_INSERTquery

ERROR 	Incorrect integer value: '' for column 'sys_language_uid' at row 1

(
lastBuiltQuery 	INSERT INTO tt_content
CType,
starttime,
endtime,
layout,
colPos,
date,
header_position,
header_layout,
text_align,
text_face,
text_size,
text_color,
imagewidth,
imageheight,
imageorient,
imagecols,
imagecaption_position,
cols,
recursive,
menu_type,
list_type,
table_bgColor,
table_border,
table_cellspacing,
table_cellpadding,
spaceBefore,
spaceAfter,
section_frame,
splash_layout,
sectionIndex,
sorting,
pid,
sys_language_uid,
hidden,
header,
header_link,
linkToTop,
bodytext,
rte_enabled,
fe_group,
l18n_diffsource,
crdate,
cruser_id,
tstamp
) VALUES (
'text',
'0',
'0',
'0',
'0',
'0',
'',
'0',
'',
'0',
'0',
'0',
'0',
'0',
'0',
'0',
'',
'0',
'0',
'0',
'',
'0',
'0',
'0',
'0',
'0',
'0',
'0',
'0',
'1',
'256',
'233',
'',
'0',
'Überschrift',
'',
'0',
'Hier steht der Text...',
'0',
'',
'a:19:{s:5:\"CType\";N;s:16:\"sys_language_uid\";N;s:6:\"colPos\";N;s:11:\"spaceBefore\";N;s:10:\"spaceAfter\";N;s:13:\"section_frame\";N;s:12:\"sectionIndex\";N;s:6:\"hidden\";N;s:6:\"header\";N;s:15:\"header_position\";N;s:13:\"header_layout\";N;s:11:\"header_link\";N;s:4:\"date\";N;s:9:\"linkToTop\";N;s:8:\"bodytext\";N;s:11:\"rte_enabled\";N;s:9:\"starttime\";N;s:7:\"endtime\";N;s:8:\"fe_group\";N;}',
'1231511037',
'1',
'1231511037'
)
debug_backtrace 	SC_alt_doc->processData#1477 // 
t3lib_TCEmain->process_datamap#321 // t3lib_TCEmain->insertDB#908 // 
t3lib_DB->exec_INSERTquery#5807 // t3lib_DB->debug#181

Warning: Cannot modify header information - headers already sent by 
(output started at D:\Program 
Files\xampp\htdocs\za_dig\t3lib\class.t3lib_db.php:1140) in D:\Program 
Files\xampp\htdocs\za_dig\typo3\template.php on line 633


Errors:
	2: SQL error: 'Incorrect integer value: '' for column 
'sys_language_uid' at row 1' (tt_content:NEW49675de7d53f6)


More information about the TYPO3-german mailing list