Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 11-14-2008, 06:22 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default We are getting , new user error

When a new user joins, and we then click on that users name. We are receiving a MySql Error

example: http://www.yobromofo.com/forum/members/mclizzie.html

yet http://www.yobromofo.com/forum/membe...erfloorau.html

works fine.

Any suggestions on a fix please, of have we got some more serious issues.

Error report is:

Code:
Database error in vBulletin 3.7.2:

Invalid SQL:

			SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
			FROM yobromofusernote AS usernote
			WHERE userid =;

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 3
Error Number  : 1064
Reply With Quote
  #2  
Old 11-14-2008, 06:52 PM
badboyz badboyz is offline
 
Join Date: May 2006
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try repairing ur tables and optimizing them or disable mods n try it n see if it happens.
Reply With Quote
  #3  
Old 11-14-2008, 06:57 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't see your forum....

As suggested, try disabling your mods.
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
  #4  
Old 11-14-2008, 07:32 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Can't see your forum....

As suggested, try disabling your mods.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
Thanks, will try that now.

I have disabled forums, whilst we upgrade to 3.7.4
That is now complete and will disable plugins.

Ste

--------------- Added [DATE]1226700017[/DATE] at [TIME]1226700017[/TIME] ---------------

Ok that has fixed the issue.

LOL

Now any suggestions as to how and where and what we need to do to fix it.

I have disabled, plugin after plugin, but still having the issue.

Ste

--------------- Added [DATE]1226702177[/DATE] at [TIME]1226702177[/TIME] ---------------

Just added a new user:

This is the error we get:

Database error in vBulletin 3.7.4:

Invalid SQL:
SHOW TABLE STATUS LIKE yobromof'user';

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 'yobromof'user'' at line 1
Error Number : 1064
Request Date : Saturday, November 15th 2008 @ 09:34:40 AM
Error Date : Saturday, November 15th 2008 @ 09:34:40 AM
Script : http://www.xxxxxxxx.com/forum/adminc....php?do=update
Referrer : http://www.xxxxxxxx.com/forum/admincp/user.php?do=add
IP Address : xxx.xxx.xxx.xxx
Username : admin
Classname : vB_Database
MySQL Version : 4.1.22-standard
Reply With Quote
  #5  
Old 11-14-2008, 08:43 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you disabled your plugins and it fixed it, then it is a plugin. Now you need to look for a plugin that adds that code into a query. When you said you've been disabling plugin by plugin, do you mean product by product or really plugin by plugin? You should try disabling the whole product cuz the line could be in a couple of plugins in the product.
Reply With Quote
  #6  
Old 11-14-2008, 09:31 PM
CodingMonkey CodingMonkey is offline
 
Join Date: Sep 2008
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"yobromof'user';"
I think your problem lies within that. It has to be a plugin modifying the table name in all sql queries for the user database.
Reply With Quote
  #7  
Old 11-14-2008, 09:56 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okies, I have been disabling Products, should i be disabling plugins?

Sorry for appearing Dense. LOL

Ste

--------------- Added [DATE]1226707240[/DATE] at [TIME]1226707240[/TIME] ---------------

The only thing I can think of that would change userid > to username, would be VBSEO ?

Could that be the cause?
Reply With Quote
  #8  
Old 11-14-2008, 10:15 PM
CodingMonkey CodingMonkey is offline
 
Join Date: Sep 2008
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which version of vBSEO? I currently use vBSEO 3.2.0 on my own board .. no issues that you're stating..
Reply With Quote
  #9  
Old 11-14-2008, 10:32 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TimberFloorAu View Post
Okies, I have been disabling Products, should i be disabling plugins?

Sorry for appearing Dense. LOL

Ste
You should definitely disable products, however there are also some plugins that are not part of products - they are usually listed under the "vbulletin" area in the plugins page. So, when you try disabling things to see what it is, disable both all your products *and* all the plugins.
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:04 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.04683 seconds
  • Memory Usage 2,242KB
  • Queries Executed 11 (?)
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
  • (1)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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