Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Firefly, can you help me please? Details »»
Firefly, can you help me please?
Version: , by Peace Peace is offline
Developer Last Online: Mar 2003 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-05-2002 Last Update: Never Installs: 0
 
No support by the author.

Quote:
Database error in vBulletin 2.2.6:

Invalid SQL: INSERT INTO userfield (userid,field10,field29,field11,field8,field6,fiel d1,field4,field2,field12,field13,field15,field3,fi
eld16,field17,field18,field19,field20,field22,fiel d21,field24,field25,field26,field27,field28) VALUES (,'','Male','','','','','','','','','','','','','' ,'','','','','','','','','')
mysql error: You have an error in your SQL syntax near ''','Male','','','','','','','','','','','','','', '','','','','','','','','')' at line 1

mysql error number: 1064

Quote:
Invalid SQL: SELECT user.*,FROM_UNIXTIME(joindate) AS joindate,FROM_UNIXTIME(lastvisit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,FROM_UNIXTIME(awaydate) AS awaydate
avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar
FROM user
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
WHERE user.userid=1
mysql error: You have an error in your SQL syntax near 'avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar
' at line 2

mysql error number: 1064




Quote:
Database error in vBulletin 2.2.6:

Invalid SQL: INSERT INTO userfield (userid,field10,field9,field11,field8,field6,field 1,field4,field2,field12,field13,field15,field3,fie
ld16,field17,field18,field19,field20,field22,field 21,field24,field25,field26,field27,field28) VALUES (,'','Male','19','','','','','','','','','','','', '','','','','','','','','','')
mysql error: You have an error in your SQL syntax near ''','Male','19','','','','','','','','','','','',' ','','',' at line 1

mysql error number: 1064




Quote:
Invalid SQL: INSERT INTO userfield (userid,field10,field9,field11,field8,field6,field 1,field4,field2,field12,field13,field15,field3,fie
ld16,field17,field18,field19,field20,field22,field 21,field24,field25,field26,field27,field28) VALUES (,'','Female','','','','','','','','','','','','', '','','','','','','','','','')
mysql error: You have an error in your SQL syntax near ''','Female','','','','','','','','','','','','',' ','','','','','','','','','')' at line 1

mysql error number: 1064

Date: Tuesday 02nd of July 2002 11:00:06 PM
Script: http://www.theonline***.com/foru...m/register.php3
Referer: http://www.theonline***.com/forum/register.php3


Quote:
Invalid SQL: INSERT INTO user (userid,username,password,email,parentemail,coppau ser,homepage,icq,aim,yahoo,signature,adminemail,sh
owemail,invisible,usertitle,joindate,cookieuser,da ysprune,lastvisit,lastactivity,usergroupid,timezon
eoffset,emailnotification,receivepm,emailonpm,opti ons,birthday,maxposts,startofweek,ipaddress,pmpopu
p,referrerid,nosessionhash,starlevel,starimg,gende r) VALUES (NULL,'Test 4','test','test@test.com','','0','http://','','','','','1','1','0','New-bie','1025736962','1','-1','1025736962','1025736962','3','0','1','1','0',' 15','0','-1','1','216.176.168.147','0','0','1','','','gender ')
mysql error: Unknown column 'gender' in 'field list'

mysql error number: 1054

Date: Wednesday 03rd of July 2002 05:56:02 PM
Script: http://www.theonline***.com/foru...s/register.php3
Referer: http://theonline****.com/forums/register.php3

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-06-2002, 06:48 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this the gender hack mate?
Reply With Quote
  #3  
Old 07-06-2002, 10:08 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

think so

first of all, have you run al querys correct in the installation file:
Unknown column 'gender' in 'field list'

secound quote:
AS awaydate
avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar

missing a , between awydate and avatar.avatarpath
Reply With Quote
  #4  
Old 07-06-2002, 12:20 PM
Peace Peace is offline
 
Join Date: Apr 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by neo
Is this the gender hack mate?

I don't have a gender hack installed. I did create a gender "profile field" via the Admin CP.
Reply With Quote
  #5  
Old 07-06-2002, 12:24 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

then you cant insert into the user table gender=...., you have to insert this value in the userfield table
Reply With Quote
  #6  
Old 07-06-2002, 12:26 PM
Peace Peace is offline
 
Join Date: Apr 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Xenon
secound quote:
AS awaydate
avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar

missing a , between awydate and avatar.avatarpath

Do I insert the "," via PhpmyAdmin to solve this error problem? If so, between where in "awydate and avatar.avatarpath" should I insert the ","?



Thanks
Reply With Quote
  #7  
Old 07-06-2002, 12:28 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you ran this query through phpmyadmin then you have to add it in the query:
AS awaydate,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar

if this query is run by a script, you have to find where and then add the , where i put it
Reply With Quote
  #8  
Old 07-06-2002, 12:36 PM
Peace Peace is offline
 
Join Date: Apr 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Xenon
then you cant insert into the user table gender=...., you have to insert this value in the userfield table

I'm a newbie at this, what "value" do I insert, in the userfield table and is there a specific field I insert the vaule in?
Reply With Quote
  #9  
Old 07-06-2002, 12:43 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the value Gender is just the name of your field, but not the tablename of you DB, it should be something like field5='male' or something
Reply With Quote
  #10  
Old 07-06-2002, 05:13 PM
Peace Peace is offline
 
Join Date: Apr 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I reinstalled the forum again and I will start over. :cross-eyed:
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:33 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.04572 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
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
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete