vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   mySQL error on emailing users password (https://vborg.vbsupport.ru/showthread.php?t=52276)

dodgy 04-28-2003 06:57 AM

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

dodgy 04-28-2003 07:16 AM

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


Erwin 04-28-2003 08:35 AM

Run this query:

REPAIR TABLE useractivation;

Please backup your db first.

Xenon 04-28-2003 03:36 PM

"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...

dodgy 05-01-2003 05:42 AM

1 Attachment(s)
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:(

dodgy 05-01-2003 05:44 AM

1 Attachment(s)
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

Xenon 05-01-2003 09:17 AM

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

dodgy 05-02-2003 03:56 AM

thanks Xenon! just re-uploading files fixed the problem :)


All times are GMT. The time now is 01:44 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.01079 seconds
  • Memory Usage 1,724KB
  • 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
  • (8)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