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

Home » FUDforum Development » Bug Reports » Getting sql error for pdf output link
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Getting sql error for pdf output link [message #27322] Sun, 04 September 2005 18:12 Go to next message
kenjb is currently offline  kenjb   United States
Messages: 67
Registered: September 2004
Karma: 0
Member
I am currently getting this error message when the pdf output link is accessed. I have several of these error message listed in the error log viewer generated mostly from spider accesses.

(/home/www/mydomain/forums/pdf.php:213
/home/www/mydomain/forums/pdf.php:273
/home/www/mydomain/forums/pdf.php:1379
) 1146: Table 'forum01.fud26_tv_' doesn't exist
Query: SELECT seq FROM fud26_tv_ ORDER BY seq DESC LIMIT 1
_GET: array ( 'frm' => '3', 'page' => '1', 'rid' => '3', )
Server Version: 4.0.20-standard
[Referring Page] http://www.mydomain.com/forums/index.php?t=threadt&frm_id=3&rid=3


version: Powered by: FUDforum 2.7.2.
php version: PHP Version 4.3.4 (CGI)

I have run the consistency checker and optimizer. I also have rebuilt the theme and then run the checker and optimizer again to be sure. I do know that this feature worked for me previously. I have checked the patch listed on the FUD forum that showed a typo for the pdf.php.t file. That looked okay to me.

Why would "Table 'forum01.fud26_tv_' doesn't exist" all of a sudden?

Any ideas as to why the pdf link no longer works for me based on what I have listed here?

What is required on the server side for this link to work, something not included with FUD that is part of the php libraries?

Thanks


kenjb
Re: Getting sql error for pdf output link [message #27323 is a reply to message #27322] Sun, 04 September 2005 18:16 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Looks like the forum id is missing, the patch below should fix it:
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=7289
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=7298


FUDforum Core Developer

[Updated on: Sun, 04 September 2005 18:17]

Report message to a moderator

Re: Getting sql error for pdf output link [message #27326 is a reply to message #27323] Sun, 04 September 2005 18:32 Go to previous message
kenjb is currently offline  kenjb   United States
Messages: 67
Registered: September 2004
Karma: 0
Member
That patch worked great. Thank you sir.

kenjb
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Can't view topic name in EGW
Next Topic: 中文bug
Goto Forum:
  

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

Current Time: Mon Sep 16 17:02:52 GMT 2024

Total time taken to generate the page: 0.04188 seconds