News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

erro ao instalar simpleportal

Started by xSteellife, December 27, 2012, 10:34:46 AM

Previous topic - Next topic

xSteellife

Erro na Base de Dados

BLOB/TEXT column 'label' can't have a default value
Arquivo: Forum\Packages\temp\install2.php
Linha: 515

alguem me ajuda ?

Na linha tem isso:

Quote// Loop through each table and do what needed.
foreach ($tables as $table => $data)
{
   if (in_array(strtolower($real_prefix . $table), array_map('strtolower', $current_tables)))
   {
      $info .= '
   <li>"' . $table . '" table exists, updating table structure.
      <ul>';

      foreach ($data['columns'] as $column)
      {
         if (!isset($column['deprecated_name']) || !$smcFunc['db_change_column']('{db_prefix}' . $table, $column['deprecated_name'], $column))
            $smcFunc['db_add_column']('{db_prefix}' . $table, $column);
      }

      $info .= '
         <li>Table columns updated.</li>';

      foreach ($data['indexes'] as $index)
Linha: 515         $smcFunc['db_add_index']('{db_prefix}' . $table, $index, array(), 'ignore');

      $info .= '
         <li>Table indexes updated.</li>
      </ul>
   </li>';
   }
   else
   {
      $smcFunc['db_create_table']('{db_prefix}' . $table, $data['columns'], $data['indexes'], array(), 'ignore');

      $info .= '<li>"' . $table . '" table created.</li>';
   }
}

margarett

Penso que vais "melhor servido" se fores pedir ajuda no site/fórum do SP.

Isso tem alguma coisa a ver com as modificações que o SP quer fazer na BD e que, por algum motivo, não são compatíveis...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

xSteellife

isso só esta acontecendo com a versão 2.0.3 do smf. aff
alguem pode ajudar a arruma isso?

margarett

A infame versão 2.0.3 :P

Opa fiz aqui uma pesquisa rápida e no fórum do SP também, mas não encontrei nada relevante. Encontrei alguns erros desse género mas que estão relacionados com configurações do MySQL (e que obviamente são independentes da versão do SMF...).

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Advertisement: