vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Database reporting errors (https://vborg.vbsupport.ru/showthread.php?t=181507)

wobbly 06-04-2008 04:01 PM

Database reporting errors
 
I think I deleted a userprofile field (One I inserted) in admincp as it was made redundant by a hack. Now the database is reporting the following error via e-mail.

nvalid SQL:
SELECT mydbuser.userid, mydbuser.lastvisit, mydbuser.posts, mydbuserfield.field10 FROM `mydbuserfield` LEFT JOIN `mydbuser` ON mydbuserfield.userid = mydbuser.userid WHERE mydbuser.posts >= '0' AND mydbuserfield.field10 != '';

MySQL Error : Unknown column 'mydbuserfield.field10' in 'field list'
Error Number : 1054

Request Date : Wednesday, June 4th 2008 @ 11:03:23 AM
Error Date : Wednesday, June 4th 2008 @ 11:03:24 AM
Script : http://www.mywebsite.co.uk/cron.php?&rand=726150
Referrer : http://www.mywebsite.co.uk/
IP Address : 86.129.213.98
Username : Unregistered
Classname : vB_Database
MySQL Version :


I have confirmed in phpadmin that field10 does not exist and would like to know if anyone has any ideas for this newbie so that he can sort it all out.

Thank you for any help you can offer in advance.



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

Anybody?

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

Anybody?

Marco van Herwaarden 06-05-2008 09:58 AM

You have a Scheduled Task still running that is trying to use the removed field.

wobbly 06-07-2008 02:15 PM

Many thanks.

The errors were popping up and random intervals which sort of went agaisnt it being a cron job generating the error.

I did a search in phpmyadmin for field10 and found an entry in a user database, I deleted it but still the srror came up. I have altered the database and added field 10 back into the database until I get time to investigate further.

Many thanks for your help.


All times are GMT. The time now is 10:40 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.01056 seconds
  • Memory Usage 1,713KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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