Page 1 of 1

Problems with mymood plugin

Posted: Thu Mar 30, 2006 11:29 pm
by DarKRaveR
Hi all,

I installed the mymood plugin - so far so good. When I try to write a new blog entry, I am getting an Error Message:
Warning: pg_query(): Query failed: ERROR: invalid input syntax for integer: "" in .../serendipity/include/db/postgres.inc.php on line 207
Error in SELECT value FROM serendipity_entryproperties WHERE entryid = '' AND property = 'mymood'
ERROR: invalid input syntax for integer: ""
The first obvious thing is: entryid is empty, defined as integer and unfortunately the value is enclosed in quotes, which postgres will not accept on numeric values (well at least integer) ...

When I checked the 'traceback', the following thing came to my attention:

Code: Select all

 array (
    'file' => '/var/www/vhosts/block.verfeiert.org/serendipity/include/admin/entries.inc.php',
    'line' => 476,
    'function' => 'serendipity_printentryform',
    'args' => 
    array (
      0 => '?',
      1 => 
      array (
        'serendipity[action]' => 'admin',
        'serendipity[adminModule]' => 'entries',
        'serendipity[adminAction]' => 'save',
      ),
      2 => 
      array (
      ),
    ),
  ),
It seems the third parameter passed to 'serendipity_printentryform' is an empty array. I am wondering what the third parameter is used for and if it should really be an empty array ...
[/code]