Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-07-2008, 07:35 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default I'm getting a database error. Help!

I just started to get this error:

Quote:
Database error The [Removed URL] database has encountered a problem. Please try the following:
  • Load the page again by clicking the [Removed] button in your web browser.
  • Open the www.XXXXXXXXXX home page, then try to open another page.
  • Click th [Removed] button to try another link.
The [removed] forum technical staff have been notified of the error, though you may contact if the problem persists.
We apologise for any inconvenience.
I haven't installed any hacks that would cause that. Also, I have reinstalled 3.7.3 and got the same error right after step 5 of 5.
Reply With Quote
  #2  
Old 09-07-2008, 07:41 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

View the source on the page and post the actual database error you see at the bottom.

I just grabbed it:
Code:
<!--
Database error in vBulletin 3.7.3:

Invalid SQL:
INSERT INTO mailqueue (dateline,toemail,fromemail,subject,message,header) VALUES ('1220820083','cthulu@q.com','Webmaster@yoursite.com','We miss you!','&lt;p&gt;Dear Wally's Dad&lt;/p&gt;

&lt;p&gt;We noticed you have not been posting at yoursite for a while. The forum has greatly expanded and  we look forward to seeing you &lt;/p&gt;
&lt;p&gt;If you don\'t remember your password, you can request it here: &lt;a href=&quot;http://www.yoursite.com/login.php?do=lostpw&quot;&gt;http://www.yoursite.com/forum/login.php?do=lostpw&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We hope to see you soon&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kindest Regards&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.yoursite.com&quot;&gt;yoursite&lt;/a&gt;&lt;/p&gt;','MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
To: Wally's Dad &lt;cthulu@q.com&gt;
From: yoursite - Forums Reminder Service &lt;Webmaster@yoursite.com&gt;
');

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 's Dad&lt;/p&gt;

&lt;p&gt;We noticed you have not been posting at yoursite for a ' at line 1
Error Number  : 1064
Request Date  : Sunday, September 7th 2008 @ 03:41:22 PM
Error Date    : Sunday, September 7th 2008 @ 03:41:23 PM
Script        : http://www.yoursite.com/
Referrer      : https://vborg.vbsupport.ru/showthread.php?t=190286
IP Address    : xxxxxx
Username      : 
Classname     : vB_Database
MySQL Version : 
-->
It doesn't like what you have in the "To:" field since the username has an apostrophe. You need to ask in that modification thread for help fixing this error.
Reply With Quote
  #3  
Old 09-07-2008, 07:51 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
View the source on the page and post the actual database error you see at the bottom.

I just grabbed it:
Code:
<!--
Database error in vBulletin 3.7.3:

Invalid SQL:
INSERT INTO mailqueue (dateline,toemail,fromemail,subject,message,header) VALUES ('1220820083','cthulu@q.com','Webmaster@yoursite.com','We miss you!','&lt;p&gt;Dear Wally's Dad&lt;/p&gt;

&lt;p&gt;We noticed you have not been posting at yoursite for a while. The forum has greatly expanded and  we look forward to seeing you &lt;/p&gt;
&lt;p&gt;If you don\'t remember your password, you can request it here: &lt;a href=&quot;http://www.yoursite.com/login.php?do=lostpw&quot;&gt;http://www.yoursite.com/forum/login.php?do=lostpw&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We hope to see you soon&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kindest Regards&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.yoursite.com&quot;&gt;yoursite&lt;/a&gt;&lt;/p&gt;','MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
To: Wally's Dad &lt;cthulu@q.com&gt;
From: yoursite - Forums Reminder Service &lt;Webmaster@yoursite.com&gt;
');

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 's Dad&lt;/p&gt;

&lt;p&gt;We noticed you have not been posting at yoursite for a ' at line 1
Error Number  : 1064
Request Date  : Sunday, September 7th 2008 @ 03:41:22 PM
Error Date    : Sunday, September 7th 2008 @ 03:41:23 PM
Script        : http://www.yoursite.com/
Referrer      : https://vborg.vbsupport.ru/showthread.php?t=190286
IP Address    : xxxxxx
Username      : 
Classname     : vB_Database
MySQL Version : 
-->
It doesn't like what you have in the "To:" field since the username has an apostrophe. You need to ask in that modification thread for help fixing this error.
I can't access my ACP or I would change the name myself. I guess I should ask the author of the Mod anyways?
Reply With Quote
  #4  
Old 09-07-2008, 07:55 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm surprised that error is stopping you from accessing the ACP though. But anyway, you can disable your plugins through your config.php file
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
Reply With Quote
  #5  
Old 09-07-2008, 08:08 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
I'm surprised that error is stopping you from accessing the ACP though. But anyway, you can disable your plugins through your config.php file
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 

Thanks Lynne!!
Reply With Quote
  #6  
Old 09-07-2008, 09:55 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I may be wrong here but I think the modification may be vulnerable to attack. You should ask the author of the hack to investigate this error.
Reply With Quote
  #7  
Old 09-07-2008, 10:26 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Opserty View Post
I may be wrong here but I think the modification may be vulnerable to attack. You should ask the author of the hack to investigate this error.
Thank you! I shall.
Reply With Quote
  #8  
Old 09-08-2008, 06:40 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alternatively, you could report it and a member of staff will take a look.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:15 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.04340 seconds
  • Memory Usage 2,238KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete