Undefined offset: 4

how can solve this error message:
Notice: Undefined offset: 4 in _domain_user_list() (line 650 of /var/www/drupal/sites/modules/domain/domain.module).
?

Drupal 7 themes site: 2011-12-15 Theme updates

I updated the Drupal 7 themes site with new and updated themes. Grand total is now 201 active themes. Read about it here: http://opennomad.com/drupal-themes/2011-12-15 Theme updates or just visit http://opennomad.com/drupal-themes/

The summary:

::: new themes
* biz
* mydefaulttheme

::: updated themes
* at-commerce
* jbase5
* magazeen_lite
* mayo
* mothership (disabled)
* om
* sky
* tundra

7.10 upgrade confusion

I've searched the forums here and Googled all I can to resolve this issue to no avail and hope someone here might have a clue for me.

A few days ago I downed and installed the 7.10 patch over a 7.6 install and am having issues with running the database update scripts.

More to the point, node module 7012 is giving grief. When I run the update immediately I get the error

"The update process was aborted prematurely while running update #7012 in node.module."

Cache and Theme registry on read-only site

Here is my setup
1. Staging server - used for content creation and code development. Used to control admin settings as well

2. Production Server - locked down. The only way code / content (db and files) make it over here is through a script. On every run of the script - (i) the complete DB is recreated (ii) the "cache" tables are emptied and (iii)the "sites" folder is recreated.

Root Problem:
If URL is accessed using https protocol then we see un-secured content warnings. Fix required is to make the site respond without these warnings. (It is rare that the site is requested via https, usually it is requested via http, but we need to cover both scenarios)

Steps taken for fix:
1. Staging server - added preprocess in template.php to handle "https" requests - $variables['scripts'] = str_replace("http://", "/", $variables['scripts']); etc.
Also added - drupal_flush_all_caches(); to template.php if it is a https request.

2. Pushed this change over to production via script - verified that the change is in production copy of template.php

Observation:
1. On staging server - where we have direct access to change settings such as "cache", "theme-registry-rebuid" etc. the fix works. https requests do not show "un-secured content" warnings.
All css files etc. that Drupal builds out now have "https://....." instead of "http://....." - YEAH

HELP: Screwed up block structure - can't see any main content now

I inadvertently moved the block for the main content to an area of the page that isn't available and now I can do absolutely nothing since I can't see anything other than the page title when I am logged in. If I am not logged in I can see the page.

Other than hacking the MySQL database what are my options?

Help!

What module should I use for this "related content" issue?

I've been straying along the streets of Drupal for days now looking for a solution to the following case:

What I'm basicly trying to do is to create a Views block that relates a certain product to another and a Views block that relates to applications of that product. This relation should work in both directions.

The specific case consists of two elements:

  • On a website about batteries a page should have two blocks in the bottom: related products (similar battery types) and related applications (e.g. "cars", "trucks", "construction machines", ...).
  • However: this should work in both ways. The page about "trucks" for instance should have a block that shows battery types that are applicable on trucks. In this case one block would do.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x