Vote functionality gives errors

Please report bugs here!

Moderator: Thorsten

Post Reply
kjusupov
Posts: 36
Joined: Fri Jul 03, 2009 2:06 am

Vote functionality gives errors

Post by kjusupov »

I've posted about this bug in rc3, seems in final release it's still there...

Note: the actual vote gets commited into DB...

Code: Select all

phpMyFAQ warning [2]: pg_query() [function.pg-query]: Query failed: ERROR: operator does not exist: character varying > integer LINE 6: ... artikel = 2 AND (ip = '192.168.0.86' AND datum > 12482782... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. in Pgsql.php on line 91

phpMyFAQ warning [2]: pg_num_rows(): supplied argument is not a valid PostgreSQL result resource in Pgsql.php on line 176
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Vote functionality gives errors

Post by Thorsten »

Hi,

I couldn't reproduce this... I'll take a deeper look at that. It's really a strange issue.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Vote functionality gives errors

Post by Thorsten »

Hi,

which version of PostgreSQL do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Vote functionality gives errors

Post by Thorsten »

Hi,

the bug is fixed in SVN for 2.5.1 and 2.6.0-dev. Please download a stable snapshot tomorrow for testing. Thanks for helping!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
kjusupov
Posts: 36
Joined: Fri Jul 03, 2009 2:06 am

Re: Vote functionality gives errors

Post by kjusupov »

Thorsten wrote:Hi,
which version of PostgreSQL do you use?
bye
Thorsten
Hi Thorsten,

Code: Select all

SELECT version();
-[ RECORD 1 ]-------------------------------------------------------------------------------------------------------------------------
version | PostgreSQL 8.3.7 on i386-apple-darwin9.7.0, compiled by GCC i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Vote functionality gives errors

Post by Thorsten »

Hi,

thanks, we tested the fix on the same version. Should work now.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply