Whenever I add a new entry, I get the following:
Code: Select all
Warning: pg_query(): Query failed: ERROR: syntax error at end of input at character 46 in /home/ler/serendipity/include/db/postgres.inc.php on line 83
Warning: pg_num_rows(): supplied argument is not a valid PostgreSQL result resource in /home/ler/serendipity/include/db/postgres.inc.php on line 84
Warning: pg_query(): Query failed: ERROR: syntax error at or near "," at character 64 in /home/ler/serendipity/include/db/postgres.inc.php on line 102
Error in INSERT INTO serendipity_entrycat (entryid, categoryid) VALUES (, 1)
ERROR: syntax error at or near "," at character 64
array (
0 =>
array (
'file' => '/home/ler/serendipity/include/functions_entries.inc.php',
'line' => 953,
'function' => 'serendipity_db_query',
'args' =>
array (
0 => 'INSERT INTO serendipity_entrycat (entryid, categoryid) VALUES (, 1)',
),
),
1 =>
array (
'file' => '/home/ler/serendipity/include/functions_config.inc.php',
'line' => 329,
'function' => 'serendipity_updertentry',
'args' =>
array (
0 =>
array (
'id' => '',
'title' => 'Test Entry for DEV\'s...',
'timestamp' => '1108513789',
'body' => 'This is a test entry so I can get the traceback :)
LER
',
'extended' => '',
'categories' =>
array (
0 => '1',
),
'isdraft' => 'false',
'allow_comments' => 'true',
'moderate_comments' => 'false',
'exflag' => false,
),
),
),
2 =>
array (
'file' => '/home/ler/serendipity/include/functions_config.inc.php',
'line' => 308,
'function' => 'serendipity_iframe',
'args' =>
array (
0 =>
array (
'id' => '',
'title' => 'Test Entry for DEV\'s...',
'timestamp' => '1108513789',
'body' => 'This is a test entry so I can get the traceback :)
LER
',
'extended' => '',
'categories' =>
array (
0 => '1',
),
'isdraft' => 'false',
'allow_comments' => 'true',
'moderate_comments' => 'false',
'exflag' => false,
),
1 => 'save',
),
),
3 =>
array (
'file' => '/home/ler/serendipity/serendipity_admin.php',
'line' => 28,
'function' => 'serendipity_is_iframe',
'args' =>
array (
),
),
)
INSERT INTO serendipity_entrycat (entryid, categoryid) VALUES (, 1)
Your entry has been saved
How can I help?