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, 618 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 - God-User - access denied to all modules incl preferences [ ]
 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
Maeve
Nuke Cadet
Nuke Cadet


Joined: Mar 31, 2004
Posts: 3

Location: Canada

PostPosted: Wed Mar 31, 2004 1:12 am Reply with quoteBack to top

Embarassed

Hopefully someone might have an idea what I ought to do about this ...

Brand new php-Nuke 7.1 user ... took my server admin and I a while to figure out our original error, but we finally do have visible pages instead of the pretty all-white ones that were there for the longest time.

Needless to say, I was thrilled when I finally saw the site operating with no obvious errors ... however, trouble resumed after I set up my Super-Admin account. The How-To stated that I was next to choose the preferences option ... but, when I did so, I received an "Access Denied" response. A little experimentation shows that I have access to the lefthand module menu, but not the admin options.

I did a little digging in the forum, hoping to find an answer and not have to bother anyone here ... and found that this could be caused by incorrect CHMOD settings, so I FTP'ed into my server and manually reset all the permissions and then used analyze.php to verify I had them correct. They are as follows:
666 - backend, config, and ultramode
755 - directories
644 - the other files

Unfortunately I still cannot get past that "Access Denied" message to make the admin modules work. I'm out of ideas and hoping someone else might have some suggestions.

Thank you.

Maeve
)0(

*staring up an extremely steep learning curve with glazed eyes and a bewildered expression*
Find all posts by MaeveView user's profileSend private messageVisit poster's website
marcoledingue
Captain
Captain


Joined: Jun 15, 2003
Posts: 322

Location: Paris, FRANCE

PostPosted: Wed Mar 31, 2004 1:57 am Reply with quoteBack to top

did you identify yourself as admin in your site using
yoursite.com/admin.php
?
or
yoursite.com/modules.php?name=Your_Account
?

the first one is to log on as admin and the second one is to log on as member.

_________________
Support website for Sommaire Paramétrable : http://marcoledingue.free.fr
Find all posts by marcoledingueView user's profileSend private messageVisit poster's website
Maeve
Nuke Cadet
Nuke Cadet


Joined: Mar 31, 2004
Posts: 3

Location: Canada

PostPosted: Wed Mar 31, 2004 11:28 am Reply with quoteBack to top

Thank you for replying Smile

Thus far, I have been working my way through the How-To as each step presents itself. After resolving the database issue that wouldn't allow the pages to be viewed, I surfed up the admin.php and created a GOD admin as instructed. The first time I attempted it, something went amiss and it would not allow me to log in at all ... so my server admin flattened the database and reset the thing to allow me to try again.

This time, filling in all the fields, it appeared to go well, and I was given access to the admin.php page ... I have access to the lefthand modules menu, although the inactive links generate errors (I'm guessing they might need to be enabled through Preferences first) ... but the main Admin options (Preferences, Add Story, Edit Users, etc.) and the lefthand Admin menu & Waiting Content menu generate an "Access Denied" response.

I think I can almost grasp what you are asking ... having noticed that the "Who's Online" block does not identify me as a member, rather as an anonymous guest ... and the regular login from the homepage will not recognize either the GOD login nor the regular-user test login I created last night. But I am not at all sure how to implement your suggestion. Ought I manually edit the admin.php and module.php to recognize my GOD user? And if so, where please?

_________________
*staring up an extremely steep learning curve with glazed eyes and a bewildered expression*
Find all posts by MaeveView user's profileSend private messageVisit poster's website
xenon2000
Nuke Cadet
Nuke Cadet


Joined: Apr 02, 2004
Posts: 7


PostPosted: Fri Apr 02, 2004 11:21 am Reply with quoteBack to top

I have been searching this forum and all over the net for about 2 hours now. As well as trying a dozen different things. Since this is the EXACT same issue I am having, I figured I would start my postings here.

My final setup will be on a remote linux server host.

My development laptop/desktop setup:
Windows XP with SP1
Apache 1.3.28
MySQL 4.0.15
PHP 4.3.3
phpNUKE 7.1

I have my www.site.com listed in my HOST file;
which has worked out great for all my other web development projects. So I can fully test them locally before going online with the Production linux server.

I have been able to install phpNUKE just fine. Or at least it appears that way. It is accessing the MySQL DB just fine. I am able to go to admin.php, login as admin and as a registered user. And it shows that I am logged it. And under regular user account home, I can view all the top row of user account links. But for both user and admin, all the left links and in the administration page, ALL the icon links including the Preferences link, go to a blank white page with "Access Denied" at the top. I haven't been able to find any info anywhere on what could be causing this issue.

It's not a file system permissions issue for me, I know that much.

I thought it might be a cookie issue, but I do get authenticated and the cookie data is accurate.

I have looked that the DB for the user and admin data, but it appears fine.

I thought maybe the default PHP server Registered Globals Off might be an issue, so I turned on Registered_Globals. But it of course wasn't the issue, so it's back to the default OFF.

I am able to get phpNuke 7.1 installed on the remote Linux server just fine. So I am familiar with a working install and configuration and some customizing. But my windows install is baffling. The error is so generic and it doesn't look like a server_error output. But more like a built-in error generated by phpNuke code itself.

So has anyone else seen this error message? Is there something more specifc I can find out about this phpNuke generated error?

I wanted to run the analyze.php script. But even though I am registered at this forum, it tells me I can't download it.
Find all posts by xenon2000View user's profileSend private message
Maeve
Nuke Cadet
Nuke Cadet


Joined: Mar 31, 2004
Posts: 3

Location: Canada

PostPosted: Fri Apr 02, 2004 12:11 pm Reply with quoteBack to top

Heyla xenon2000,

Okies, I got my issue resolved ... not my own doing, I got help from the owner of a different forum (no clue what the rules on mentioning other groups here, so PM me if you want to know exactly who). It very well might be the same issue so here's what was pointed out to me ... hopefully it will help you Wink

My $dbtype variable in config.php was set to mysql4 which never has worked. It had to be changed to MySQL (mind case sensitivity too)

So simple and yet it was causing so much trouble.

G`Luck with it.

_________________
*staring up an extremely steep learning curve with glazed eyes and a bewildered expression*
Find all posts by MaeveView user's profileSend private messageVisit poster's website
xenon2000
Nuke Cadet
Nuke Cadet


Joined: Apr 02, 2004
Posts: 7


PostPosted: Fri Apr 02, 2004 12:52 pm Reply with quoteBack to top

WOW. Now that is insane!!! I just figured that since it was accessing the DB just fine and was able to create users and complete authentication, that mySQL settings were all good. And so I didn't even try messing with mySQL settings.

but like you, I change mysql4 => MySQL in config.php , cleared out the DB and started over, and now it seems to be working fine. No access erros now.

THANKS a TON.
Find all posts by xenon2000View user's profileSend private message
chrisjlocke
Nuke Cadet
Nuke Cadet


Joined: Apr 29, 2004
Posts: 1


PostPosted: Thu Apr 29, 2004 2:50 pm Reply with quoteBack to top

This has annoyed the pants off me all night!! I've a PhpBB forum, which has worked fine for months, and that uses a 'mysql4' setting, which I presumed would be similar.
Changed it as per your suggesion and its all working again!! Yaah!!!
Many thanks!
I noticed when creating the admin user, and saying to create a normal user with the same details, no graphical number came up, so I couldn't complete the process.... this has happened quite regulary while I kept trying creating the admin user and testing other things.... anyone else noticed this?

But at least I can get in the system now!! Very Happy


Last edited by chrisjlocke on Fri Jul 30, 2004 10:58 am; edited 2 times in total
Find all posts by chrisjlockeView user's profileSend private message
awc
Nuke Cadet
Nuke Cadet


Joined: Jul 30, 2004
Posts: 9


PostPosted: Fri Jul 30, 2004 10:41 am Reply with quoteBack to top

Man, I've been scrolling through these threads trying to find a solution to this same exact problem..... and every solution seems to be that people have put in the wrong thing in the $dbtype in the config file... but, mine is right.. it says "MySQL" so i just don't get it. how come I still get the access denied??
Find all posts by awcView user's profileSend private message
plecotus
Nuke Cadet
Nuke Cadet


Joined: May 12, 2004
Posts: 4


PostPosted: Tue Aug 17, 2004 1:30 am Reply with quoteBack to top

Hi guys,

same problem here.
Can't login as a regular user --> "Access Denied"
Can login as admin, but can't do anything --> "Access Denied"

I tryed setting the $dbtype in config.php to MySQL as well as mysql4, but both give the same outcome Sad

Anyone has any other sugestions?

_________________________________________

okay, found the answer somewhere else on this forum :


All U have to do is add this line:

$_SERVER['SCRIPT_NAME'] = $PHP_SELF;

at the end of mainfile ?>
Find all posts by plecotusView user's profileSend private message
futur
Nuke Cadet
Nuke Cadet


Joined: Mar 28, 2005
Posts: 1


PostPosted: Mon Mar 28, 2005 6:32 am Reply with quoteBack to top

Hey,

I had the same problem. To fix it, all you have to do is log out as the normal user and log in only as admin/superuser and all will be well Very Happy

Hope it works for you too.

Greets
Find all posts by futurView user's profileSend private message
ipokerhu
Nuke Soldier
Nuke Soldier


Joined: May 03, 2005
Posts: 13

Location: USA

PostPosted: Mon May 09, 2005 7:48 pm Reply with quoteBack to top

nope, I'll look some more, my bad, sorry!

_________________
Even a blind hog will find an acorn, while loose in the woods.
Find all posts by ipokerhuView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
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.402 Seconds - 519 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::