Hi masters!!!
First of all excuse me for my bad english... I have installed WAMP 5 packet and all work fine, then I access to the drupal main page and click on "Create first account". I write the name of the usuary administrator and my real email and go to the next page. In this page I write the password I want for this admin user, but when I click on the "Submit" button an error appears that tell me "Access denied.You are not authorized to access this page."

Any ideas?

Thank you very much guys!!

Comments

dafa’s picture

Have you tried clearing the cache in the browser?

Sounds in my ears like it could be a cache-error...

--
dafa

gorka_arai’s picture

Hi dafa!!!
Thank you for your response. I have cleaned the cache browser, passwords, cookies...etc but the problem is still here...

hguttesen’s picture

I have just moved a working drupal test installation from one server to another, and got the same problem.
On the new server I also used WAMP5, perhaps ther is a issue with this?

Server Configuration
Apache version :Apache/2.0.59 (Win32)
PHP version :5.2.0
Loaded extensions :
bcmath, calendar, com_dotnet, ctype, session, filter, ftp, hash, iconv, json, odbc, pcre, Reflection, date, libxml, standard, tokenizer, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, apache2handler, mbstring, gettext, mysql, mysqli, PDO, pdo_sqlite, SQLite
MySQL version :5.0.27-community-ntTools
PHPmyadmin 2.9.0.3
SQLitemanager 1.2.0

satori1984’s picture

This issue might solve your problem: http://drupal.org/node/92802

cog.rusty’s picture

Yes, a patch for 4.7 is still waiting to be committed in http://drupal.org/node/93945#comment-154166.
Alternatively, it might work with "mysqli" instead of "mysql" in the $db_url in settings.php.

rhuff’s picture

Thanks for the suggestion. I changed my db_url to mysqli and it fixed the problem.

cog.rusty’s picture

With the latest patches, the line of code which used to make 'mysqli' immune to this problem has been moved to a place where 'mysql' can benefit too. So, with the next update this won't matter.

swy000’s picture

MySQL 5.0.27
Apache 2.0.59
PHP 5.2.0

just installed WAMP5 and Drupal. I got to the login part, created my first user, and got access denied.
i then created about 6 users to keep testing. Nothing worked.
I tried changing db_url to mysqli but nothing happened. Am I supposed to start installation from the beginning and then change to mysqli? The reason im asking if because the first time i created a user, i got a screen that allowed me to change my password. I never saw that screen again! Am I supposed to start from scratch and change to mysqli?

-swy

cog.rusty’s picture

No need to start from scratch. Nor change to mysqli, because if it doesn't work already it is easier to update your Drupal's code.

This is the issue you have to follow:

http://drupal.org/node/93945

For Drupal 4.7.4 you could apply the patch in #27 which makes a small change in 2 files. That should solve the problem.

Or wait until it is committed (I think a part of that patch already has), get the new files from CVS and replace the old ones.

ladycentaur’s picture

Change your config.php file to writeable and then you should be able to create your first account.

mirontoli’s picture

I have the same problems. I log in. And then: "Access denied.You are not authorized to access this page."
I use Mozilla Firefox. So I tried to log in in IE. It worked. So it is very ridicoulus.

In Mozilla on a site, which has clean URLs, there is no problem. So it is not on a site without clean URLs.