Small error in API reference node_example_node_info?

I was going through the api documentation and the sample node code, when I came across this piece of code for the hook_info sample (link):

Drupal-5.0 INSTALL.mysql.txt invalid create user instruction

Hi all,

This is my first topic here. Downloaded the just released 5.0 and thought to give it a try. I extracted the files under a subdirectory in the web root and followed the instructions in INSTALL.mysql.txt to create the MySQL user. The web server is Apache v. 2.0.59 and MySQL is v. 4.1.21. More specifically:

  1. created the database:
    mysqladmin -u root -p create test1
  2. created the user:
    mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES on test1.* to 'test1'@'localhost' identified by 'test1';
  3. flushed the privileges:
    flush privileges;

Ok, now calling from the browser the install.php file (

http://......./d1/install.php

) gives me the following error:

Failure to connect to your MySQL database server. MySQL reports the following message: Client does not support authentication protocol requested by server; consider upgrading MySQL client.
Are you sure you have the correct username and password?
Are you sure that you have typed the correct database hostname?
Are you sure that the database server is running?
For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.

Drupal Administration Instructions

I am putting together a number of tutorials for our customers to administer their drupal websites that we have created for them.

These instructions are generally for Drupal 4.7.x but obviously have certain modules that are being utilised.

These wil be of little use to anyone trying to install and configure a Drupal CMS, but maybe useful for those looking for basic info on general administration of a configured Drupal website.

Suggestion that might speed up our collaborative documentation

Ref. the descriptions at
http://drupal.org/drupal-5.0-rc2#comment-188674

That is a suggestion to create empty handbook pages with descriptive titles, and an invitation to people to start filling in. This can be complemented with a draft page that makes it quick for developers to add a new feature name and module reference to a list where others can take it from there.

Downloadable API

Is there a way to download the Drupal API documentation so that it can be read offline? I want to be able to download the content from: http://api.drupal.org/api/4.7 so that I can read it offline.

Thanks,

Sean

Multisite with drupal for dummies

Running multiple sites off a single drupal codebase was my dream ever since I started experimenting with drupal six months ago. Despite the excellent features of drupal, most of its features are unfortunately confined to a choice group of geeks, as the documentation is best understood by the seasoned veterans.

The drupal install.txt about multisite is no exception. It misses out several steps thinking it as second nature for every user. However, the forums, though sometimes confusing, are of great help, and with the help of the forum topics and a few external resources, I managed to have my two sites and two subdomains up and running.

My environment

- shared hosting with cPanel, fantastico, NO shell access (and the host refused to create symlinks!).
- I was already running a fully-functional drupal installation at the location http://domainname1.tld. I had a few modules and themes in the "default" folder.

My knowledge

- not much knowledge with scripting, PHP etc.

What follows are the comprehensive list of steps I followed, and right, wrong, or different, it works! I will spare you the fine details, as I assume you are used to computers for a while..

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Documentation