Upgrade database w/out upgrading files?

Hi all,

I've got a crufty Drupal installation (4.5) that my predecessor didn't document at all, and I've finally decided that it's hopeless trying to upgrading it. So I've decided to start from scratch with a new installation of 4.6. However, it is necessary that I keep the users' old content. Is there any way I can upgrade the database on its own to 4.6's schema, then install 4.6 from scratch and overwrite its database with the upgraded db? I'm fine throwing out any data that doesn't have to do with the core functionality--all I really want is the blogs and comments.

Remove block from all pages except main one

Dear friends,

May be someone could advice me how to *not* show block on all pages, except main one.
I have tried to set Page specific visibility settings to "/", but it doesn't help.

In fact I want to remove green right block Certification on www.best-invest.net .

Many thanks in advance !

_POST is always empty

Hello,

I am developig my own module. I need a custom callback function. So, I created it:

     $items[] = array('path' => 'node/'. arg(1) .'/change_workflow', 'title' => t('Change workflow'),
          'callback' => 'node_article_change_workflow',
          'access' => TRUE,
          #'access' => user_access('change workflow'),
          'weight' => 2,
          'type' => MENU_LOCAL_TASK);

However, in node_article_change_workflow, $_POST is always empty:

function node_article_change_workflow(){


# Set the entry point node/XX/pass which accepts the revision
#
if ( is_numeric(arg(1)) && $node=node_load(arg(1)) ){

$body .= "FORM: ".$_POST." SIZE: ". sizeof($_POST)."
"; // ALWAYS 0!!!

// THE REST IS TO PRINT THE FORM OUT...

$form['workflow_submitted'] = array('#type' => 'hidden', '#default_value' => '1', '');
$form['submit'] = array('#type' => 'submit',
'#value' => t('Go!'),
'#weight' => '6');

$form['#action'] = '/node/'. arg(1) .'/change_workflow';

if($node->uid){ $form['author_ok'] = array('#type' => 'checkbox', '#title' => t('Author\'s OK'), '#default_value' => $node->author_ok, '#weight' => 1);}
if($node->editor_uid){$form['editor_ok'] = array('#type' => 'checkbox', '#title' => t('Editor\'s OK'), '#default_value' => $node->editor_ok, '#weight' => 2);}

cache table

Hi-

URL field in flexinode Problem, changes http:// to http://http//

I know I found the solution for this problem before, but I can't find the post. But pretty much whenever I submit a URL in the URL field in Flexinode, like this "http://drupal.org/node/" it outputs as "http://http//drupal.org/node/". inserting it "drupal.org/node/" makes the link work. (this flexinode type was not themed)

DRUPAL-SA-2006-004 Mail header injection vulnerability

  • Advisory ID: DRUPAL-SA-2006-004
  • Project: Drupal core
  • Date: 2006-03-13
  • Security risk: moderately critical
  • Impact: security bypass
  • Where: from remote
  • Vulnerability: mail header injection attack

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.5.x or older