View Single Post
  #11 (permalink)  
Old 03-31-2005, 05:12 PM
DaCheeta DaCheeta is offline
Junior Member
 
Join Date: Mar 2005
Posts: 1
Hey people, kind of going at it blind that way. What your going to have to do is open your phpMyAdmin or whatever SQL DB Admin you use and have a look at your Nuke_modules table you will see in the Default column some 0’s and 1’s they have to correspond exactly to your /admin/modules.php file. So I have:
  • active = 0
    view = 0
    inmenu = 1
    mod_group = 0
    admins = ' ' <-blank
    url = 'NULL'
    mcid = 1

So I would have the corrisponding code in my modules.php file around line 60 of:
Code:
sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0', '','0','1')", $dbi);

notice the ' ' are included for any blank fields, so be sure to include those too.
Success.
Reply With Quote