By mmerlange on
Hi,
I just installed Drupal 6.3. Apart from the missing settings.php, everything looked fine but...
On the "Welcome to your new Drupal website!" page, every link leads to a "Access denied" page!
I thought that maybe the problem was I had installed 2 Drupal websites during the same session. So I restarted Firefox and reinstalled Drupal on one website.
Same problem...
Anyone has an idea?
Thank you,
Michael
Comments
Profile and initial login
This sometimes happens when the initial setup login does not happen. Hope your cookies are enabled? Try navigating to /user and logging in there. If this wont help, try navigating to /?q=user - may be that clean urls don't work on your server. If nothing helps, try reinstalling it.
- Alexei Rayu.
Drupal Related Services | SiteHound Drupal Free Distro
These suggestions didn't work
I have the identical problem. Cookies are enabled and the screen does indicate that I am logged in, but every page I go to gives "access denied." Clean re-install did not help either. Clean urls do work on my server.
What oddities?
Is there anything special about your server setup?
- Alexei Rayu.
Drupal Related Services | SiteHound Drupal Free Distro
Oddities
Alexi,
My host is network solutions and I had to put my php.ini file below the root, in the cgi-bin folder for it to be recognised. And the mySQL database is refererenced by the ip address, not localhost. Those are the only oddities I am aware of. PHP 5 and mySQL 5. Drupal is installed one level above the root. So, the web root is htdocs, then there is a folder called kaihecker, which the domain name kaihecker.com points to, and that is where drupal is installed.
Thanks for any thoughts
Info not conclusive
Hi - this info is not conclusive.
What happens does indicate strongly that it's the cookies problem. When you reload the page the session dies. Though I can suggest trying SiteHound and see if it does the same (it's 5.8 based) - I strongly suggest that some of your php parametes are killing cookies.
Try SiteHound (or just grab the "phpinfo.php" from it's root folder - navigating to phpinfo.php will give you the PHP variables for the server.) Then, check out the parameters that have "session" and "cookie" in them.
- Alexei Rayu.
Drupal Related Services | SiteHound Drupal Free Distro
phpinfo.php
Is phpinfo.php a file installed by Drupal? I don't find it in the root folder or anywhere else. Also don't find it below the root.
Rob
Where it is
It is not provided with Drupal. Its a part of a SiteHound Drupal - see the link below.
Basically what it is - is an empty ph file with only this code:
You can get it from SiteHound or create a new php page with it. You can even paste it into a Drupal dynamic page, which you can't do in this case, if you have verification problems. If you are not sure, just get it from SiteHound.
- Alexei Rayu.
Drupal Related Services | SiteHound Drupal Free Distro
php infio
Thanks Alexi,
I created a page with the code you supplied at http://www.kaihecker.com/info.php but the page of info that comes up says nothing about sessions or cookies.
Rob
Sorry I have been away
Sorry I have been away and have returned only now. Hope your issue has been rectified? The phpinfo is no longer there.
- Alexei Rayu.
Drupal Related Services | SiteHound Drupal Free Distro