Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
Thread Tools
  #21  
Old 7th February 2013, 01:48
Tones Tones is offline
Banned
 
Join Date: Sep 2011
Cuba
Posts: 154
Default
same error Incorrect integer value: '' for column 'country' at row 1
Reply With Quote
  #22  
Old 7th February 2013, 02:01
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
PHP Code:
                    mysql_query("INSERT INTO users (username, passhash, secret, editsecret, email, status, ". (!$arr[0]?"class, ":"") ."added, title, modcomment, disable_reason, supportfor, passhint) VALUES (" .
                
implode(","array_map("sqlesc", array($wantusername$wantpasshash$secret$editsecret,  $email, (!$arr[0]?'confirmed':'pending')))).
                
", ". (!$arr[0]?UC_SYSOP.", ":""). "'"get_date_time() ."', 'title', 'signed up', 'none', 'nothen', 'pass')")or die(mysql_error());
                die(
'test Now tell joe what it said'); 
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #23  
Old 7th February 2013, 02:03
Tones Tones is offline
Banned
 
Join Date: Sep 2011
Cuba
Posts: 154
Default
Incorrect integer value: 'pass' for column 'passhint' at row 1
Reply With Quote
  #24  
Old 7th February 2013, 02:05
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
PHP Code:
                    mysql_query("INSERT INTO users (username, passhash, secret, editsecret, email, status, ". (!$arr[0]?"class, ":"") ."added, title, modcomment, disable_reason, supportfor) VALUES (" .
                
implode(","array_map("sqlesc", array($wantusername$wantpasshash$secret$editsecret,  $email, (!$arr[0]?'confirmed':'pending')))).
                
", ". (!$arr[0]?UC_SYSOP.", ":""). "'"get_date_time() ."', 'title', 'signed up', 'none', 'nothen')")or die(mysql_error());
                die(
'test Now tell joe what it said'); 
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #25  
Old 7th February 2013, 02:06
Tones Tones is offline
Banned
 
Join Date: Sep 2011
Cuba
Posts: 154
Default
Field 'passhint' doesn't have a default value

Bump: i set the value to Null .. and now I see this test Now tell joe what it said
Reply With Quote
  #26  
Old 7th February 2013, 02:11
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
PHP Code:
CREATE TABLE IF NOT EXISTS `users` (
  `
idint(10unsigned NOT NULL AUTO_INCREMENT,
  `
usernamevarchar(40CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `
old_passwordvarchar(40CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `
passhashvarchar(32CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `
secretvarchar(20CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
  `
emailvarchar(80CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `
statusenum('pending','confirmed'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'pending',
  `
addeddatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
last_logindatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
last_accessdatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
last_catchupdatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
editsecretvarchar(20CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
  `
privacyenum('normal','strong'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'normal',
  `
stylesheetint(10) DEFAULT '1',
  `
infotext CHARACTER SET latin1 COLLATE latin1_general_ci,
  `
acceptpmsenum('yes','friends','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `
ipvarchar(15CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `
classtinyint(2unsigned NOT NULL DEFAULT '1',
  `
avatarvarchar(100CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `
uploadedbigint(20unsigned NOT NULL DEFAULT '0',
  `
downloadedbigint(20unsigned NOT NULL DEFAULT '0',
  `
titlevarchar(60CHARACTER SET latin1 COLLATE latin1_general_ci default NULL,
  `
countrybigint(20unsigned NOT NULL DEFAULT '0',
  `
notifsvarchar(100CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `
modcommenttext CHARACTER SET latin1 COLLATE latin1_general_ci default NULL,
  `
enabledenum('yes','no'NOT NULL DEFAULT 'yes',
  `
disable_reasontext default NULL,
  `
imunityenum('yes','no'NOT NULL DEFAULT 'no',
  `
avatarsenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `
donorenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'no',
  `
warnedenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'no',
  `
warneduntildatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
torrentsperpageint(3unsigned NOT NULL DEFAULT '0',
  `
topicsperpageint(3unsigned NOT NULL DEFAULT '0',
  `
postsperpageint(3unsigned NOT NULL DEFAULT '0',
  `
deletepmsenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `
savepmsenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'no',
  `
parkedenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'no',
  `
announceenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `
passkeyvarchar(32CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `
last_browseint(11NOT NULL DEFAULT '0',
  `
last_browsexint(11NOT NULL DEFAULT '0',
  `
last_browsemint(11NOT NULL DEFAULT '0',
  `
faderenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `
fadecolorvarchar(255CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'FF0000',
  `
supportenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'no',
  `
supportfortext CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
  `
supportlangvarchar(50CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `
invited_byint(10NOT NULL DEFAULT '0',
  `
inviteesvarchar(100CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `
invitesint(1NOT NULL DEFAULT '0',
  `
genderenum('Male','Female','N/A'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'N/A',
  `
invitedatedatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
view_adultenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `
view_musicenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `
view_adult_browseenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `
view_music_browseenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `
view_musiclo_browseenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `
view_musicvi_browseenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `
view_musicpks_browseenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `
advertisenameenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'no',
  `
signaturesenum('yes','no'CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'yes',
  `
signaturevarchar(225CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
  `
uploadposenum('yes','no'NOT NULL DEFAULT 'no',
  `
downloadposenum('yes','no'NOT NULL DEFAULT 'yes',
  `
forumpostenum('yes','no'NOT NULL DEFAULT 'yes',
  `
chatpostenum('yes','no'NOT NULL DEFAULT 'no',
  `
chatdisableenum('yes','no'NOT NULL DEFAULT 'no',
  `
donateddecimal(8,2NOT NULL DEFAULT '0.00',
  `
last_pmdatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
last_commentdatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
last_postdatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
forum_accessdatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
last_staffmsgdatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
timezonesmallint(3NOT NULL DEFAULT '120',
  `
dsttinyint(2NOT NULL DEFAULT '0',
  `
commentpmenum('yes','no'NOT NULL DEFAULT 'yes',
  `
staff_chat_accessdatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
groupsint(10unsigned NOT NULL DEFAULT '0',
  `
rangclassint(10unsigned NOT NULL DEFAULT '0',
  `
zodiacint(10unsigned NOT NULL DEFAULT '0',
  `
donoruntildatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
total_donateddecimal(8,2NOT NULL DEFAULT '0.00',
  `
last_checkdatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
leechwarnenum('yes','no'NOT NULL DEFAULT 'no',
  `
timeswarnedint(10NOT NULL DEFAULT '0',
  `
seedbonusdecimal(5,1NOT NULL DEFAULT '0.0',
  `
bonuscommentlongtext character set utf8 collate utf8_bin NULL,
  `
vip_addedenum('yes','no'NOT NULL DEFAULT 'no',
  `
vip_untildatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
smile_untildatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
parolavarchar(40NOT NULL DEFAULT '',
  `
passhinttext default NULL,
  `
hintanswervarchar(40NOT NULL DEFAULT '',
  `
uppedenum('yes','no'NOT NULL DEFAULT 'no',
  `
lastupdatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
upwarnenum('yes','no'NOT NULL DEFAULT 'no',
  `
hit_run_totalint(9) DEFAULT '0',
  `
sendmailnotifenum('yes','no'NOT NULL DEFAULT 'no',
  `
mod_addedenum('yes','no'NOT NULL DEFAULT 'no',
  `
mod_untildatetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `
trialenum('yes','no'NOT NULL DEFAULT 'no',
  `
bjwinsint(10NOT NULL DEFAULT '0',
  `
bjlossesint(10NOT NULL DEFAULT '0',
  
PRIMARY KEY (`id`),
  
UNIQUE KEY `username` (`username`),
  
KEY `status_added` (`status`,`added`),
  
KEY `ip` (`ip`),
  
KEY `uploaded` (`uploaded`),
  
KEY `downloaded` (`downloaded`),
  
KEY `country` (`country`),
  
KEY `last_access` (`last_access`),
  
KEY `warned` (`warned`),
  
KEY `passkey` (`passkey`),
  
KEY `id` (`id`,`username`,`old_password`,`passhash`,`secret`),
  
KEY `stylesheet` (`stylesheet`)
ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=453 
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #27  
Old 7th February 2013, 02:12
Tones Tones is offline
Banned
 
Join Date: Sep 2011
Cuba
Posts: 154
Default EVRIKAAAAAA
Thank you so much joe goes super ok now !!!!
Reply With Quote
  #28  
Old 7th February 2013, 02:15
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
ok so make your code
PHP Code:
$ret mysql_query("INSERT INTO users (username, passhash, secret, editsecret, email, status, ". (!$arr[0]?"class, ":"") ."added, title, modcomment, disable_reason, supportfor) VALUES (" .
                
implode(","array_map("sqlesc", array($wantusername$wantpasshash$secret$editsecret,  $email, (!$arr[0]?'confirmed':'pending')))).
                
", ". (!$arr[0]?UC_SYSOP.", ":""). "'"get_date_time() ."', 'title', 'signed up', 'none', 'nothen')"); 
and remove the
PHP Code:
                die('test Now tell joe what it said'); 
and that should do it
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
Tones (14th January 2014)
Reply

Tags
black , problems , signup , torrents


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 +2. The time now is 00:28. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.