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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2011, 07:37 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Error Number : 1054 Unknown column 'edited' in 'where clause'

OK so anytime I rebuild my templates the following happens


Updating style sets with no parent information

No styles needed updating
Updating style information for each style...

Default vBulletin 4 ... (Templates) (StyleVars) (Replacement Variables) (CSS) (Controls) Done.

Classic SU v3 Lite ... (Templates) (StyleVars) (Replacement Variables) (CSS) (Controls) Done.

Classic SU v3 - Fixed ... (Templates) (StyleVars) (Replacement Variables) (CSS) (Controls) Done.

Classic SU v3 Green - Fixed ... (Templates) (StyleVars) (Replacement Variables) (CSS) (Controls) Done.

Classic SU v3 Green - Fluid ... (Templates) (StyleVars) (Replacement Variables) (CSS) (Controls) Done.

Classic SU v3 - Fluid ... (Templates) (StyleVars) (Replacement Variables) (CSS) (Controls) Done.

Mint ... (Templates) (StyleVars) (Replacement Variables) (CSS) (Controls) Done.

beta / unstable ... (Templates) (StyleVars) (Replacement Variables) (CSS) (Controls) Done.

Christmas 2011 ... (Templates) (StyleVars) (Replacement Variables) (CSS) (Controls) Done.

Aficionado Fluid ... (Templates) (StyleVars) (Replacement Variables) (CSS) Done.


^ All looks well, but below it I see this....

Code:
Database error in vBulletin 4.1.8:

Invalid SQL:

		SELECT templateid
		FROM template
		WHERE
			edited=1;

MySQL Error   : Unknown column 'edited' in 'where clause'
Error Number  : 1054
Request Date  : Wednesday, December 14th 2011 @ 09:33:11 PM
Error Date    : Wednesday, December 14th 2011 @ 09:33:12 PM
Script        : http://www.sociallyuncensored.eu/forums/admincp/misc.php?do=rebuildstyles
Referrer      : http://www.sociallyuncensored.eu/forums/admincp/misc.php?do=chooser
IP Address    : 7xx.xxx.xxx.xxx
Username      : Adam
Classname     : vB_Database_MySQLi
MySQL Version : 5.5.18-1~dotdeb.1
Solutions, thoughts, opinions?
Anything would be helpful.
Reply With Quote
  #2  
Old 12-14-2011, 09:15 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't see that exact query anywhere, and the template table has no "edited" column. Could that be from a mod? Try temporarily disabling all your mods by putting:

Code:
define('DISABLE_HOOKS', true);

at the top of your config.php file, right under the <?php
Reply With Quote
  #3  
Old 12-14-2011, 09:56 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I don't see that exact query anywhere, and the template table has no "edited" column. Could that be from a mod? Try temporarily disabling all your mods by putting:

Code:
define('DISABLE_HOOKS', true);

at the top of your config.php file, right under the <?php
You sir or miss, are correct.

Now to track down the evil doer.... sigh .... 200+ modifications to go through... Oh what fun.

edit: just noticed your name there, Kevin.... Thank you

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

@Kevin thank you so much for your willingness to help. I should have checked a possible mod conflict from the beginning and would have saved myself the trouble.

Removing the following 3 modifications resolved my issues, for anyone else who may in the future have a problem.

https://vborg.vbsupport.ru/showthread.php?t=266696
https://vborg.vbsupport.ru/showthread.php?t=152931
https://vborg.vbsupport.ru/showthread.php?t=243460

I confirmed the error by not only removing these on my site, but also by using them on a fresh install with no other modifications or templates.

This is not to say that these 3 are bad, but simply that your own results may vary.
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 04:12 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.04011 seconds
  • Memory Usage 2,187KB
  • 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
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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