You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 596 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Admin Functions Return Blank Page [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
vvti
Corporal
Corporal


Joined: May 07, 2003
Posts: 62

Location: nottingham

PostPosted: Wed Jul 02, 2003 2:41 am Reply with quoteBack to top

i use nsn groups , i still get the same problem a blank page

i turned debug on

not sure if this helps tho

SQL query: select radminsuper from nuke_authors where aid='jeff'
SQL query: insert into nuke_authors values ('adminwrrw', 'admin', '', 'here@here.com', '03c37aa99aa4f6b766f802451e06c6c7', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '1', '')

i also tried doing a direct input into the databse using the above

get this error



INSERT INTO nuke_authors
VALUES (

'adminwrrw', 'admin', '', 'here@here.com', '03c37aa99aa4f6b766f802451e06c6c7', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '1', ''
)

MySQL said:


Column count doesn't match value count at row 1


so if i counted right 23 in the sql quert , but 24 columns in the data base

the answers there somewhere Shocked
Find all posts by vvtiView user's profileSend private messageVisit poster's website
vvti
Corporal
Corporal


Joined: May 07, 2003
Posts: 62

Location: nottingham

PostPosted: Wed Jul 02, 2003 4:49 am Reply with quoteBack to top

fixed it Very Happy

Quote:
$result = sql_query("insert into ".$prefix."_authors values ('$add_aid', '$add_name', '$add_url', '$add_email', '$add_pwd',
'0', '$add_radminarticle','$add_radmintopic','$add_radminuser',
'$add_radminsurvey','$add_radminsection','$add_radminlink',
'$add_radminephem','$add_radminfaq','$add_radmindownload',
'$add_radminreviews','$add_radminnewsletter','$add_radmingroup','$add_radminforum',
'$add_radmincontent','$add_radminency','$radminCalendarAdmin',
'$add_radminsuper','$add_admlanguage')", $dbi); if (!$result) {
return;
}


it seemed to be missing the groups bit
Find all posts by vvtiView user's profileSend private messageVisit poster's website
dragon
Nuke Cadet
Nuke Cadet


Joined: Jul 02, 2003
Posts: 9


PostPosted: Wed Jul 02, 2003 7:44 am Reply with quoteBack to top

Anybody will not help me???
Find all posts by dragonView user's profileSend private message
gybanez
Nuke Cadet
Nuke Cadet


Joined: Jun 10, 2003
Posts: 8


PostPosted: Thu Jul 03, 2003 9:04 pm Reply with quoteBack to top

Hey Raven and Holbrookau, I found this article. I have a similar issue on both my production and test site. I did install both Nucalendar. The issue I first noticed is that I try to add an admin and when I click "Add Author" I would just stare at a blank screen. Well, I didn't know what to do so I tried making the author in phpmyadmin, it worked but if I didn't give them superuser rights, they "did not have access to this page". If I give 1 to superuser it worked.

This was not acceptable. I then made that chage in your suggested fix earlier in this thread and I AM now able to successfully create an admin in the Administration panel. However the rights issue still remains. If I don't give this newly created admin "superuser" rights, then they can't do anything. "what happens is they login as the new admin I created and they can login successfully, but the Administration panel shows them the permission icons I allowed but every single one of them says YOu do not have access to this page"

Any suggestions?
Find all posts by gybanezView user's profileSend private message
mikem
Theme Guru
Theme Guru


Joined: Jan 13, 2003
Posts: 1582

Location: Corn fields of Indiana

PostPosted: Mon Jul 07, 2003 9:22 am Reply with quoteBack to top

gybanez

we have the same problem at nukemods.com
Unless the Admin you are adding has SuperUser rights, then it doesn't work.

mikem

_________________
Getting Started | My Projects
Find all posts by mikemView user's profileSend private message
mikem
Theme Guru
Theme Guru


Joined: Jan 13, 2003
Posts: 1582

Location: Corn fields of Indiana

PostPosted: Mon Jul 07, 2003 9:47 am Reply with quoteBack to top

Ok I am making progress here.
More than liekly this whole issue is caused by ANY field being added to the authors table. There are other mods that do this as well and unless they supply a modified authors.php file to allow for the added field in the aithors table, then adding admins bombs out in one way or the other.

Check your authors table. these are the DEFAULT fields that SHOULD be there. Anything additional needs to be looked at as the possible culprit. More than likely your authors.php is not recognizing any additional table(s) if they are there.


Quote:
aid
name
url
email
pwd
counter
radminarticle
radmintopic
radminuser
radminsurvey
radminsection
radminlink
radminephem
radminfaq
radmindownload
radminreviews
radminnewsletter
radminforum
radmincontent
radminency
radminsuper
admlanguage

_________________
Getting Started | My Projects
Find all posts by mikemView user's profileSend private message
mikem
Theme Guru
Theme Guru


Joined: Jan 13, 2003
Posts: 1582

Location: Corn fields of Indiana

PostPosted: Mon Jul 07, 2003 10:58 am Reply with quoteBack to top

Ok ANYONE having this problem.
Check your authors table against the list of fields I gave above.
IF you have additional fields, you need to add them to this line in your authors.php
Code:
    $result = sql_query("insert into ".$prefix."_authors values ('$add_aid', '$add_name', '$add_url', '$add_email',
 '$add_pwd', '0', '$add_radminarticle','$add_radmintopic','$add_radminuser','$add_radminsurvey','$add_radminsection',
'$add_radminlink','$add_radminephem','$add_radminfaq','$add_radmindownload','$add_radminreviews','$add_radminnewsletter',
'$add_radminforum','$add_radmincontent','$add_radminency',
'$add_radminsuper','$add_admlanguage')", $dbi);


we have the additional field of
radminblocker
If you too have additional fields, you need to add them to the line.

All I had to do was add this part
Code:
,'$add_radminblocker'

to that line at the end to get authors.php to recognize that field.

so I add to that line like this

Code:
    $result = sql_query("insert into ".$prefix."_authors values ('$add_aid', '$add_name', '$add_url', '$add_email',
 '$add_pwd', '0', '$add_radminarticle','$add_radmintopic','$add_radminuser','$add_radminsurvey','$add_radminsection',
'$add_radminlink','$add_radminephem','$add_radminfaq','$add_radmindownload','$add_radminreviews','$add_radminnewsletter',
'$add_radminforum','$add_radmincontent','$add_radminency',
'$add_radminsuper','$add_admlanguage','$add_radminblocker')", $dbi);


it is at least worth a try. Wink

_________________
Getting Started | My Projects
Find all posts by mikemView user's profileSend private message
gybanez
Nuke Cadet
Nuke Cadet


Joined: Jun 10, 2003
Posts: 8


PostPosted: Sun Jul 13, 2003 2:49 pm Reply with quoteBack to top

Hi MikeM. I tried your solution and I did check my authors table and the only added field was "radminNewsflashAdmin"

so I went to my authors.php file and adde this

$result = sql_query("insert into ".$prefix."_authors values ('$add_aid', '$add_name', '$add_url', '$add_email', '$add_pwd', '0', '$add_radminarticle','$add_radmintopic','$add_radminuser','$add_radminsurvey','$add_radminsection','$add_radminlink','$add_radminephem','$add_radminfaq','$add_radmindownload','$add_radminreviews','$add_radminnewsletter','$add_radminforum','$add_radmincontent','$add_radminency','$add_radminsuper','$add_admlanguage','$add_radminNewsflashAdmin')", $dbi);

Unfortunately, it still doesn't give me access to the page when I successfully create a new admin. Still the same..it only works if I give Superuser. Do you know if there are other changes required on the authors.php file that I may have not done yet?
Find all posts by gybanezView user's profileSend private message
mikem
Theme Guru
Theme Guru


Joined: Jan 13, 2003
Posts: 1582

Location: Corn fields of Indiana

PostPosted: Sun Jul 13, 2003 4:19 pm Reply with quoteBack to top

Ok..gybanez
One mroe thing we can try.

open your admin.php file
Find this part.
Code:
$sql = "SELECT radminarticle,radmintopic,radminuser,radminsurvey,radminsection,radminlink,radminephem,radminfaq,radmindownload,radminreviews,radminnewsletter,radminforum,radmincontent,radminency,radminsuper FROM ".$prefix."_authors WHERE aid='$aid'";


add your variable to that like this
Code:
$sql = "SELECT radminarticle,radmintopic,radminuser,radminsurvey,radminsection,radminlink,radminephem,radminfaq,radmindownload,radminreviews,radminnewsletter,radminforum,radmincontent,radminency,radminsuper,radminNewsflashAdmin FROM ".$prefix."_authors WHERE aid='$aid'";


then find this line
Code:
$radminsuper = $row[radminsuper];

and add this line just below it.
Code:
$radminNewsflashAdmin = $row[radminNewsflashAdmin];


MAKE SURE you backup that file before uploading the changed one.
Let's see if that works. Leave the change you made to the authors.php file earlier.

mikem

_________________
Getting Started | My Projects
Find all posts by mikemView user's profileSend private message
GrandAdmiral
Sergeant
Sergeant


Joined: Jun 14, 2003
Posts: 92


PostPosted: Sun Jul 13, 2003 4:43 pm Reply with quoteBack to top

Hey mikem,

All of my tables are the same as your list and I still get the blank page. Only difference is that the page goes blank when I try to add a message to the main page. Any suggestions?
Find all posts by GrandAdmiralView user's profileSend private message
gybanez
Nuke Cadet
Nuke Cadet


Joined: Jun 10, 2003
Posts: 8


PostPosted: Sun Jul 13, 2003 5:07 pm Reply with quoteBack to top

mikem, it didnt work. It still does the same thing. I was wondering if I remove Newsflash if it will function back to normal. I like Newsflash but I also need the ability to delegate authors.

I'm gonna try to research Newsflash and see if they know the fix or even heard of this issue. Thank you for all your help and I will keep researching.
Find all posts by gybanezView user's profileSend private message
garwil
Corporal
Corporal


Joined: Jun 08, 2003
Posts: 64


PostPosted: Sun Oct 05, 2003 11:28 am Reply with quoteBack to top

Hi,

Do es anyone know if a definitive solution has been found to the Calendar mod causing EDIT ADMIN to return a blanke page yet? I have tried all the solution in this post but nothing is working...I am using Calendar 1.12 in another site and it works just fine (Nuke6.5) but in this site OSC2NUKE 6.9 ..no luck at all..
Find all posts by garwilView user's profileSend private message
poppafrog
Lieutenant
Lieutenant


Joined: Jul 14, 2003
Posts: 153


PostPosted: Mon Oct 06, 2003 4:21 am Reply with quoteBack to top

I've been having the same problem with adding new authors/supers/admins, etc...

ZX has me report it as a bug.

Just checked my authors, admin.php and my database nuke_authors.

All fields are set properly and the appropriate entries are correct in the admin and authors.php

_________________
Image
Find all posts by poppafrogView user's profileSend private messageVisit poster's website
x
Corporal
Corporal


Joined: Mar 25, 2003
Posts: 57

Location: Puerto Rico

PostPosted: Wed Dec 03, 2003 10:29 pm Reply with quoteBack to top

What happens if I don't have event calendar and I still get that blank page? I recently upgraded my site and basically the site loads and looks like Rainbow Brite. most of the modules give me an error and I get that stupid blank admin page.

what y'all suggest?

_________________
Gilberto J. Palau aka 'X'
Head Honcho
www.zonaxbox.com
Find all posts by xView user's profileSend private messageVisit poster's websiteMSN MessengerICQ Number
PredGR
Nuke Cadet
Nuke Cadet


Joined: Nov 19, 2003
Posts: 8


PostPosted: Thu Dec 04, 2003 8:32 am Reply with quoteBack to top

I also have the Blank page problem when i try to add an admin, and i DON'T have the calendar installed... Any suggestions?
Find all posts by PredGRView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.251 Seconds - 377 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::