vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   database error (https://vborg.vbsupport.ru/showthread.php?t=174167)

xixxon 03-25-2008 10:28 PM

database error
 
i got this db error message...someone please help me out

Quote:

Invalid SQL:
SELECT * FROM user WHERE username='Fa'Sol';

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 'Sol'' at line 1
Error Number : 1064
Date : Tuesday, March 25th 2008 @ 04:24:41 PM
Script : http://xxxx/4room/showthread.php?t=1074&page=2
Referrer : http://xxxx/4room/showthread.php?t=1074
IP Address : 206.224.254.17
Username : xxxx
Classname : vB_Database
MySQL Version : 5.0.45-community
is it because the username have the (') thing ??

Jase2 03-25-2008 10:31 PM

This is caused by a third party add on.

To troubleshoot this, first 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. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

[Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

Next, disable all plugins.

Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it. Do you have the same problem?

Regards Jason :)

Opserty 03-26-2008 10:24 AM

Have you got modifications installed on your board? I recommend you disable them as soon as possible, one of them have a severe security exploit which could be harmful to you board. If you downloaded the modifications from here at vBulletin you should check the modification threads to see if security exploits have been found. (Normally those with exploits are either updated and/or placed in the Modification Graveyard here at vB.org)

I also recommend you create a back up of your database immediately if this exploit is used it is possible that you could lose your board. If all your modifications are secure (once you've checked them against the threads) PM a list of the ones you have installed.

xixxon 03-27-2008 01:22 PM

its like 2 or 3 weeks i haven't install any modification...so do i have to disable each at a time and check? or just uninstalll all and reinstall again?

Marco van Herwaarden 03-27-2008 01:29 PM

Reinstalling will not solve anything if you have a serious security issue with the modification!

My advice: Disable them 1 by 1 until this error goes away and once you have identified the problem modification remove it and don't install this again.

Dismounted 03-28-2008 03:13 AM

And if it was downloaded on vBulletin.org, report it. :)

xixxon 03-31-2008 01:33 AM

thanks for helping...i fixxed it...1 of my co-admin installed it so i dun even know where it is :D


All times are GMT. The time now is 08:55 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.01772 seconds
  • Memory Usage 1,725KB
  • 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
  • (7)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