where i must put this code to work
Code: Select all
CREATE TABLE `phpbb_ad` (
`ID` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '',
`code` text NOT NULL,
`show_forums` int(11) NOT NULL default '0',
`show_all_forums` int(11) NOT NULL default '0',
`activ` int(11) NOT NULL default '0',
`views` int(11) NOT NULL default '0',
`max_views` int(11) NOT NULL default '0',
`position` int(11) NOT NULL default '0',
PRIMARY KEY (`ID`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
SQL ERROR [ mysql4 ]
Table 'ggforum_phpbb3.phpbb_ad' doesn't exist [1146]
SQL
SELECT ID, name, activ, show_all_forums, views, max_views FROM phpbb_ad
BACKTRACE
FILE: includes/db/mysql.php
LINE: 133
CALL: dbal_mysql->sql_error()
FILE: includes/acp/acp_ads.php
LINE: 132
CALL: dbal_mysql->sql_query()
FILE: includes/functions_module.php
LINE: 460
CALL: acp_ads->main()
FILE: adm/index.php
LINE: 80
CALL: p_master->load_active()