User login

Documentation

Drupal, project, life documentation. This is where notes go to try to earn their way onto Drupal.org.

Printer-Friendly View and CCK

This page describes a way to make an end run around the printer-friendly module and just load a new stylesheet for making pages look good for printing:

Printer-Friendly View and CCK?
http://drupal.org/node/94098

But surely there is a righter, more Drupal way of doing this?

If we can find one, we'll post about it back to the issue queue also.. somewhere else

This page describes a way to make an end run around the printer-friendly module and just load a new stylesheet for making pages look good for printing:

Printer-Friendly View and CCK?
http://drupal.org/node/94098

But surely there is a righter, more Drupal way of doing this?

If we can find one, we'll post about it back to the issue queue also.. somewhere else

http://drupal.org/node/94098#comment-176891

Fixing Clean URLs on Some Drupal Installations

On some servers, the initial installation of Drupal will fail the clean URLs test.

Just giving the server an initial path, "/" in .htaccess solves this problem.

Keywords: .htaccess rule change Drupal clean URLs

On some servers, the initial installation of Drupal will fail the clean URLs test.

Just giving the server an initial path, "/" in .htaccess solves this problem.

Keywords: .htaccess rule change Drupal clean URLs

Apache, PHP, and disaster

Help! I've installed Apache 2.2 and PHP 5.2 and all my PHP is printed plain text!

Isn't this right?

# Use for PHP 5.x:
LoadModule php5_module        modules/libphp5.so
AddHandler php5-script php

PHP and Apache are both running, appear to know about each other, but cannot get PHP files to be interpreted? This is an emergency help situation.

I'd say it happens to the best of us, but modesty precludes.

I threw into httpd.conf:

AddType application/x-httpd-php .php

Help! I've installed Apache 2.2 and PHP 5.2 and all my PHP is printed plain text!

Isn't this right?

# Use for PHP 5.x:
LoadModule php5_module        modules/libphp5.so
AddHandler php5-script php

PHP and Apache are both running, appear to know about each other, but cannot get PHP files to be interpreted? This is an emergency help situation.

I'd say it happens to the best of us, but modesty precludes.

I threw into httpd.conf:

AddType application/x-httpd-php .php

PHPIniDir "/usr/local/apache2/php/php.ini"

one of them did it.

Installing ClamAV: NOT YET SUCCESSFUL

Agaric Design Collective is installing CiviCRM's CiviMail for a client, which requires AMaViS, which optionally asks for ClamAV. We will be taking optional at its word right now, since it has dependencies for OpenSSL tools that are more recent than what the rest of this CentOS installation use.

Agaric Design Collective is installing CiviCRM's CiviMail for a client, which requires AMaViS, which optionally asks for ClamAV. We will be taking optional at its word right now, since it has dependencies for OpenSSL tools that are more recent than what the rest of this CentOS installation use.

General RPM instructions: http://www.tuxfiles.org/linuxhelp/rpminstall.html
General Yum instructions: http://crash.fce.vutbr.cz/yum-repository.html

Future reference: building your own RPMs. http://www.hobbitmon.com/hobbiton/2005/07/msg00280.html

Installing ClamAV

Get Real Step by Step

Brainstorm

Come up with ideas.

Paper sketches

Sketches are quick, dirty, and cheap and that's exactly how you want to start out. Draw stuff. Scrawl stuff. Boxes, circles, lines. Get your ideas out of your head and onto paper. The goal at this point should be to convert concepts into rough interface designs. This step is all about experimentation. There are no wrong answers.

(I've never understood how, let alone why, to make brainstorming and sketches separate steps.)

Brainstorm

Come up with ideas.

Paper sketches

Sketches are quick, dirty, and cheap and that's exactly how you want to start out. Draw stuff. Scrawl stuff. Boxes, circles, lines. Get your ideas out of your head and onto paper. The goal at this point should be to convert concepts into rough interface designs. This step is all about experimentation. There are no wrong answers.

(I've never understood how, let alone why, to make brainstorming and sketches separate steps.)

Create HTML screens

Basic Mail Debugging

Mail doesn't work? Not receiving e-mails? Any of those problems, don't do what I did: start with some basic mail troubleshooting:

You may want to check your /etc/syslog.conf file (vi /etc/syslog.conf) to make sure it's doing this:

# (- Log all the mail messages to one place.)
mail.* -/var/log/maillog

If so, then check out that log!

You can go directly to the end of it:

sudo tail /var/log/maillog

Mail doesn't work? Not receiving e-mails? Any of those problems, don't do what I did: start with some basic mail troubleshooting:

You may want to check your /etc/syslog.conf file (vi /etc/syslog.conf) to make sure it's doing this:

# (- Log all the mail messages to one place.)
mail.* -/var/log/maillog

If so, then check out that log!

You can go directly to the end of it:

sudo tail /var/log/maillog

(Sudo may be required if you aren't logged in as root, which you shouldn't be.)

Create Mailman list through the command line

On a Dedicated or Virtual Private Server:

You can use the locate command to discover where your newlist file lives:

locate newlist | grep -v template

And so then:

# /usr/lib/mailman/bin/newlist your-list-name@example.com
prompt > Enter the email of the person running the list:
prompt > Initial mailman-test password:

On a Dedicated or Virtual Private Server:

You can use the locate command to discover where your newlist file lives:

locate newlist | grep -v template

And so then:

# /usr/lib/mailman/bin/newlist your-list-name@example.com
prompt > Enter the email of the person running the list:
prompt > Initial mailman-test password:

And place the text it generates into /etc/aliases or its equivalent on your system. With Postfix installed, for instance, you might need to paste that text into /etc/postfix/aliases (even though /etc/aliases exists.)

Creating Mailman users who can create lists

[It's easier to create mailman lists through the command line.]

Creating a list at:
example.com/mailman/create

Gives the error:
You are not authorized to create new mailing lists

Which isn't a very nice thing to say.

(where does the user log in, what kind of user rights must have)

From a forum post asking the same question:

[It's easier to create mailman lists through the command line.]

Creating a list at:
example.com/mailman/create

Gives the error:
You are not authorized to create new mailing lists

Which isn't a very nice thing to say.

(where does the user log in, what kind of user rights must have)

From a forum post asking the same question:

<

blockquote>

I am running RH ES 3 and installed the mailman rpm. Every time I try to
create a list it give me this error:

Error: You are not authorized to create new mailing lists

Multiple aliases in Drupal

[To put this in something more resembling English, we're talking about creating multiple URLs, more than one web address, to one page or piece of content on a Drupal site.]

It's actually very easy. Go to admin/path/add and add another alias for the node which you want multiply aliased.

(Look up the node/## first by going to the node, and checking the node/##/edit path– you'll have to be logged in to see the edit link.)

So if it's that simple, why would this need an explanatory page on Agaric Design?

[To put this in something more resembling English, we're talking about creating multiple URLs, more than one web address, to one page or piece of content on a Drupal site.]

It's actually very easy. Go to admin/path/add and add another alias for the node which you want multiply aliased.

(Look up the node/## first by going to the node, and checking the node/##/edit path– you'll have to be logged in to see the edit link.)

So if it's that simple, why would this need an explanatory page on Agaric Design?

Mailman set-up and configuration

NameError: name 'subdomain' is not defined<code> 

In mm_cfg.py the lines need quotes ('), for instance:

<code>DEFAULT_URL_HOST = 'subdomain.example.com'

NameError: name 'subdomain' is not defined<code> 

In mm_cfg.py the lines need quotes ('), for instance:

<code>DEFAULT_URL_HOST = 'subdomain.example.com'

Syndicate content