vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Help with MySQL error. (https://vborg.vbsupport.ru/showthread.php?t=58831)

burritoX 11-26-2003 06:34 PM

Help with MySQL error.
 
I know it's stickied but I don't understand how to fix this. I just installed vBhome Lite and it gave me this error when I went to the index.php page:

PHP Code:

Database error in vbHome 2.3.2:

Invalid SQL
  
SELECT COUNT(*) AS total
  FROM thread
    WHERE forumid IN
(  ) AND dateline>1069875965

mysql error
You have an error in your SQL syntax near ') AND dateline>1069875965
at line 4

mysql error number
1064

Date
Wednesday 26th of November 2003 02:33:42 PM
Script
: [url]http://www.leethacks.com/forums/index.php[/url]
Referer

I tried searching for the code in index.php. Does this have anything to do with the error:

PHP Code:

 SELECT COUNT(*) AS total
  FROM thread
    WHERE forumid IN
$articleforum ) AND dateline>$bbuserinfo[lastvisit]
"); 

Maybe the error doesn't know where the $articleforum is because it's blank in the top part?

MindTrix 11-26-2003 07:17 PM

Change some of your settings in your Admin CP/vbulletin options/front page

Just mess things about and save, then reload your front page, lemme know if that works

burritoX 11-26-2003 07:29 PM

Wow. It works, But it doesn't show my articles from my Announcements forum. Do you know how to fix this?

Btw, thanks for helping me get it to work, I really appreciate it.

MindTrix 11-26-2003 07:40 PM

Quote:

Originally Posted by burritoX
Btw, thanks for helping me get it to work, I really appreciate it.

No problem, just doing my job! Lol nah i had that error most of the time aswell and noticed thats a way to fix it :)

As for your other one, mine fixed itself after a little while, and some more posting in the appropriate sections if you understand me.

Try and and report back.

burritoX 11-26-2003 07:50 PM

Hmm. Right now I'm playing with it a little. I noticed that when I add more Forum ID's in the "Articles Forum" option It shows articles but when I put less (like from 1 -3) it doesn't show anything.

MindTrix 11-26-2003 07:52 PM

Hmm that sounds familiar. Try working around it, like having 3 or 4 forums show :p

burritoX 11-26-2003 08:00 PM

Okay, I got it to show the articles. I just need one more question than I'm set. When it shows my articles it doesn't show the words. I know I should play with it a little but I don't think I have time to go through all the numbers from 1 - Million in the "Maximum Character to show" option. Got any ideas?

Thanks again :D.

MindTrix 11-26-2003 08:03 PM

Nopes im just in the process at learning php etc :p
I had all the problems you have mentioned but for me they just sorted themselves out. If yours dont i suggest you ask for help in the portals thread as that is where you will stand more chance of getting a helping response (Usualy from the portals author as they seem to be pretty good at helping out errors when it comes to their portals)

burritoX 11-26-2003 08:05 PM

Cool, thanks for all your help.

MindTrix 11-26-2003 08:06 PM

anytime ;)


All times are GMT. The time now is 12:34 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01480 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete