Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Bug Fixes
Author Message
CodyG
Life Cycles Becoming CPU Cycles



Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island

PostPosted: Thu Nov 13, 2003 10:34 am Reply with quote

I think this thread was discussed at Nuke Cops but it's taking forever to find anything over there this morning...

I get a blank white page when I submit new Admins to the authors table. So, I use phpmyadmin and put the data in manually, then everything works ok. phpnuke ver 6.9 with Ravens fixes.
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Nov 13, 2003 2:05 pm Reply with quote

That's usually an indication that the nuke_authors table has been modified by an addon and the admin.php script has not, or visa-versa. Here is the standard v6.9 schema for nuke_authors
Code:
  aid varchar(25) NOT NULL default '',

  name varchar(50) default NULL,
  url varchar(255) NOT NULL default '',
  email varchar(255) NOT NULL default '',
  pwd varchar(40) default NULL,
  counter int(11) NOT NULL default '0',
  radminarticle tinyint(2) NOT NULL default '0',
  radmintopic tinyint(2) NOT NULL default '0',
  radminuser tinyint(2) NOT NULL default '0',
  radminsurvey tinyint(2) NOT NULL default '0',
  radminsection tinyint(2) NOT NULL default '0',
  radminlink tinyint(2) NOT NULL default '0',
  radminephem tinyint(2) NOT NULL default '0',
  radminfaq tinyint(2) NOT NULL default '0',
  radmindownload tinyint(2) NOT NULL default '0',
  radminreviews tinyint(2) NOT NULL default '0',
  radminnewsletter tinyint(2) NOT NULL default '0',
  radminforum tinyint(2) NOT NULL default '0',
  radmincontent tinyint(2) NOT NULL default '0',
  radminency tinyint(2) NOT NULL default '0',
  radminsuper tinyint(2) NOT NULL default '1',
  admlanguage varchar(30) NOT NULL default ''
Do you have any extra radmin* columns? If so, then whatever mod they represent would be a suspect Wink
 
View user's profile Send private message
CodyG







PostPosted: Thu Nov 13, 2003 8:07 pm Reply with quote

Quote:
CREATE TABLE `nuke_authors` (
`aid` varchar(25) NOT NULL default '',
`name` varchar(50) default NULL,
`url` varchar(255) NOT NULL default '',
`email` varchar(255) NOT NULL default '',
`pwd` varchar(40) default NULL,
`counter` int(11) NOT NULL default '0',
`radminarticle` tinyint(2) NOT NULL default '0',
`radmintopic` tinyint(2) NOT NULL default '0',
`radminuser` tinyint(2) NOT NULL default '0',
`radminsurvey` tinyint(2) NOT NULL default '0',
`radminsection` tinyint(2) NOT NULL default '0',
`radminlink` tinyint(2) NOT NULL default '0',
`radminephem` tinyint(2) NOT NULL default '0',
`radminfaq` tinyint(2) NOT NULL default '0',
`radmindownload` tinyint(2) NOT NULL default '0',
`radminreviews` tinyint(2) NOT NULL default '0',
`radminnewsletter` tinyint(2) NOT NULL default '0',
`radminforum` tinyint(2) NOT NULL default '0',
`radmincontent` tinyint(2) NOT NULL default '0',
`radminency` tinyint(2) NOT NULL default '0',
`radminCalendarAdmin` tinyint(2) NOT NULL default '0',
`radmingroup` tinyint(2) NOT NULL default '0',
`radminsuper` tinyint(2) NOT NULL default '1',
`admlanguage` varchar(30) NOT NULL default '',
`radminblocker` tinyint(2) NOT NULL default '0',


yeppers.. of course, it's the mods. So I have to fix the add admin function in which file?
 
Raven







PostPosted: Thu Nov 13, 2003 8:30 pm Reply with quote

My guess is that calendar and blocker aren't playing well together. See this post I wrote at NC for some information on calendar 2.11, but the principle still applieshttp://nukecops.com/postlite3544-calender+calendar.html

Normally it's the admin.php and/or admin/modules/authors.php
 
CodyG







PostPosted: Fri Nov 14, 2003 1:21 pm Reply with quote

yes... NOW I remember doing the mods to get calendar and groups to work together... it's those $selx variables in the admin/authors.php modifyadmin(). (And might be somewhere else too.) There are four major groups of them to muck with in that file alone. I must have had a brain dump between then and now. Now I'll do it again and add the blocker.

Sheesh... how stressful is that? Is Holbrooke right? What would it take to make this adding modules process a tad easier? Question
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Bug Fixes

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©