Invalid input syntax for type double precision

Discuss here how to configure hoteldruid and better use its features.

Moderator: marco

Post Reply
Chribu
Posts: 10
Joined: Sat May 19, 2007 3:59 pm

Invalid input syntax for type double precision

Post by Chribu »

Hi, i'm getting the following errors

Image
and then
Image
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post by marco »

Hello,
this bug only affects postgresql database, here is the file you have to replace in php-residence 0.6.4 directory to solve it:

http://www.digitaldruid.net/download/creaprezzi.zip

Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Chribu
Posts: 10
Joined: Sat May 19, 2007 3:59 pm

Post by Chribu »

I think this is connected

Warning: pg_exec() [function.pg-exec]: Query failed: ERROR: invalid input syntax for type double precision: "" in /home/chribu/websites/php-residence/includes/funzioni_postgresql.php on line 55

ERROR in: select metodo_pagamento,saldo_prenota,data_inserimento from soldi2007 where saldo_prenota != '' and motivazione LIKE '%;2' order by data_inserimento

Warning: pg_numrows(): supplied argument is not a valid PostgreSQL result resource in /home/chribu/websites/php-residence/includes/funzioni_postgresql.php on line 75
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post by marco »

I will try to correct all these errors in the next php-residence version, meanwhile you can use a previous version of postgresql or mysql.

Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Post Reply