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, plz help me (https://vborg.vbsupport.ru/showthread.php?t=196543)

mrwinxp 11-17-2008 02:47 PM

Database error, plz help me
 
My website is working but when I login to admincp and click on Scheduled Task Manager, it say:

Code:

Database error in vBulletin 3.7.4:
Invalid SQL:

                SELECT cron.*, IF(product.productid IS NULL OR product.active = 1, cron.active, 0) AS effective_active
                FROM cron AS cron
                LEFT JOIN product AS product ON (cron.product = product.productid)
                ORDER BY effective_active DESC, nextrun;

MySQL Error  : Unknown column 'cron.active' in 'field list'

Error Number  : 1054

Request Date  : Monday, November 17th 2008 @ 11:45:37 PM

Error Date    : Monday, November 17th 2008 @ 11:45:37 PM

Script        : http://forum.xxxx.com/admincp/cronadmin.php?do=modify

Referrer      : http://forum.xxx.com/admincp/index.php?do=nav

IP Address    : 117.xxx.xxx.xxx

Please show me the way to fix it. Thank you very much

Lynne 11-17-2008 03:28 PM

Take a look at your database (using phpMyAdmin or whatever your webhost has supplied for you) - the cron table. Do you have a column named active in there?

mrwinxp 11-30-2008 05:20 AM

Quote:

Originally Posted by Lynne (Post 1667558)
Take a look at your database (using phpMyAdmin or whatever your webhost has supplied for you) - the cron table. Do you have a column named active in there?

Yes it's here

https://vborg.vbsupport.ru/external/2008/11/6.jpg

Lynne 11-30-2008 03:53 PM

Hmmmm, perhaps try optimize/repair on the table? That's a standard vb query and if the column is there, I'm not sure why you would get the error.


All times are GMT. The time now is 01:56 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.01127 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_code_printable
  • (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