FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Error creating thread in fud 2.3.8
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Error creating thread in fud 2.3.8 [message #9536] Mon, 07 April 2003 16:45 Go to next message
sergico is currently offline  sergico   Italy
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 Go to previous message
Ilia is currently offline  Ilia   Canada
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Error while creating a new forum
Next Topic: Long E-mail adresses dont work in ver. 2.3.5
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 03:31:22 GMT 2024

Total time taken to generate the page: 0.02402 seconds