Re: Toying with another useless mod idea
I still get that error. I believe the problem may be in the following lines:
$db->query('INSERT INTO '.$db_prefix."download_cats (cat_name, cat_desc, total_files, disp_position) VALUES('New Category', 'No description', 1, 0)") or error('Unable to insert into table '.$db_prefix.'download_cats. Please check your configuration and try again.');
$db->query('INSERT INTO '.$db_prefix."downloads (download_name, download_id, download_desc, cat_id, download_count) VALUES('New Download', 0, 'No description', 1, 0)") or error('Unable to insert into table '.$db_prefix.'downloads. Please check your configuration and try again.');