Drupal is up and running but how do I ...?

how to create pages, stories via mailhandler

Even if I enter "type: page" or any other node type, all my postings via email go straight to my blog. "promote: 1" or any other command is directly displayed as content.

I am using drupal 4.5.1 with the latest mailhandler module. What am I doing wrong?

One of the examples is at "http://derek.ecwhost.com/dp/node/32".

User.module line 366 issue...

I receive an error in my logs to the following:

warning: Unknown error in C:\FoxServ\www\modules\user.module on line 366.

I set the server up using foxserv 3.0 (non beta) and using drupal 4.5.2. This error happens immediately after each new user registration. No email is ever sent with a password and this line in the module is part of the following routine.

/**
* Generate a random alphanumeric password.
*/
function user_password($length = 10) {
// This variable contains the list of allowable characters for the
// password. Note that the number 0 and the letter 'O' have been
// removed to avoid confusion between the two. The same is true
// of 'I' and 1.
$allowable_characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789';

// We see how many characters are in the allowable list:
$len = strlen($allowable_characters);

// Seed the random number generator with the microtime stamp.
mt_srand((double)microtime() * 1000000);

// Declare the password as a blank string.
$pass = '';

// Loop the number of times specified by $length.
for ($i = 0; $i < $length; $i++) {

// Each iteration, pick a random character from the
// allowable string and append it to the password:
$pass .= $allowable_characters[mt_rand(0, $len - 1)];
}

return $pass;
}

line 366 is this: $pass = '';

Any ideas, can't find anything on this. Please Advise...

Links targeting main node section

I have searched through other topics using the search function (this really saved me with help and finding the front page module) but now it doesn't seem to be helping me with this next minor tweaking problem.

My sight can be viewed here http://web.ics.purdue.edu/~tjrandal

News feeds and titles in arabic which need right justification using CSS

I have successfully deployed a bi-lingual webpage, english and arabic. Much of it looks fine; however i want the arabic titles and newsfeed content to be right justified. Is there a way in CSS to determine the language being used and set the justificiation accordingly? Of course, I'm using UTF-8.

IIS issues with recent posts and default links

IIS 5.0
Windows 2000 Server
PHP 4.3.10
MySQL 4.1.9

I've recently installed Drupal 4.5.2 and had little trouble in getting it setup. However, I've discovered several problems that I'm hoping someone might be able to help me out with.

Avoid PHPSESSID in search engine URL

How do you avoid that PHPSESSID appears in URLs of search engines? I just checked MSN search results one of my main Drupal sites and all of them had the PHPSESSID at the end. Looks a bit ugly. I don't know about other search engines. Any ideas?

Pages

Subscribe with RSS Subscribe to RSS - Post installation