vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   PM Registered User Database Error (https://vborg.vbsupport.ru/showthread.php?t=145314)

hippiesimz 04-20-2007 02:45 AM

PM Registered User Database Error
 
HI there, i have a small forum which has 5 user group ( admin, moderator, super moderator, registered user and banned user ), admin, moderator and supermoderator can send PM to anyone but with Registered user everytime they send PM to any user it said Database Error, it just happened this morning, can someone help me. thanks. ( i tried to make another user group and it still cant send PM) any help will be really appreciate it :)

harmor19 04-20-2007 02:55 AM

What is the error?

hippiesimz 04-20-2007 03:14 AM

Quote:

Originally Posted by harmor19 (Post 1231679)
What is the error?

Hi there..

Database Error . with No Error Code

http://aycu18.webshots.com/image/152...5529628_rs.jpg

<!--
Database error in vBulletin 3.6.3:

Invalid SQL:
SELECT `username` FROM `user` WHERE `usergroupid` IN ();

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 ')' at line 1
Error Number : 1064
Date : Friday, April 20th 2007 @ 03:33:19 PM
Script : http://www.indomp3z.org/private.php?...rtpm&amp;pmid=
Referrer : http://www.indomp3z.org/private.php?do=newpm
IP Address : 203.214.35.30
Username : zippo
Classname : vb_database
-->
=================================================

thanks.

Marco van Herwaarden 04-20-2007 07:24 AM

First make sure that if you have any members in your Tachy Goes Coventry, it only contain userid's and not usernames.

If that is not the cause, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.


All times are GMT. The time now is 10:38 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.01172 seconds
  • Memory Usage 1,718KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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