vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Database error in vBulletin 3.0.3: (https://vborg.vbsupport.ru/showthread.php?t=71964)

Daniel.C 11-20-2004 10:10 AM

Database error in vBulletin 3.0.3:
 
Database error in vBulletin 3.0.3:
Invalid SQL: SELECT title, usergroupid FROM vb3_usergroup WHERE usergroupid IN (6,,) ORDER BY title
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 ') ORDER BY title' at line 1
mysql error number: 1064
Date: Saturday 20th of November 2004 07:06:30 AM
Script: (site url)
Referer:
Username: Sparky

Any Ideas how to correct this error ? I have been having problems with it for a little while now.

Dean C 11-20-2004 10:16 AM

Which file are you getting this error in. Also what modifications have you installed recently? I can see your error.

Daniel.C 11-20-2004 10:20 AM

well i get this error whenever i try to edit an admin profile, buti havn't installed anything recently, the onlys mods i have used are the arcade and the IRC chat thingy.

I also get this error everytime i try and very the "whos one line page" logged in as an admin.


Database error in vBulletin 3.0.3:
Invalid SQL:
SELECT calendarpermission.usergroupid, calendarpermission.calendarpermissions,calendar.ca lendarid,calendar.title, displayorder
FROM vb3_calendar AS calendar
LEFT JOIN vb3_calendarpermission AS calendarpermission ON (calendarpermission.calendarid=calendar.calendarid AND usergroupid IN(, 6))
ORDER BY displayorder ASC

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 ' 6))
ORDER BY displayorder ASC' at line 3
mysql error number: 1064
Date: Saturday 20th of November 2004 07:21:12 AM
Script: http://www.infinitiveintentions.com/forums/online.php?
Referer:
Username: Sparky

Logikos 11-20-2004 03:54 PM

Seems you installed a hack incorrecly, upload a fresh copy of the vB files in which you get the errors, then if any hacks you installed need to be changed on those files, then go ahead and change them again.

Daniel.C 11-20-2004 07:59 PM

ummm to be honest im not sure what files to reload, which ones do i need to re upload ?

Zachery 11-20-2004 08:23 PM

Quote:

Originally Posted by Daniel.C
ummm to be honest im not sure what files to reload, which ones do i need to re upload ?

well all of them would be a very good starting point :)

Daniel.C 11-21-2004 08:18 AM

Ok well i re uploaded all the files but it hasn't solved the problem i'm affraid. Any other suggestions ?

Zachery 11-21-2004 01:06 PM

Quote:

Originally Posted by Daniel.C
Ok well i re uploaded all the files but it hasn't solved the problem i'm affraid. Any other suggestions ?

You reuploaded all the default files from the vB Zip?

Daniel.C 11-21-2004 03:34 PM

Yeah i downloaded a the file again uploaded all the files and i still have the error. i don't know what to next.

Daniel.C 11-22-2004 05:00 PM

Ok i re uploaded all the files and i still get the error anyone have any ideas ?


All times are GMT. The time now is 04:45 PM.

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.00957 seconds
  • Memory Usage 1,726KB
  • 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_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