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, 261 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 - Upgraded from 7.0 to 7.5 got some admin issues [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
needalilhelp
Guest






PostPosted: Thu Nov 11, 2004 2:33 pm Reply with quoteBack to top

Im just going to list whats wrong and what erros im getting and see where to go from there.




Adding Admins - no longer works just leads to white page. This is of course my biggest problem

=============


Web links- Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/includes/sql_layer.php on line 286
Access Denied

I did delete the old weblink related files and copy over all existing files aswell as uploaded the new ones


=========

qshoutblck admin - MYSQL Fetch row error , not sure what to do about this.

=========


newletter - not having any issue with it working but however would like it in the modules admin as I have one person who does the newsletter and nothing else and would like to keep it like that.


=============

some misc admin links still have a Access Denied error at top left of page. Ive noticed that ince the old admin files were deleted and the new ones were added to the module folder it usually disappeared. how ever some did not (news,surveys,exc). Some also arent default files from nuke and cant be uploaded over with newer files.


Thanks for any insight.
Find all posts by Anonymous
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Fri Nov 12, 2004 11:30 am Reply with quoteBack to top

Read this: http://www.nukeresources.com/ftopict-1425.html

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
needalilhelp
Guest






PostPosted: Fri Nov 12, 2004 5:05 pm Reply with quoteBack to top

I would but it doesnt seem to want to open. I did however go in via http://www.nukeresources.com fine and find the topic in question its just being stubborn. Care to copy and paste it? Ill keep trying to get it to open aswell
Find all posts by Anonymous
Guest







PostPosted: Fri Nov 12, 2004 5:15 pm Reply with quoteBack to top

Well still wont open in IE or mozilla for some reason. however I did save the page and open it on my desk top. Upgly but readable.


However that didnt answer anything. Ive uploaded the files that needed to be uploaded in the admin section aswell as deleted those that were required to be deleted. Still no change
Find all posts by Anonymous
Guest







PostPosted: Sat Nov 13, 2004 1:02 am Reply with quoteBack to top

Weblinks has been fixed but im still having the following issues:


Admin as stated above - biggest problem

qshout - same as above



and the newsletter question has nothing to do with errors but would like a response to that aswell
Find all posts by Anonymous
needalilhelp
Guest






PostPosted: Mon Nov 15, 2004 3:00 pm Reply with quoteBack to top

Any other ideas? I still really need help with not being able to admins. Thats really the only thing I need help with. Ive deleted and added the correct files after the upgrade but have yet to see a resolution
Find all posts by Anonymous
needalilhelp
Guest






PostPosted: Wed Nov 17, 2004 8:12 pm Reply with quoteBack to top

Hate to bump but the not being able to add admins is really making things difficult.

If you need more info from me let me know and ill provide it.
Find all posts by Anonymous
needalilhelp
Guest






PostPosted: Wed Nov 17, 2004 11:38 pm Reply with quoteBack to top

I got nuke 7.6 to see if that would resolve error. I deleted every single admin related file and put it in fresh. If i hit the add author button i still
get the white page. But if i hit it with no name it gives me an error

Author's Creation Error

You must complete all compulsory fields

I can also edit current admins if that helps narrow it down some but thats not doing me any good on adding new ones
Find all posts by Anonymous
HalJordan
Support Staff
Support Staff


Joined: Aug 07, 2004
Posts: 1117

Location: Somewhere around Hunan, China

PostPosted: Thu Nov 18, 2004 8:44 am Reply with quoteBack to top

If you install 7.6 over another version, especially one older than 7.5, you will have to replace ALL the files. Versions 7.5 and 7.6 have a different database structure than earlier versions.

Please tell us what original version you had. And provide a URL so we can check it out.

_________________
Obedezco, pero no cumplo.

Proprietor, www.computernewbie.info
Support staff, www.nukecops.com
Find all posts by HalJordanView user's profileSend private messageSend e-mailVisit poster's websiteAIM Address
needalilhelp
Guest






PostPosted: Thu Nov 18, 2004 8:07 pm Reply with quoteBack to top

Im totally aware of what files need to be replaced and which need to be completely removed aswell as the changes with in the database.

I think that point is being missed. there are several topics in discussion here , and found on google, about the same exact problem and no ones received an answer that worked from what Ive seen. A url would do no one any good considering its an admin only issue. I have no problems on any other aspect of the site.


Dont worry about answering here Im going to ask elsewhere or check in on the many other posts and see if they ever get a resolution.

Thanks anyways
Find all posts by Anonymous
HalJordan
Support Staff
Support Staff


Joined: Aug 07, 2004
Posts: 1117

Location: Somewhere around Hunan, China

PostPosted: Thu Nov 18, 2004 9:20 pm Reply with quoteBack to top

Well, I may have a solution to some of your problems. Are the cranky modules in the admin menu only those left by the earlier version of nuke? Nuke 7.5 deals with modules admin differently than older versions.

At the top of a module script in admin/modules, look for something like this code from sections.php
Code:
$row = $db->sql_fetchrow($db->sql_query("SELECT radminsection, radminsuper FROM " . $prefix . "_authors WHERE aid='$aid'"));
if (($row['radminsection'] == 1) OR ($row['radminsuper'] == 1)) {

Nuke 7.5 does not use the field radminsection, or anything other than radminsuper (that I can tell, anyway). When it can't find the field, it jumps to the Access Denied instruction.

So, if you remove the references to radminsection (or whatever), you can get rid of that annoying Access Denied message. Like so,
Code:
$row = $db->sql_fetchrow($db->sql_query("SELECT radminsuper FROM " . $prefix . "_authors WHERE aid='$aid'"));
if ($row['radminsuper'] == 1) {

This seems to work, and doesn't seem to break anything else. Even so, back up your files before changing them.

And BTW don't take offense at my earlier suggestions. It just seems that most guests here are total noobs and need a lot of handholding.

_________________
Obedezco, pero no cumplo.

Proprietor, www.computernewbie.info
Support staff, www.nukecops.com
Find all posts by HalJordanView user's profileSend private messageSend e-mailVisit poster's websiteAIM Address
needalilhelp
Guest






PostPosted: Fri Nov 19, 2004 6:34 am Reply with quoteBack to top

Quote:
And BTW don't take offense at my earlier suggestions. It just seems that most guests here are total noobs and need a lot of handholding.


Its no problem. Ive just seen some really ignorant replies :p I found the main issue. Seems there was aconflict with protector which has been replaced with sentinel now and im able to add admins fine.


The only issue thats still hanging around is the shout block problem. It did have radmin references but I had already removed them. Seems to cause it to just refresh itself. It may be a hassle but i can deal with editing it via the db til i find a more perm fix for it.
Find all posts by Anonymous
Guest







PostPosted: Sun Nov 13, 2005 12:12 pm Reply with quoteBack to top

Not sure if you have found a fix for this yet. But the problem lies in the admin check code at the top of the ShoutBlock.php file under admin/modules....

Replace :
Code:
// if (!eregi("admin.php", $PHP_SELF)) { die ("Access Denied"); }
// $result = sql_query("select radminfaq, radminsuper from ".$prefix."_authors where aid='$aid'", $dbi);
// list($radminfaq, $radminsuper) = sql_fetchrow($result, $dbi);
// if (($radminfaq==1) OR ($radminsuper==1)) {


With :
Code:
if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }
global $prefix, $db;
$aid = substr("$aid", 0,25);
$row = $db->sql_fetchrow($db->sql_query("SELECT radminsuper FROM " . $prefix . "_authors WHERE aid='$aid'"));
if ($row['radminsuper'] == 1) {


That seemed to work fine for me and now the Admin page for Qshout loads just fine....

One thing I haven't figured out yet is the fact that the block isnt seeing me as logged in when logged in as a registered user. So I cant post... still working on that one.
Find all posts by Anonymous
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You can post new topics in this forum
You can 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 - TUTTISU E-COMMERCE http://www.tuttisu.it
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.051 Seconds - 346 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::