The mod I am trying to upgrade for 1.5 has an install button on the page. So I want to add a file and I thought extra configures would be the correct place but the exception says: Cannot execute because table " does not exist. CHECK PREFIXES! The file that runs the query to add to the configuration menu used the same table naming and it works. So what have I missed?
Code:<? if(!defined('CROSS_SELL_ENABLED') ) { global $db; $db->Execute("INSERT INTO " . TABLE_ADMIN_PAGES ." (`page_key`, `language_key`, `main_page`, `page_params`, `menu_key`, `display_on_menu`, `sort_order`) VALUES ('catalogUltimateCrossSell', 'BOX_CATALOG_MULTI_CROSS_SELL_PRODUCTS', 'FILENAME_CROSS_SELL_PRODUCTS', '', 'catalog', 'Y', '100')"); } else { } ?>


Reply With Quote
