vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   mysql error number: 1136 (https://vborg.vbsupport.ru/showthread.php?t=74253)

taffy056 01-12-2005 02:31 PM

mysql error number: 1136
 
Hi,

I have a problem with people regisitering on my forums, it is probably related to a hack, can someone determine which hack is the problem from the info below, or maybe have a solution.

thanks
taffy

installed hacks:

Petz
Arcade
RPG
Vbookie
vbchat
Shoutbox Ver 1.04
vstocks


Code:

Database error in vBulletin 3.0.5:
 
Invalid SQL:
 
INSERT INTO user
 
(username, salt, password, passworddate, email, parentemail,
 
showvbcode, usertitle, joindate, daysprune, lastvisit, lastactivity, usergroupid, timezoneoffset,
 
options, maxposts, threadedmode, startofweek, ipaddress, pmpopup, referrerid,
 
reputationlevelid, reputation, autosubscribe, birthday, birthday_search)
 
VALUES
 
('testing',
 
'}u`',
 
'2f24bed5f62b0cd5c1f17568fcbe7f1d',
 
NOW(),
 
'testing@DOMAIN.net.uk',
 
7,
 
'',
 
1,
 
'Junior Member',
 
1105541745,
 
0,
 
1105541745,
 
1105541745,
 
3,
 
'0',
 
3159,
 
-1,
 
0,
 
1,
 
'84.*.*.*',
 
0,
 
0,
 
5,
 
10,
 
-1,
 
'05-05-0000',
 
'0000-05-05'
 
)
 
 
 
mysql error: Column count doesn't match value count at row 1
 
mysql error number: 1136
 
Date: Wednesday 12th of January 2005 03:55:45 PM
 
Script: http://domain.com/forum/register.php
 
Referer: http://domain.com/forum/register.php
 
Username: testing
 
IP Address: 84.*.*.*
 


manguish 01-12-2005 03:46 PM

When did the problem occur?

What was the last hack installed?

Think about these - if all was well until you installed something (i'm guessing you didn't hack them all at once without testing) then that'll point the finger.

Andreas 01-12-2005 03:53 PM

Check the changes you made to register.php.

The query which generates the error tries to insert a value (7) between email and parentemail for which the columnname is not defined.

taffy056 01-12-2005 10:09 PM

Hi Kirby,

Thanks for the answer to the problem, after checking register.php I discovered a stray line of code from a hack I removed, once deleted everything is fine :)

taffy


All times are GMT. The time now is 10:57 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.00981 seconds
  • Memory Usage 1,720KB
  • 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)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