View Single Post
  #112  
Old 09-20-2004, 12:08 AM
Brahm Brahm is offline
 
Join Date: Jan 2002
Location: Texas, USA
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dan,
I am losing my mind! Heh. I have installed your hack and there were no problems during installation. I then installed the Yabba hack "last 10" and have got it working, unless you decide to log out and try to access the page. Then you get a message:
Quote:
There seems to have been a slight problem with the Ashkins' Family Web Site database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.
The error message I get is this:

Quote:
<!--
Database error in vBulletin 3.0.3:

Invalid SQL: SELECT
post.postid, post.nowplaying AS post_nowplaying,
thread.threadid, thread.title AS thread_title,
user.userid, user.username
FROM
post AS post,
thread AS thread,
user AS user
LEFT JOIN deletionlog AS dlog_t ON (dlog_t.primaryid = thread.threadid AND dlog_t.type = 'thread')
LEFT JOIN deletionlog AS dlog_p ON (dlog_p.primaryid = post.postid AND dlog_p.type = 'post')
WHERE
thread.threadid = post.threadid AND
thread.forumid IN() AND
thread.visible = 1 AND
dlog_t.primaryid IS NULL AND
dlog_p.primaryid IS NULL AND
post.visible = 1 AND
thread.open &lt;&gt; 10 AND
user.userid = post.userid AND
post.nowplaying != ''
ORDER BY post.postid DESC LIMIT 10
mysql error: 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 ') AND
thread.visible = 1

mysql error number: 1064

Date: Sunday 19th of September 2004 07:52:28 PM
Script: http://ashkins.net/forum/index.php
Referer: http://www.ashkins.net/forum/login.php?do=logout
Username: Unregistered
IP Address: xx.xx.xx.xx
-->
My site uses "Vbindex" and I am using Vbulletin 3.03. It does this on my forum index page as well when I try it. I have been working on this for a while now and can't seem to get it to work. Whenever I insert the code into my index.php and save it, I am able to see the last ten displayed properly, but if I log out of the page, it will not let me back in. Web page is http://ashkins.net/forum
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02495 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete