Marook-Online
* 07.Feb.2012, 20:29 UTC+1
Welcome, Guest. Please login or register.
Username:
Password:

News: Back again Wink
Main Menu
  Navigation
   Downloads
     Tools
     Music Discs
     SMF Mods
     Trainer & Patches
     EgoShare Uploader
   Guestbook
   NoPaste
   User Map
   Gallery
  
   Malware Scan
   Hacker Blacklist
   Find Abusemail
Top Downloads
Support Me !
Help me by donating a small amount!



Advanced search

Google


Pages: [1]   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools  
Read
27-Dec-2008 04:04
Nighthack
Gamer
*
Offline Offline

Joined: 30-May-2008
Coding in: Other
Posts: 6


Hi,
here we go again..
I have smf 1.1.7 & try to install nopaste & i have trouble with creating the table on the db..
Sow i try to create manually the table & execute the query but here i get this message..
My query
Code:
CREATE TABLE smf_pastes(
`id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
`cryptid` VARCHAR( 32 ) NOT NULL ,
`name` VARCHAR( 100 ) NOT NULL ,
`uid` INT( 11 ) NOT NULL DEFAULT '0',
`description` TEXT NOT NULL ,
`code` TEXT NOT NULL ,
`tab_length` INT( 1 ) NOT NULL DEFAULT '4',
`code_lang` VARCHAR( 20 ) NOT NULL ,
`time` INT( 20 ) NOT NULL ,
`ip` VARCHAR( 15 ) NOT NULL ,
'hits'INT( 11 ) NULL DEFAULT '0' PRIMARY KEY ( `id` )
) AUTO_INCREMENT =1

The error message
Code:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''hits' INT(11) NULL DEFAULT '0'
PRIMARY KEY (`id`)
) AUTO_INCREMENT=1' at line 12
I've checked the primary key but is no options to set PRIMARY KEY to id Sad
Whats wrong?
How to fix this?
PS this time i hope we fix this  Roll Eyes
Logged
 

Read
06-Jan-2009 04:16
Nighthack
Gamer
*
Offline Offline

Joined: 30-May-2008
Coding in: Other
Posts: 6


ANY BODY THERE???
Logged
 

Pages: [1]   Go Up
Jump to:  

Theme by webtechnica.net

MHD v2.1 © 2oo8 by Marook
32124 hacking attempts defended!