First, I want thank you because I had installed your RavenNuke76 v2.02.00 after your tips.
But I don't know why I can't edit my modules in the admin menu, I can active or inactive them, but I can change its views, custom name, etc. some ideas about it?
Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
Posted:
Mon Feb 06, 2006 3:54 pm
You you are going to the nuke admin, selecting Modules and then in the list of modules diaplyed you are using the 'Edit' function?
I cannot duplicate this problem, make sure all your files ftp'd correctly.
Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
Posted:
Mon Feb 06, 2006 4:12 pm
Can you paste the database shcema for you nuke_modules table please.
I have installed this on a number of sites now and I am unable to reproduce this problem on any of them.
-- phpMyAdmin SQL Dump
-- version 2.6.4-pl2
-- http://www.phpmyadmin.net
--
-- Servidor: localhost
-- Tiempo de generación: 06-02-2006 a las 15:24:57
-- Versión del servidor: 4.1.14
-- Versión de PHP: 4.3.11
--
-- Base de datos: `medtropo_nuke`
--
Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
Posted:
Mon Feb 06, 2006 4:51 pm
Wait forget that.
This DB schema is not for the version of nuke you said you were using.
The schema you provided is not for Raven Nuke 7.6 V202 as it is missing the 'groups' field
Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
Posted:
Mon Feb 06, 2006 5:40 pm
No,the schema you posted is for Raven Nuke 1.x and also phpNuke 7.6
The correct schema which is my installation file and has been installed on a number of sites is;
Code:
CREATE TABLE `nuke_modules` (
`mid` int(10) NOT NULL auto_increment,
`title` varchar(255) NOT NULL default '',
`custom_title` varchar(255) NOT NULL default '',
`active` int(1) NOT NULL default '0',
`view` int(1) NOT NULL default '0',
`groups` text NOT NULL,
`inmenu` tinyint(1) NOT NULL default '1',
`mod_group` int(10) default '0',
`admins` varchar(255) NOT NULL default '',
PRIMARY KEY (`mid`),
KEY `title` (`title`),
KEY `custom_title` (`custom_title`)
) TYPE=MyISAM;
The reason for your problem is because the number of fields in the table do not match the number of fields in the code that updated the modules list in the file
modules/modules.php
Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
Posted:
Mon Feb 06, 2006 5:56 pm
I just check the distro and it appears something has changed from when I downloaded it - sorry for the confusion.
I have added this to our bug track system and corrected the files for the next release.
Make a back of your nuke_modules table then try this through phpmyadmin.
Code:
DROP TABLE IF EXISTS `nuke_modules`;
CREATE TABLE `nuke_modules` ( `mid` int(10) NOT NULL auto_increment, `title` varchar(255) NOT NULL default '', `custom_title` varchar(255) NOT NULL default '', `active` int(1) NOT NULL default '0', `view` int(1) NOT NULL default '0', 'groups` text NOT NULL,`inmenu` tinyint(1) NOT NULL default '1', `mod_group` int(10) default '0', `admins` varchar(255) NOT NULL default '', PRIMARY KEY (`mid`), KEY `title` (`title`), KEY `custom_title` (`custom_title`) ) TYPE=MyISAM;
Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
Posted:
Mon Feb 06, 2006 9:49 pm
Guys, I believe that with 2.x, Raven implemented the installer where he broke up the core files from the non-core. With 2.x came NSN Groups and with that the installer had it as a separate button to push to install the NSN Groups tables and to alter the core nuke tables to have the groups fields....
Looks like that step was missed to install the NSN Groups tables!
By the way, the installer screen was very specific that Steps 1 - 3 had to be executed...
I'd executed all steps. As you say the installer only isntall the NSN Groups, teh Core are intact, and it has the schema for the RavenNuke7.6 v1.x and not for the v2.x
Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
Posted:
Tue Feb 07, 2006 5:06 am
Montego, thats an excellent observation, I had forgotten there was a seperate installer sql for groupshowever, that one seems to be missing the required ALTER TABLE for nuke_modules table.
Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
Posted:
Wed Feb 08, 2006 7:53 am
Guardian2003, I have just checked my two 2.02 sites and nuke_modules correctly has included the "groups" field. I have also checked the raw sql file used to install NSN Groups and it has the appropriate ALTER statement in it.
Code:
ALTER TABLE `nuke_blocks` ADD `groups` TEXT NOT NULL AFTER `view`;
ALTER TABLE `nuke_message` ADD `groups` TEXT NOT NULL AFTER `view`;
ALTER TABLE `nuke_modules` ADD `groups` TEXT NOT NULL AFTER `view`;
Are you looking at a clean distro or an upgraded 1.05 to 2.02?
Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
Posted:
Wed Feb 08, 2006 5:44 pm
Raven, if we told you we would have to kill you! If we could update our bug reports you'd know the answer to that question... Just bustin' your chops.
Seriously, there is no issue with the 2.02 distro but we may need to either have Guardian's head checked or check the CVS repository to make sure 2.1 will be good too...
I'd seen the same problem in the 'nuke_blocks' table, the field 'groups' was missing. If that was a personal problem, take it like a experience, if is a general problem I hope help you.
Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
Posted:
Sun Feb 12, 2006 12:40 am
boylucas - If you have repaired the two tables then you are ready to go. You can easily confirm the table schema by looking at the groups sql file.
Just so I can publicly humiliate myself.....
The confusion was entirely mine. I had several copies of RN on my PC but these had been modified specifically as back-ups for productions sites I am using.
Rather than download a new, fresh copy of RN (which is what I SHOULD have done) to check your problem, I had looked at our CVS files which I should not have relied on as it is still an experimental set-up.
Please feel free to stone me, flog me, whatever but only after Raven and Montego have shot me (I have a low pain threshold).
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