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.

some image galleries and some forum containers empty after upgrade 4.7 > 5.7

Some of my forum containers are now empty: some are not. Some of my image galleries now say "there are 0 images in this gallery": some are fine.

I am not sure if this is one problem or two.

How can I upgrade from 5.1 to 5.8 ?

Hello

Can somebody tell me how can I upgrade my drupal from 5.1 to 5.8 ? Should I just copy all 5.8 files to my 5.1 folder and cover all of them ?

Can you explain a bit to me?

thank you very much.

5.8 -> 6.3

Hi,

I've been assigned a project to upgrade an existing 5.8 module to 6.3
So far I've been able to fix every incompatibility I've encountered...except for this one:

Fatal error: Call to a member function buildForm() on a non-object in *...*\drupal-6.3\modules\sportsticker\views\FormView.php on line 5

The file it's referring to


<?php

require_once('View.php');
function _sportsticker_form( SportSticker_FormView $formView ) {
return $formView->buildForm();
}

abstract class SportSticker_FormView extends SportSticker_View {
protected $returnPath;

public function setReturnPath( $returnPath ) {
assert( 'is_string( $returnPath )' );

$this->returnPath = $returnPath;

assert( '$this->hasReturnPath()' );
assert( '$this->getReturnPath() === $returnPath' );
}

public function hasReturnPath() {
return isset( $this->returnPath );
}

public function getReturnPath() {
assert( '$this->hasReturnPath()' );

return $this->returnPath;
}

public function setFormError( $name, $message ) {
form_set_error( $name, $message );
}

public function buildForm() {
$form = array();

if( $this->hasReturnPath() ) {
$form['#action'] = url( $this->returnPath );

Upgrading from 4.5 to 5.8 breaks imagefield

After upgrading none of my images are showing. I use CCK imagefields to display summary images, and story images in a piece of custom content called "News Story."

When looking at the variables in the content template:

$node->field_story_image[0]['view'] (NULL)

All of the other variables are fine, but for some reason, these are all NULL. The were fine before the upgrade.

Any ideas?

Confusing message during site upgrade

After the way I made a mess of an upgrade on a previous occasion, I was more careful this time with which modules I disabled at ../admin/build/modules.

However, I still got the following confusing message after doing so:

Database error and question about Workflow

Hi,

I'm utterly new to Drupal, and am currently updating a website built by someone else It is a website for a club at university. I have two questions:

1) I updated workflow first.. then actions (because I didn't know it needed actions.. until it was too late). When I went back in to see if it was configured properly, the workflow from the old site was there, but the states were missing. I tried adding two, namely (creation) and Draft - but they wouldn't show up on the list. At this point, I figured out that workflow needs actions. I updated actions, and the old States came back, along with the ones I added. I could remove Draft, but there is no delete option for the second (creation) - how do I remove it?

2) After adding actions, I ran update.php. It returned the following database three errors:

i) Table 'thesteth_drpl1.actions_assignments' doesn't exist query: SELECT hook, op, aid, weight FROM actions_assignments WHERE hook = 'workflow' in /home2/thesteth/public_html/home/includes/database.mysql.inc on line 172.

ii) Table 'thesteth_drpl1.actions_assignments' doesn't exist query: INSERT INTO actions_assignments (hook, op, aid, weight) VALUES ('workflow', 'workflow-3', '', 0) in /home2/thesteth/public_html/home/includes/database.mysql.inc on line 172.

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal