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

Home » FUDforum Development » Bug Reports » SQL error in nntp.php
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
SQL error in nntp.php [message #27338] Mon, 05 September 2005 12:12 Go to previous message
KVentz is currently offline  KVentz   Russian Federation
Messages: 65
Registered: November 2002
Location: Moscow, Russia
Karma:
Member
When trying to run nntp.php with wrong parameter (news group number that not exists) it returns an SQL error:

%/usr/local/bin/php -q /hosting/provider/root/forum/scripts/nntp.php 32
(/hosting/provider/root/forum/include/theme/default/db.inc:74<br />
/hosting/provider/root/forum/include/theme/default/db.inc:174<br />
/hosting/provider/root/forum/scripts/nntp.php:80<br />
) 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1<br />
Query: SELECT id, forum_opt, message_threshold, (max_attach_size * 1024) AS max_attach_size, max_file_attachments FROM fud2_forum WHERE id=<br />
Server Version: 4.1.0-alpha-log<br />

Maybe better "Invalid group number" error?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: PATH_INFO styled links error
Next Topic: can not create (v. 2.7.2)
Goto Forum:
  

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

Current Time: Tue Nov 26 17:37:16 GMT 2024

Total time taken to generate the page: 0.04190 seconds