This forum is for questions about upgrading an existing Drupal site. Don't forget to read the UPGRADE.txt file that comes with every Drupal download.

How to change v5.x themes to v6.x. Theming function problems...

Hi, I've just upgraded a Drupal site from 5.x to 6.14 and am having trouble with theming. My theme is called "transport3" and I have put the following code into "template.php" (I already have an .info file for the theme):

function transport3_theme () {
return array(
'transport3_views_view_list_top_news3' => array(
'template' => 'views-list-top_news3', // The template file name, without .tpl.php
'arguments' => array(
'variable1' => null,
'variable2' => null, // Declare as many variables as you like here, setting them all to null
'variable3' => null,
),
)
);
}

and

function transport3_views_view_list_top_news3($view,$nodes,$type) {
return my_views_top_news('views-top_news3','views-list-top_news3',$view, $nodes, $type);
}

which calls:

function my_views_top_news($template1,$template2,$view, $nodes, $type) {
$fields = _views_get_fields();

$taken = array();

// Set up the fields in nicely named chunks.
foreach ($view->field as $id => $field) {
$field_name = $field['field'];
if (isset($taken[$field_name])) {
$field_name = $field['queryname'];
}
$taken[$field_name] = true;
$field_names[$id] = $field_name;
}

// Set up some variables that won't change.
$base_vars = array(
'view' => $view,
'view_type' => $type,
);

Attachments within posts have wrong paths after "moving" an installation to a multisite installation

I am trying to move my two separate installations of Open Atrium to a multisite installation. I moved the files, settings.php and restored the database, however, all the attachments and user profile pictures don't show. The path of attachments is something like that:

http://example.org/drupal/sites/example.org.atrium/files/sites/default/f...

where the root folder of the installation is in "drupal" folder.

What am I doing wrong?

Content Duplicate sorunundan kurtulamıyorum gerçekten Drupalden vazgeçicem ya

EDİT: PROBLEM ÇÖZÜLDÜ

http://uniyolu.com/

Arkadaşlar Drupalde content duplicate olarak bilinen içerik tekrarlamasından kurtulamıyorum. Önceleri google hem www. ile hem de www. sız halini indexledi. Sonra bunları içerik tekrarı gibi algılayıp siteyi filtreye aldı. Ben de bi süre araştırdıktan sonra .htaccess dosyasını düzenledim ve temiz url'yi kapattım.
Böylece sayfaları indexledi. Ancak bu sefer de linkler garip bir şekilde yine tekrar ediyor.

Site transfer ok but "logout" link stuck

Hi Everyone,
I transfered a test site successfully except that the logout link in the new site points to the old site. I cannot logout (except if I

Help needed for Ubercart Upgrade from Drupal 5 to 6 getting error message: ca_predicates' doesn't exist

I am receiving these errors after I installed Ubercart for Drupal 6

user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key`` `file_key` VARCHAR(32) NOT NULL DEFAULT ''' at line 1 query: ALTER TABLE ihsm_uc_file_users CHANGE ``key`` `file_key` VARCHAR(32) NOT NULL DEFAULT '' in /home/****/domains/****.com/public_html/drupal/includes/database.mysql-common.inc on line 520.
user warning: Table '***_ca_predicates' doesn't exist query: SELECT pid, actions FROM ***_ca_predicates WHERE actions LIKE '%uc_order_email_invoice%' in /home/****/domains/******.com/public_html/drupal/sites/all/modules/ubercart/uc_order/uc_order.install on line 961.
user warning: Table '****.***_ca_predicates' doesn't exist query: SELECT pid, conditions FROM ihsm_ca_predicates WHERE conditions LIKE '%uc_order_condition_has_products%' in /home/****/domains/****.com/public_html/drupal/sites/all/modules/ubercart/uc_order/uc_order.install on line 1077.

The only forum I was able to find that was related was
http://drupal.org/node/384652

Which recommends adding a patch to convert the Workflow_ng table to ca_predicates
This forum was closed in April 2009.

upagrading 6,13 to 6,14 problem

hello . i am using drupal 613 , one day my site got an internal server problem 500 ! well i cant do anything to the site , so i tried upgrading with no luck i cant upgrade the normal way so now i made an 614 folder transfered the sites and modules and my theme from 613 to 614 folder well the site works ok but the users cant find them nowere and so is the admin user so i cant do anything to the 614 drupal site and i need help how can fix this problem :S :( thnx in advance

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal