• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

ACC maker problem FAST HELP !

seth666

New Member
Joined
Apr 17, 2010
Messages
1
Reaction score
0
I have this problem :
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ip' in 'field list'' in C:\xampp\htdocs\pot\OTS_Account.php:610 Stack trace: #0 C:\xampp\htdocs\pot\OTS_Account.php(610): PDO->query('SELECT `ip` FRO...') #1 C:\xampp\htdocs\accountmanagement.php(13): OTS_Account->getCustomField('ip') #2 C:\xampp\htdocs\index.php(240): include('C:\xampp\htdocs...') #3 {main} thrown in C:\xampp\htdocs\pot\OTS_Account.php on line 610

Line 610 is :
$value = $this->db->query('SELECT ' . $this->db->fieldName($field) . ' FROM ' . $this->db->tableName('accounts') . ' WHERE ' . $this->db->fieldName('id') . ' = ' . $this->data['id'])->fetch();



PLEASE HELP !
 
You download other database and paste? why say don't have column ip in database try added
go to sql en phpmyadmin and put
LUA:
ALTER TABLE `accounts` ADD
`ip` int(11) NOT NULL DEFAULT 0;
Made by or changed your OTS_Account.php
for other why this have colum don't have your database
 
Back
Top