Pagina 1 din 1

Problema - "Table 'phpbb_attachments' already exists"

Scris: 13-Ian-2011, 23:45:03
de GoogLe ;x
Salutare ! De cateva zile ma chinui sa instalez si eu un forum phpBB3.0.8 ! Si imi da urmatoarea eroare :

Cod: Selectaţi tot

http://eurocs.x10.mx/upload/fileupload/files/idw2wq8ur0zh6epu.bmp

Cod: Selectaţi tot

A fatal and unrecoverable database error has occurred. This may be because the specified user does not have appropriate permissions to CREATE TABLES or INSERT data, etc. Further information may be given below. Please contact your hosting provider in the first instance or the support forums of phpBB for further assistance.

install_install.php [ 1193 ]
SQL : CREATE TABLE phpbb_attachments ( attach_id mediumint(8) UNSIGNED NOT NULL auto_increment, post_msg_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, topic_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, in_message tinyint(1) UNSIGNED DEFAULT '0' NOT NULL, poster_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, is_orphan tinyint(1) UNSIGNED DEFAULT '1' NOT NULL, physical_filename varchar(255) DEFAULT '' NOT NULL, real_filename varchar(255) DEFAULT '' NOT NULL, download_count mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, attach_comment text NOT NULL, extension varchar(100) DEFAULT '' NOT NULL, mimetype varchar(100) DEFAULT '' NOT NULL, filesize int(20) UNSIGNED DEFAULT '0' NOT NULL, filetime int(11) UNSIGNED DEFAULT '0' NOT NULL, thumbnail tinyint(1) UNSIGNED DEFAULT '0' NOT NULL, PRIMARY KEY (attach_id), KEY filetime (filetime), KEY post_msg_id (post_msg_id), KEY topic_id (topic_id), KEY poster_id (poster_id), KEY is_orphan (is_orphan) ) CHARACTER SET `utf8` COLLATE `utf8_bin`
Table 'phpbb_attachments' already exists
PS : Am incercat si sa sterg baza de date dar nu merge :( ! Va rog sa rasp cat mai repede !

Cu stima,
Patrascu M.

Re: Problema - "Table 'phpbb_attachments' already exists"

Scris: 14-Ian-2011, 00:46:23
de Ivan Petre Paul
Este posibil să nu ai permisiuni de creare de tabele în baza de date sau de inserare date in aceasta.
Tot odată spune că tabela 'phpbb_attachments' există deja. Poţi să ştergi tabelele din baza de date şi să porneşti din nou instalarea de la 0. Citeşte knowledge/kb_show.php?id=153.
Dacă întâmpini din nou această problemă, foloseşte phpMyAdmin, intră în baza de date şi rulează această comandă, în caz că tabela 'phpbb_attachments' nu există:

Cod: Selectaţi tot

CREATE TABLE phpbb_attachments ( attach_id mediumint(8) UNSIGNED NOT NULL auto_increment, post_msg_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, topic_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, in_message tinyint(1) UNSIGNED DEFAULT '0' NOT NULL, poster_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, is_orphan tinyint(1) UNSIGNED DEFAULT '1' NOT NULL, physical_filename varchar(255) DEFAULT '' NOT NULL, real_filename varchar(255) DEFAULT '' NOT NULL, download_count mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, attach_comment text NOT NULL, extension varchar(100) DEFAULT '' NOT NULL, mimetype varchar(100) DEFAULT '' NOT NULL, filesize int(20) UNSIGNED DEFAULT '0' NOT NULL, filetime int(11) UNSIGNED DEFAULT '0' NOT NULL, thumbnail tinyint(1) UNSIGNED DEFAULT '0' NOT NULL, PRIMARY KEY (attach_id), KEY filetime (filetime), KEY post_msg_id (post_msg_id), KEY topic_id (topic_id), KEY poster_id (poster_id), KEY is_orphan (is_orphan) ) CHARACTER SET `utf8` COLLATE `utf8_bin`
Dacă există, şterge-o, apoi rulează comanda de mai sus.
Dacă tot nu funcţionează, atunci ia legătura cu providerul tău de hosting; este evident că nu ai permisiuni totale pe baza de date.


Subiect mutat din 3.0.x Cum pot să...?

Re: Problema - "Table 'phpbb_attachments' already exists"

Scris: 14-Ian-2011, 18:07:44
de GoogLe ;x
Tot nu merge :( ! Nu stiu ce sa fac ! Am incercat de toate. Daca vrei sa ma ajut da add la mihai_robert795 !

Re: Problema - "Table 'phpbb_attachments' already exists"

Scris: 14-Ian-2011, 18:24:35
de bogdan
Conform regulamentului suportul se acorda exclusiv pe forum.

Ai dat drepturi utilizatorului bazei de date? Pune o captura.

Vezi tutorialul de instalare: http://www.phpbb.ro/knowledge/kb_show.php?id=134