create new account

gleble - October 29, 2006 - 13:11

finally managed to get to drupal. The first page says Acces denied and this warning

user warning: Can't create/write to file 'C:\Program Files\xampp\tmp\#sql_74_0.MYI' (Errcode: 2) query: SELECT DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN (1) in C:\Program Files\xampp\xampp\htdocs\example\drupal-4.7.4.tar\drupal-4.7.4\includes\database.mysql.inc on line 121.
You are not authorized to access this page.

but gives the option to Create a new account. When I try I get Object not found and this message

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

When I hover on the link I find it points to http://localhost/drupal-4.7.4/?q=user/register

I,m so close, can anyone help?

Create your administrator account

gleble - October 30, 2006 - 18:06

I am on the welcome page and am trying to create an administrator account but it says access denied. This is the first time I have been here. If I go to the administer page it tells me the most recent system events, which are:

user warning: Can't create/write to file 'C:\Program Files\xampp\tmp\#sql_14c_0.MYI' (Errcode: 2) query: SELECT w.*, u.name, u.uid FROM watchdog w INNER JOIN users u ON w.uid = u.uid ORDER BY w.wid DESC LIMIT 0, 50 in C:\Program Files\xampp\xampp\htdocs\example\drupal-4.7.4.tar\drupal-4.7.4\includes\database.mysql.inc on line 121.

I think it is a problem with my settings.php file. Most probaly with the line

$db_url = 'mysql://root:@localhost/drupal';

I am pretty sure this is wrong but it is the only thing theat will get me into drupal with no errors.
My user name is 'root', there is no password(initial settings) and my server is 'Localhost'

I am using drupal 4.7.4 , PHP 5.1.6 , MySQL 5.0.24a , Apache 2.23 and Xampp Windows version 1.5.4a

What should I have in settings.php?

 
 

Drupal is a registered trademark of Dries Buytaert.