Pagina 1 di 1

Problema MOD statics pages

Inviato: 20/11/2010, 11:24
da xX_Simon_Xx
Link MOD:http://www.phpbb.com/customise/db/mod/static_pages/
volevo provare questa mod e sembra non funzionare su phpbb 3.0.7-PL1
una volta installata e aggiunto il modulo nell'acp se provo a raggiungere il modulo da questo errore

Codice: Seleziona tutto

Errore Generale
SQL ERROR [ mysqli ]

Table 'my_debugsite.phpbb_pages' doesn't exist [1146]

SQL

SELECT p.page_id, p.page_title, p.page_desc, p.page_author, p.page_display, p.page_url, u.username, u.user_colour FROM phpbb_pages p, phpbb_users u WHERE u.user_id = p.page_author ORDER BY p.page_order ASC, p.page_id ASC

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/acp/acp_pages.php
LINE: 318
CALL: dbal_mysqli->sql_query()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_pages->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
dice che appunto manca la tabella nel database e mi sembra giusto dato che nei file di installazione non compare nessun file per aggiungere le tabelle com'è possibile???

Re: Problema MOD statics pages

Inviato: 20/11/2010, 11:37
da Micogian
xX_Simon_Xx ha scritto: dice che appunto manca la tabella nel database e mi sembra giusto dato che nei file di installazione non compare nessun file per aggiungere le tabelle com'è possibile???
E' la prima cosa da fare indicata nel file install:

Codice: Seleziona tutto

CREATE TABLE phpbb_pages (
  page_id int(11) unsigned NOT NULL auto_increment,
  page_title varchar(255) character set utf8 collate utf8_unicode_ci NOT NULL,
  page_desc mediumtext character set utf8 collate utf8_bin NOT NULL,
  page_content mediumtext character set utf8 collate utf8_bin NOT NULL,
  page_url varchar(255) character set utf8 collate utf8_bin NOT NULL,
  bbcode_uid varchar(8) character set utf8 collate utf8_bin NOT NULL,
  bbcode_bitfield varchar(255) character set utf8 collate utf8_bin NOT NULL default '',
  page_time int(11) unsigned NOT NULL default '0',
  page_order int(11) unsigned NOT NULL default '0',
  page_display tinyint(1) unsigned NOT NULL default '0',
  page_display_guests tinyint(1) unsigned NOT NULL default '0',
  page_author mediumint(8) unsigned NOT NULL,
  PRIMARY KEY  (page_id)
);

Re: Problema MOD statics pages

Inviato: 20/11/2010, 11:40
da xX_Simon_Xx
AZZ non ci avovo fatto caso excusme
grazie per il tempismo