Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
Posted:
Thu Jan 01, 2004 8:07 pm
I'm not sure if there is a fix (I'm having the same problem).
If you have phpAdmin or something similar to access your database directly, check your nuke_modules table and manually activate it by editing the field 'active' - change the '0' to a '1'.
Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
Posted:
Fri Jan 02, 2004 5:26 pm
Raven,
Re your bug fix in admin/modules/module.php
ro new modules not adding to the Modules menu - I have this in my modules.php
$db->sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0')");
Do you think this is what is causing the problem (the $db->) at the beginning?
This modification was made as part of a security bug fix so I'm loath to change it without your words of wisdom.
Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
Posted:
Fri Jan 02, 2004 8:10 pm
Nope, that didn't work.
Was getting a bit exasperated so I commented out my line and added your fix in its place
No joy their either - this is doing my head in!
I created a new folder called 'newtest' in root/Modules and just for fun added a few files in the folder (from Avantgo).
After checking the tables I found no matter what I did, the new 'module' was not being listed.
Then I had a brain wave - not sure why though.
I notes the number of fields and I seemed to be one extra!
I have;
mid, title, custom_title, active, view, inmenu, mcid and lastly mod_group
Now I have to figure out how the mod_group field got in their as I'm sure that is not standard issue Nuke and something I added must have done ALTER TABLE command.
I'll re-post when I find the culprit.
Thanks for your help.
Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
Posted:
Sat Jan 03, 2004 8:11 am
Now I have had some sleep, I see that mod_group isnt the problem as this ia part of the orignal nuke 7.0+ install sql.
The problem (in my case) seems to be the additional field 'mcid' so now I have to rot round and find out what module added that to my modules table.
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum