User login

Documentation

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

GNU-Linux Command Line Resources

Overview, features, shortcuts

Grid of commands

File permissions (see also file and directory ownership commands)

Overview, features, shortcuts

Grid of commands

File permissions (see also file and directory ownership commands)

Segmentation fault 11 error – Voodoo Zoodoo

A problem we dealt with that we very much hope no one else ever sees: a brand new virtual private server install, CentOS, Apache, PHP5, and Webmin, and everything worked except our Drupal site, which came up completely blank.

I am getting a seg fault when I try and run. this line is showing up in the apache error log

'exit signal Segmentation fault (11)'

anyone familiar with this?

here are some drupal notes:

http://drupal.org/node/63181

A problem we dealt with that we very much hope no one else ever sees: a brand new virtual private server install, CentOS, Apache, PHP5, and Webmin, and everything worked except our Drupal site, which came up completely blank.

I am getting a seg fault when I try and run. this line is showing up in the apache error log

'exit signal Segmentation fault (11)'

anyone familiar with this?

here are some drupal notes:

http://drupal.org/node/63181

http://drupal.org/node/57783#comment-167102

Transfer files from local computer to server

From the Agaric sysadmin:

On the command line, in the directory of the file you want to send:

ftp
open
(enter username + password)
bin
(navigate to the destination directory using cd )
put
quit (or exit)

That's all.

(Don't think this works if FTP isn't set up yet, though. May be a pure SSH way?)

keywords: Mac OS X Terminal upload to server, download linux shell command server local computer

From the Agaric sysadmin:

On the command line, in the directory of the file you want to send:

ftp
open
(enter username + password)
bin
(navigate to the destination directory using cd )
put
quit (or exit)

That's all.

(Don't think this works if FTP isn't set up yet, though. May be a pure SSH way?)

keywords: Mac OS X Terminal upload to server, download linux shell command server local computer

Urban Alliance for Sustainability

The Urban Alliance for Sustainability is undergoing a major upgrade to its e-mail architecture.

We should be live again within an hour.

Thank you for your understanding. If you have any immediate needs related to the site, please contact Ben Melançon.

UAS seeks to integrate and inspire the sustainability movement in the San Francisco Bay Area and beyond.
More individuals and organizations than ever before are co-creating a better, brighter world. The field is ripe for cultivation and collaboration!

The Urban Alliance for Sustainability is undergoing a major upgrade to its e-mail architecture. We should be live again within an hour. Thank you for your understanding. If you have any immediate needs related to the site, please contact Ben Melançon.
UAS seeks to integrate and inspire the sustainability movement in the San Francisco Bay Area and beyond. More individuals and organizations than ever before are co-creating a better, brighter world. The field is ripe for cultivation and collaboration!

SCI Dorchester

http://scidorchester.org/

Social Capital Inc. president David Crowley described the site this way:

a new community website with a searchable, customizable database of community services in Dorchester; blogging tools for individuals and organizations; a calendar of events; and an open space to post anything to have to do with Dorchester--maybe your favorite restaurant or tip for avoiding Dot Ave traffic.

http://scidorchester.org/

Social Capital Inc. president David Crowley described the site this way:

a new community website with a searchable, customizable database of community services in Dorchester; blogging tools for individuals and organizations; a calendar of events; and an open space to post anything to have to do with Dorchester--maybe your favorite restaurant or tip for avoiding Dot Ave traffic.

The entire project is similar to one which Agaric Design Collective is helping in Natick, http://mynatick.org/

Cannot access empty property

If you see something like this:

Fatal error: Cannot access empty property in /home/user/public_html/dev/sites/default/modules
/newsletter/newsletter.module on line 163

It probably means you are using $node->field syntax on a variable that doesn't exist, or has a zero value– in other words, an empty property.

And the error is probably being thrown in line 174 or something, because the server doesn't always count lines the same as your text editor.

If you see something like this:

Fatal error: Cannot access empty property in /home/user/public_html/dev/sites/default/modules
/newsletter/newsletter.module on line 163

It probably means you are using $node->field syntax on a variable that doesn't exist, or has a zero value– in other words, an empty property.

And the error is probably being thrown in line 174 or something, because the server doesn't always count lines the same as your text editor.

Update Taxonomy Terms code snippet

/* drupal taxonomy term conversion script by Agaric Design /
/
In some cases an older vocabulary may be replaced with a newer vocabulary. This script can help you replace terms from the older vocabulary with terms from the newer vocabulary. You'll have to create the association yourself, and put it in the form of an array as shown. /
/
keywords: convert category categories database vocab vocabulary terms
change taxonomy term tid
this might also be useful for splitting or merging vocabularies */

/* drupal taxonomy term conversion script by Agaric Design /
/
In some cases an older vocabulary may be replaced with a newer vocabulary. This script can help you replace terms from the older vocabulary with terms from the newer vocabulary. You'll have to create the association yourself, and put it in the form of an array as shown. /
/
keywords: convert category categories database vocab vocabulary terms
change taxonomy term tid
this might also be useful for splitting or merging vocabularies */

// Category - Old Taxonomy tid - New Taxonomy tid

// // Category name

Devel module and running PHP code

The Devel module (meaning development or developer, but just Devel) has the secret (that is, not well documented) ability to let you run PHP code directly, within the Drupal system, without first creating a node or a page to wrap it.

The textarea box for running code once you enable the Devel module (and give yourself permissions if not logged in as user 1) appears at the bottom of every page.

This can be useful for quickly using code snippets such as Agaric Design's Update Taxonomy Terms code snippet.

The Devel module (meaning development or developer, but just Devel) has the secret (that is, not well documented) ability to let you run PHP code directly, within the Drupal system, without first creating a node or a page to wrap it.

The textarea box for running code once you enable the Devel module (and give yourself permissions if not logged in as user 1) appears at the bottom of every page.

This can be useful for quickly using code snippets such as Agaric Design's Update Taxonomy Terms code snippet.

Drupal Site recipe...

... in shell CVS commands

The drupal core install with our very own 'Essential Mix' of drupal modules. Tested and approved by Agaric Design.

cd ~/public_html/

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal checkout -r DRUPAL-4-7 -d cvsdrupal drupal

mkdir ~/public_html/cvsdrupal/sites/default/modules

cd ~/public_html/cvsdrupal/sites/default/modules

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r DRUPAL-4-7 -d cck contributions/modules/cck

... in shell CVS commands

The drupal core install with our very own 'Essential Mix' of drupal modules. Tested and approved by Agaric Design.

cd ~/public_html/

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal checkout -r DRUPAL-4-7 -d cvsdrupal drupal

mkdir ~/public_html/cvsdrupal/sites/default/modules

cd ~/public_html/cvsdrupal/sites/default/modules

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r DRUPAL-4-7 -d cck contributions/modules/cck

Syndicate content