Error creating thread in fud 2.3.8 [message #9536] |
Mon, 07 April 2003 16:45 |
sergico
Messages: 12 Registered: December 2002
Karma: 0
|
Junior Member |
|
|
Hello everyone,
I just installed fud 2.3.8 but as soon as I tryed to create a new topic in the test forum (the default one) I receive the following error:
Warning: pg_query() query failed: ERROR: Unable to identify an operator '*' for types 'numeric' and 'double precision' You will have to retype this query using an explicit cast in /var/www/html/fud/index.php on line 131
Warning: pg_result_error() expects parameter 1 to be resource, boolean given in /var/www/html/fud/index.php on line 132
(t=post) :
Query: INSERT INTO fud23_thread_view (thread_id,forum_id,page,pos) SELECT thread_id,forum_id,CEIL(pos/40.0),(pos-(CEIL(pos/40.0)-1)*40.0) FROM fud23_ftvt_942483485
I'm using with succes version 2.3.7 of the forum on another machine and never receive this kind of error, someone has some suggestion on fixing it?
Thanks
Sergio "33%"
|
|
|
Re: Error creating thread in fud 2.3.8 [message #9639 is a reply to message #9536] |
Sun, 13 April 2003 15:24 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Modify th.inc.t
and change:
,(pos-(CEIL(pos/40.0)-1)*40.0)
to
,(pos-(CEIL(pos/40.0)-1)*40)
Then rebuild your theme.
FUDforum Core Developer
|
|
|