PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Tue Mar 08, 2005 5:52 pm Reply with quote Back to top

There are many posts where people get Access Denied messages. Some are in conjunction with a blank screen. Others, as in nuke v7.6, may not have a blank page entirely. Many are in the admin panel.

There can be several reasons why so it is not always easy to spot immediately. However, I tracked one elusive one down today and I'll address it here. The situation was nuke 7.6 (in this case) and the general administration modules were listed but there was an Access Denied message when it went to the individual module section. Don't get too concentrated on that as your mileage may vary.

Before starting down a major debug path, use phpinfo() and determine if your PHP installation is compiled as a CGI or an Apache Module. If, when you run phpinfo() and you see Server API CGI it is CGI. Otherwise it is not, at least not apparently. If it is CGI and you are receiving those pesky "Access Denied" messages", the FIRST thing to check is if you are using any code that references $_SERVER['SCRIPT_NAME'] . If so, you have basically 2 choices. Either change them all to $_SERVER['PHP_SELF'], which isn't that hard with a good search and replace editor, or find an alternate way of globally populating the SCRIPT_NAME = PHP_SELF. See this post for an alternative
Only registered users can see links on this board!
Get registered or login to the forums!
that may work.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum