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

Reply
 
Thread Tools Display Modes
  #1  
Old 04-28-2003, 06:57 AM
dodgy dodgy is offline
 
Join Date: Aug 2002
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default mySQL error on emailing users password

I'm having sum problems when emailing users their passwords:

users are getting their e-mail but password area is clear


Username = Artur
Password =

Don't forget that they are case sensitive!


and when doing it through admin then this error shows:


Database error in vBulletin 2.3.0:

Invalid SQL: INSERT INTO useractivation VALUES (NULL,'1','1051515766','42124146',1)
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Date: Monday 28th of April 2003 10:42:46 AM
...


im running vbulletin 2.3 and vbportal

thanks
Reply With Quote
  #2  
Old 04-28-2003, 07:16 AM
dodgy dodgy is offline
 
Join Date: Aug 2002
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm tried to run repair.php with ?html=1&check=1

and got this:


Database error in vBulletin 2.3.0:

Invalid SQL: CHECK TABLE access
mysql error: You have an error in your SQL syntax near 'CHECK TABLE access' at line 1

mysql error number: 1064

Reply With Quote
  #3  
Old 04-28-2003, 08:35 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Run this query:

REPAIR TABLE useractivation;

Please backup your db first.
Reply With Quote
  #4  
Old 04-28-2003, 03:36 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"Column count doesn't match value count at row 1"

you can runs infinit repair queries and that won't help you.

there are two possibilities:
1) you have wrongly hacked a file. (register.php)
2) you have made a mistake while upgrading.

i think it's 2, because the old email password template is showing, that you haven't made the template changes needed for the upgrade...
Reply With Quote
  #5  
Old 05-01-2003, 05:42 AM
dodgy dodgy is offline
 
Join Date: Aug 2002
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

REPAIR TABLE useractivation; didn?t work

>1) you have wrongly hacked a file. (register.php)
didn?t touch it. Didn?t touch anything

>2) you have made a mistake while upgrading.

I was running v2.23 I think and it happened after some weird user registered. After I was informed that new people cant register coz of sum error, I upgraded it to 2.3 without any problems.

I noticed that Templates are looking weird from admin page (I've attached screenshot). Basically most of the default templates are empty. Except few now and then. When I click on "change original" its empty.

Otherwise forum is working fine.. just that new registration and sending passwords out
Attached Images
File Type: jpg admin.jpg (18.0 KB, 0 views)
Reply With Quote
  #6  
Old 05-01-2003, 05:44 AM
dodgy dodgy is offline
 
Join Date: Aug 2002
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and thats how templates looks through phpmyadmin (screenshot attached)

all '-1' dont show up. some that have '1' do show up but changing them to '1' didnt help

forum is at http://artur.bluemoon.ee/forums
Attached Images
File Type: jpg mysql.jpg (22.9 KB, 0 views)
Reply With Quote
  #7  
Old 05-01-2003, 09:17 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you have made a mistake while upgading as i said.

this problem was resolved during vb2.2.6
reupload the original vb2.3.0 files again and redo the upgrade
Reply With Quote
  #8  
Old 05-02-2003, 03:56 AM
dodgy dodgy is offline
 
Join Date: Aug 2002
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks Xenon! just re-uploading files fixed the problem
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 11:19 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.04318 seconds
  • Memory Usage 2,245KB
  • Queries Executed 12 (?)
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)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
  • (2)postbit_attachment
  • (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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete