Looking for a module similar to carbon account

I am looking for a module similar to carbon account for Drupal 7. This module allows the user to track carbon usage and acquire carbon stamps. It can be seen at http://drupal.org/project/carbon. Actually, it doesn't have to be based on carbon. Any module that would allow users to earn points or credits for environmentally friendly activities would be good.

Error Message on Bottom of Pages: Fatal Error: modules\field\field.multilingual.inc on line 275

I have a website upgraded to 7.7 that for some reason is now displaying error messages at the bottom of the screen.
On my development site, the message is:
Fatal error: Cannot access empty property in \modules\field\field.multilingual.inc on line 275.
I have found a few posts that are way over my head and seem to consist largely of an ongoing argument about how serious this problem may be but do not hint at what a solution is. They do seem to agree that it is a problem in core.

Two interesting facts that may be helpful. 1) It seems to be a benign condition as it causes no problems in the admin tasks, except when attempting to manually check for upgrades. Then this message occurs:

Error checking available update data.
Please continue to the error page
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /batch?id=126&op=do StatusText: OK ResponseText: {"status":true,"percentage":"3","message":"Trying to check available update data ...\u003cbr \/\u003eChecked available update data for \u003cem class=\"placeholder\"\u003eSEO Checklist\u003c\/em\u003e."} Fatal error: Cannot access empty property in modules\field\field.multilingual.inc on line 275

And 2) The message at the bottom of the pages only appears if a user is logged in.

Memcache vs APC page exectuion times

I wanted to test the Memcache and APC modules. On a lightly lightly loaded server, with Varnish, the page generation time for a single request seemed more interesting than handling numerous request per second. I measured it with Drupal Devel module.

All services were on a single dedicated Centos server, 2GB ram, Apache prefork, fcgi, PHP 2.3, Mysql 5.1, on a fairly small and light Drupal 7 site. At all times page caching and block caching were off. Varnish caching was on (and Varnish module enabled), but Varnish cache was bypassed as I was logged in. The memcache.so php extension was loaded and one instance of memcached daemon was running. Tests were done by actitvating and deactivating modules, making necessary changes to settings.php as advised in module documentation.

RESULTS:
Times in ms to generate the front page of my site, after warming up cache, and repeating test several times, values vary by about 2ms.

Tests with php extension APC loaded, (acp.shm_size = 64M):

apc extension loaded, no contributed module for caching 360
apc extension loaded, memcache module enabled and set as default cache 310
apc extension loaded, apc module enabled and set as default cache 560

Tests with php extension APC disabled:

apc not loaded, no contributed cache module 300
apc not loaded, memcache module set as default cache 260

How to apply Seven theme to a block

Hi to all!

I would apply the seven theme only for a block.

How can I?

PS: I don't know CSS or PHP.

Audio streaming

DRUPAL 7
DANLAND THEME

OK. If I may, let me get the messy stuff out of the way first :-).

1: I may go on at excessive length, trying to explain what I'm, um, trying to explain. I'll beg forgiveness in advance, knowing I probably won;t get it. Do feel free to stop reading.... now :-P.

2: I'm an idiot, so that might be part of (1).

3: To paraphrase the Monkes, I'm a little bit technical, I'm a little bit fool. See (2). As far as Drupal is concerned, it's more fool, I regret to say.

Phew. There. Anyone still with me? Not that I'd know if you weren't. Will anyone not here please raise their hands?

Good. Nobody raised their hands :-P.

OK. While I still have to work for a living, I write as well. Fiction. More specifically, comic fantasy. That's fantasy intended to make you laugh, not fantasy in comics. Not that I have anything against comics. I have another book coming out in July 2012. But I'M NOT HERE TO ADVERTISE :-P. So that's all I'll say about that. Thank you Forrest Gump.

I have a site - www.graeme-smith.net. It's on Drupal 7, and it uses Danland for it's public side theme.

As part of grabbing people's attention, I want to add audio to the site. Nothing fancy - just a continuous stream that plays in the background when people access pages. If I had my druthers then:

PDOException error

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'identifier' cannot be null: INSERT INTO {flood} (event, identifier, timestamp, expiration) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3); Array ( [:db_insert_placeholder_0] => failed_login_attempt_ip [:db_insert_placeholder_1] => [:db_insert_placeholder_2] => 1313331437 [:db_insert_placeholder_3] => 1313335037 ) in flood_register_event() (line 1149 of /home/magna/public_html/drupal/includes/common.inc).

I signed on today, after having no previous issues and suddenly got this error which disabled all of my website functions.
I've never had this error before, and everything was fine yesturday aswell so how this appeared I do not know.

I am developing a module but i haven't changed anything today and it was working splendidly yesturday aswell as the entire site.
The code in question is:

function flood_register_event($name, $window = 3600, $identifier = NULL) {
  if (!isset($identifier)) {
    $identifier = ip_address();
  }
  db_insert('flood')
    ->fields(array(
      'event' => $name,
      'identifier' => $identifier,
      'timestamp' => REQUEST_TIME,
      'expiration' => REQUEST_TIME + $window,
    ))
    ->execute();

with the execute line being 1149.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x