hi all,
i installed the EntryReadCounter plugin (MT Support Forum) and changed the scripts to work with my PostgreSQL backend database and thereby i found a problem in the Plugindata.pm module of my Movable Type installation V2.6.4. in the Plugindata.pm module the Perl Storable module is used to serialize the Perl objects which shall be stored in the backend database into strings. now this strings may contain null bytes, which lead to problems inserting it into the PostgreSQL table 'mt_plugindata'. the INSERT operation fails because a null byte means end of query to the PostgreSQL db. escaping all null bytes in the serialzed string AND changing the data type of the 'mt_plugindata' field 'data' from 'text' to 'bytea' should solve the problem.
/hd
Photolog: http://DigitalFotoKunst.de/