Hi, I just instaled the module and when I call theme function
theme('shrinktheweb_image', array('url' => $url));
I get this error message:
PDOException: SQLSTATE[25P02]: In failed sql transaction: 7 ERROR: current transaction is aborted, commands ignored until end of transaction block: SELECT 1 AS expression FROM {shrinktheweb_log} shrinktheweb_log WHERE ( (id IS NULL ) ) FOR UPDATE; Array ( ) w _shrinktheweb_get_response() (line 139 in shrinktheweb.module).
Comments
Comment #1
geobaev commentedAre you using PostgreSQL as a database server? The module is not tested to work with PostgreSQL.
Comment #2
peem83 commentedYes I do.
Comment #3
puravida commentedHello peem83,
While the latest v6.x-1.1 & v7.x-1.3 releases have still not been tested with PostgreSQL, the module has been overhauled quite a bit. I suppose that geobaev would know better than I, if our updates would affect this type of issue, but it might be worth updating and giving it another try.
Comment #4
devdokimov commentedThe problem is with the row names of the shrinktheweb_log table. It's not possible to use 'xmax' and 'full' as the row names in PostgreSQL.
Comment #5
devdokimov commentedComment #7
devdokimov commented