I tried to add an admin to my site. After I entered the info it went to a blank admin.php screen. This new admin doesn't show up in the admin list. Any ideas?
Take a structure dump of the authors table and compare the number of columns to the number of columns in the INSERT statement in /admin/modules/authors.php
So in this example there are 20 columns in the authors table insert statement. The authors table must have the same number of columns for this to work.
/admin/modules/authors.php
There is only one insert statement so its pretty easy to find.
If there are less in the insert statement you can add blank values for each by adding
'',
one for each missing column so that there are a matching number of columns.
alterantively if some of those columns in the DB are for old addons you don't use anymore you can make a backup and delete any extra ones. Make sure you take a backup first just in case.
I am again having problems adding an admin on my other nuke site.
I have the following in my tables:
Quote:
aid varchar(25) No
name varchar(50) Yes NULL
url varchar(255) No
email varchar(255) No
pwd varchar(40) Yes NULL
counter int(11) No 0
radminarticle tinyint(2) No 0
radmintopic tinyint(2) No 0
radminuser tinyint(2) No 0
radminsurvey tinyint(2) No 0
radminlink tinyint(2) No 0
radminfaq tinyint(2) No 0
radmindownload tinyint(2) No 0
radminreviews tinyint(2) No 0
radminnewsletter tinyint(2) No 0
radminforum tinyint(2) No 0
radmincontent tinyint(2) No 0
radminency tinyint(2) No 0
radminsuper tinyint(2) No 1
admlanguage varchar(30) No
radminapprove tinyint(2) No 0
radminpreapprove tinyint(2) No 0
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