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*
marcoledingue Captain
Joined: Jun 15, 2003
Posts: 322
Location: Paris, FRANCE
Posted:
Wed Mar 31, 2004 1:57 am
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.
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*
xenon2000 Nuke Cadet
Joined: Apr 02, 2004
Posts: 7
Posted:
Fri Apr 02, 2004 11:21 am
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.
Maeve Nuke Cadet
Joined: Mar 31, 2004
Posts: 3
Location: Canada
Posted:
Fri Apr 02, 2004 12:11 pm
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
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*
xenon2000 Nuke Cadet
Joined: Apr 02, 2004
Posts: 7
Posted:
Fri Apr 02, 2004 12:52 pm
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.
chrisjlocke Nuke Cadet
Joined: Apr 29, 2004
Posts: 1
Posted:
Thu Apr 29, 2004 2:50 pm
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!!
Last edited by chrisjlocke on Fri Jul 30, 2004 10:58 am; edited 2 times in total
awc Nuke Cadet
Joined: Jul 30, 2004
Posts: 9
Posted:
Fri Jul 30, 2004 10:41 am
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??
plecotus Nuke Cadet
Joined: May 12, 2004
Posts: 4
Posted:
Tue Aug 17, 2004 1:30 am
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
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 ?>
futur Nuke Cadet
Joined: Mar 28, 2005
Posts: 1
Posted:
Mon Mar 28, 2005 6:32 am
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
Hope it works for you too.
Greets
ipokerhu Nuke Soldier
Joined: May 03, 2005
Posts: 13
Location: USA
Posted:
Mon May 09, 2005 7:48 pm
nope, I'll look some more, my bad, sorry!
_________________ Even a blind hog will find an acorn, while loose in the woods.
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