Seite 1 von 1

Plötzliche Sql Probleme! MSSQL-ODBC

Verfasst: 30.06.2003 08:34
von reichr
hy leute!

habe seit kurzem probleme!
lief bis dato problemlos doch auf einmal habe ich zB bei nen neuen beitrag wenn ich auf absenden gehe:

Warning: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot insert the value NULL into column 'post_id', table 'phpbb.dbo.posts'; column does not allow nulls. INSERT fails., SQL state 23000 in SQLExecDirect in E:\www\Produktionssite\Forum\db\mssql-odbc.php on line 154

Warning: Cannot modify header information - headers already sent by (output started at E:\www\Produktionssite\Forum\db\mssql-odbc.php:154) in E:\www\Produktionssite\Forum\includes\page_header.php on line 449

Warning: Cannot modify header information - headers already sent by (output started at E:\www\Produktionssite\Forum\db\mssql-odbc.php:154) in E:\www\Produktionssite\Forum\includes\page_header.php on line 450

Warning: Cannot modify header information - headers already sent by (output started at E:\www\Produktionssite\Forum\db\mssql-odbc.php:154) in E:\www\Produktionssite\Forum\includes\page_header.php on line 451


wenn ich zB ein neues forum erstellen möchte:

Warning: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot insert the value NULL into column 'auth_attachments', table 'phpbb.dbo.forums'; column does not allow nulls. INSERT fails., SQL state 23000 in SQLExecDirect in E:\www\Produktionssite\Forum\db\mssql-odbc.php on line 154


lt. datenbank shema sollten auf diese tables null nicht erlauben!?
bin ratlos! bitte um eure hilfe!


das ganze läuft auf:
Microsoft IIS Webserver
PHP Version 4.3.1
MSSQL Server 2000


--------------
konfigurationsdaten kann ich zB ohne probleme über den adminbereich ändern!

Verfasst: 30.06.2003 11:05
von PhilippK
Prüf doch mal, ob die beiden Felder einen Null-Wert erlauben oder nicht. Wenn nein: einfach mal ändern :-)

Gruß, Philipp