22.05.2012, 19:17
(22.05.2012, 17:20)Dirkussion schrieb: [ -> ]MySQL meldet:So, hab die Struktur abgegleicht.
#1054 - Unknown column 'referrals' in 'field list'
Code:-- phpMyAdmin SQL Dump
-- version 2.6.4-pl3
-- http://www.phpmyadmin.net
--
-- Host: rdbms.strato.de
-- Erstellungszeit: 22. Mai 2012 um 18:15
-- Server Version: 5.0.91
-- PHP-Version: 5.2.9
--
-- Datenbank: `DB654965`
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `mybb_users`
--
CREATE TABLE "mybb_users" (
"uid" int(10) unsigned NOT NULL auto_increment,
"username" varchar(120) NOT NULL default '',
"password" varchar(120) NOT NULL default '',
"salt" varchar(10) NOT NULL default '',
"loginkey" varchar(50) NOT NULL default '',
"email" varchar(220) NOT NULL default '',
"postnum" int(10) NOT NULL default '0',
"avatar" varchar(200) NOT NULL default '',
"avatardimensions" varchar(10) NOT NULL default '',
"avatartype" varchar(10) NOT NULL default '0',
"usergroup" smallint(5) unsigned NOT NULL default '0',
"additionalgroups" varchar(200) NOT NULL default '',
"displaygroup" smallint(5) unsigned NOT NULL default '0',
"usertitle" varchar(250) NOT NULL default '',
"regdate" bigint(30) NOT NULL default '0',
"lastactive" bigint(30) NOT NULL default '0',
"lastvisit" bigint(30) NOT NULL default '0',
"lastpost" bigint(30) NOT NULL default '0',
"website" varchar(200) NOT NULL default '',
"icq" varchar(10) NOT NULL default '',
"aim" varchar(50) NOT NULL default '',
"yahoo" varchar(50) NOT NULL default '',
"msn" varchar(75) NOT NULL default '',
"birthday" varchar(15) NOT NULL default '',
"birthdayprivacy" varchar(4) NOT NULL default 'all',
"signature" text NOT NULL,
"allownotices" int(1) NOT NULL default '0',
"hideemail" int(1) NOT NULL default '0',
"subscriptionmethod" int(1) NOT NULL default '0',
"invisible" int(1) NOT NULL default '0',
"receivepms" int(1) NOT NULL default '0',
"pmnotice" int(1) NOT NULL default '0',
"pmnotify" int(1) NOT NULL default '0',
"remember" int(1) NOT NULL default '0',
"threadmode" varchar(8) NOT NULL default '',
"showsigs" int(1) NOT NULL default '0',
"showavatars" int(1) NOT NULL default '0',
"showquickreply" int(1) NOT NULL default '0',
"showredirect" int(1) NOT NULL default '0',
"ppp" smallint(6) NOT NULL default '0',
"tpp" smallint(6) NOT NULL default '0',
"daysprune" smallint(6) NOT NULL default '0',
"dateformat" varchar(4) NOT NULL default '',
"timeformat" varchar(4) NOT NULL default '',
"timezone" varchar(4) NOT NULL default '',
"dst" int(1) NOT NULL default '0',
"dstcorrection" int(1) NOT NULL default '0',
"buddylist" text NOT NULL,
"ignorelist" text NOT NULL,
"style" smallint(5) unsigned NOT NULL default '0',
"away" int(1) NOT NULL default '0',
"awaydate" int(10) unsigned NOT NULL default '0',
"returndate" varchar(15) NOT NULL default '',
"awayreason" varchar(200) NOT NULL default '',
"pmfolders" text NOT NULL,
"notepad" text NOT NULL,
"referrer" int(10) unsigned NOT NULL default '0',
"reputation" bigint(30) NOT NULL default '0',
"regip" varchar(50) NOT NULL default '',
"lastip" varchar(50) NOT NULL default '',
"longregip" int(11) NOT NULL default '0',
"longlastip" int(11) NOT NULL default '0',
"language" varchar(50) NOT NULL default '',
"timeonline" bigint(30) NOT NULL default '0',
"showcodebuttons" int(1) NOT NULL default '1',
"totalpms" int(10) NOT NULL default '0',
"unreadpms" int(10) NOT NULL default '0',
"warningpoints" int(3) NOT NULL default '0',
"moderateposts" int(1) NOT NULL default '0',
"moderationtime" bigint(30) NOT NULL default '0',
"suspendposting" int(1) NOT NULL default '0',
"suspensiontime" bigint(30) NOT NULL default '0',
"coppauser" int(1) NOT NULL default '0',
"classicpostbit" int(1) NOT NULL default '0',
"loginattempts" tinyint(2) NOT NULL default '1',
"failedlogin" bigint(30) NOT NULL default '0',
PRIMARY KEY ("uid"),
UNIQUE KEY "username" ("username"),
KEY "usergroup" ("usergroup"),
KEY "birthday" ("birthday"),
KEY "longregip" ("longregip"),
KEY "longlastip" ("longlastip")
) AUTO_INCREMENT=66 ;
--
-- Daten für Tabelle `mybb_users`
--
Ich habe mal die Tabelle exportiert, eventuell hilft es ja?
Wie kann ich Euch sonst noch behilflich für die Lösung sein?
PHP-Code:
INSERT INTO `mybb_users` (`uid`, `username`, `password`, `salt`, `loginkey`, `email`, `postnum`, `avatar`, `avatardimensions`, `avatartype`, `usergroup`, `additionalgroups`, `displaygroup`, `usertitle`, `regdate`, `lastactive`, `lastvisit`, `lastpost`, `website`, `icq`, `aim`, `yahoo`, `msn`, `birthday`, `birthdayprivacy`, `signature`, `allownotices`, `hideemail`, `subscriptionmethod`, `invisible`, `receivepms`, `pmnotice`, `pmnotify`, `threadmode`, `showsigs`, `showavatars`, `showquickreply`, `showredirect`, `ppp`, `tpp`, `daysprune`, `dateformat`, `timeformat`, `timezone`, `dst`, `dstcorrection`, `buddylist`, `ignorelist`, `style`, `away`, `awaydate`, `returndate`, `awayreason`, `pmfolders`, `notepad`, `referrer`, `reputation`, `regip`, `lastip`, `longregip`, `longlastip`, `language`, `timeonline`, `showcodebuttons`, `totalpms`, `unreadpms`, `warningpoints`, `moderateposts`, `moderationtime`, `suspendposting`, `suspensiontime`, `suspendsignature`, `suspendsigtime`, `classicpostbit`, `loginattempts`, `failedlogin`, `usernotes`) VALUES
(1, 'admin', 'ecbc1055e39a6cf72824586cfaac8d66', 'VzqFRAth', 'aHE4BYHhs5iFAHInHtLYsIZWq9OEXbMB5W1eBwsqpVwFiggHMo', 'admin@admin.de', 0, '', '', '', 4, '', 0, '', 1337628935, 1337628935, 1337628935, 0, '', '0', '', '', '', '', 'all', '', 1, 0, 0, 0, 1, 1, 0, 'linear', 1, 1, 1, 1, 0, 0, 0, '', '', '', 0, 0, '', '', 0, 0, 0, '0', '', '', '', 0, 0, '', '', 0, 0, '', 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, '');