Ir para conteúdo
  • 0

Step5 - Gesior 0.3.8


Faelzdanil

Pergunta

Bom eu estou fazendo o site todo de acordo com um tutorial postado aqui.

 

Link

 

Portando quando chego na parte do Step5 na instalação, da esse erro !

Set Admin Account

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'vip_time' in 'field list'' in C:\xampp\htdocs\pot\OTS_Account.php:237 Stack trace: #0 C:\xampp\htdocs\pot\OTS_Account.php(237): PDO->query('SELECT `id`, `n...') #1 C:\xampp\htdocs\install.php(572): OTS_Account->load(1) #2 {main} thrown

Não entendo tanto de site, estou aprendendo isso agora...

 

 

Essa é a linha 237:

 

        // SELECT query on database
       $this->data = $this->db->query('SELECT ' . $this->db->fieldName('id') . ', ' . $this->db->fieldName('name') . ', ' . $this->db->fieldName('password') . ', ' . $this->db->fieldName('email') . ', ' . $this->db->fieldName('blocked') . ', ' . $this->db->fieldName('rlname') . ', '. $this->db->fieldName('vip_time') . ', ' . $this->db->fieldName('location') . ', ' . $this->db->fieldName('key') . ', ' . $this->db->fieldName('premium_points') . ', ' . $this->db->fieldName('page_access') . ', ' . $this->db->fieldName('premdays') . ', ' . $this->db->fieldName('lastday') . ',  ' . $this->db->fieldName('created') . ' FROM ' . $this->db->tableName('accounts') . ' WHERE ' . $this->db->fieldName('id') . ' = ' . (int) $id)->fetch();
    }

 

Se alguém puder ajudar agradeço desde já !

Link para o comentário
https://xtibia.com/forum/topic/228803-step5-gesior-038/
Compartilhar em outros sites

3 respostass a esta questão

Posts Recomendados

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

×
×
  • Criar Novo...