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

Home » General » FUDforum in eGroupWare » Sql error 1064, ASC LIMIT 0,15 (Bug)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Sql error 1064, ASC LIMIT 0,15 [message #41074 is a reply to message #41071] Fri, 16 May 2008 17:51 Go to previous message
martinb is currently offline  martinb   Canada
Messages: 2
Registered: May 2008
Karma:
Junior Member
Correction for the bug

I find a correction for the fudforum bug in egroupware 1.4

In file class.so_sql.inc.php :

I replace the following line (675):

if ($order_by && stripos($order_by,'ORDER BY')===false && stripos($order_by,'GROUP BY')===false)
{
$order_by = 'ORDER BY '.$order_by;
}

by:


$strOrder = strlen($order_by);

if ($order_by && stripos($order_by,'ORDER BY')===false && stripos($order_by,'GROUP BY')===false)
{
$order_by = 'ORDER BY '.$order_by;
}

if ($strOrder == 4)
{
$order_by = '';
}


After the change, i can access in fudforum in egroupware 1.4

Martin
[Message index]
 
Read Message
Read Message
Previous Topic: Nouvelle version du manuel d'utilisateur v.1.02 pour eGroupWare v.1.4.002
Next Topic: automatic notification e-mail to new task members
Goto Forum:
  

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

Current Time: Sun Dec 01 06:51:17 GMT 2024

Total time taken to generate the page: 0.06378 seconds