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.

Upgrade date 6.x-2.0 to 6.x-2.1 breaks views

Upgraded date. Now all views show all dates - queries for views no longer contain filter by date. Ex:

Filters
Node: Published Yes
Node: Type = Event
Settings
Taxonomy: Term = Meeting
Settings
Date: Date Content: Date (field_date) between now and +6 days

generates:

Trouble migrating menu functionality from 5x to 6

Hello,

We are in the process of upgrading our Drupal installation from 5 to 6. We originally upgraded from 4.7 to 5 with only minor issues, but the upgrade from 5 to 6 has resulted in numerous problems. Right now we are trying to revise our templates to restore some highly customized dropdown menu functionality.

The menu functions we're dealing with are as follows:


function phptemplate_menu_tree($pid = 1, $mid = NULL) {

if ($pid == 279) {
$pid = '';
} else if (is_string($pid)) {
$tree = menu_tree($pid);
} else {
$tree = menu_tree($pid);
}

if ($tree) {
if (is_numeric($pid) || $mid > 0) {
if ($mid) {
$id = 'id="menu_'. $mid .'"';
} else {
$id = 'id="menu_'. $pid .'"';
}
}
return "\n

    \n". $tree ."

\n";
}
}

function phptemplate_menu_item($mid, $children = '', $leaf = TRUE, $child = false) {
$item = menu_get_item($mid);
$link_item = $item;

while ($link_item['type'] & MENU_LINKS_TO_PARENT) {
$link_item = menu_get_item($link_item['pid']);
}

if ( (($leaf ? 'leaf' : ($children ? 'expanded' : 'collapsed')) . ($child ? ' children' : '') == 'expanded') && $pid == 279 ) {

Upgrading Calendar and Date to Version 2.1 breaks Views

I upgraded Date and Calendar to 2.1 and when I tried tio access Views Module the Views UI did not display with an error stating the page cold not be found. Removed the Date and Calendar Upgrade and the problem goes away.

Martin Fuggle

upgrading drupal from version 5.9 to 5.16

Hi,
I followed the instruction from UPGRADE.txt in the new drupal version installation. The process of an upgrade went successful. After checking the status report to make sure the new version takes place. Somehow it still show drupal version 5.9. I am wondering if anyone out there has the same issue or something I am not doing it right. Thanks.

Copying a live site to WAMP

Hey guyz,

I have been trying to figure our how to copy my live site to WAMP. Can anyone tell me some steps to do this. I want to run my live site on wamp so that i can do some query testing

Thanks
kumar

Stupid user without backup has problems with 6.9 to 6.10. Please help.

Hello everyone. This is me, STUPID User...

Guess what, I was looking at the status report of my drupal installation, and see that there is a new release of Drupal (6.10) and a few new modules. Now, usually I prepare a backup of the site and then do the upgrade, but now I just thought that I should copy over the files as usual and then run upgrade.php, as I never had problems with the updates, so why should I have now... I thought.

But of course that something went wrong as Murphy law's says and I ended up with a dead site exactly when I did not make a backup. F*****g conicidence, isn't it...

Now, what I did to screw it over. The original version was 6.9, the new version was 6.10. I put the site in offline, the ftp'd the new files into the root, where they belong, and then ran update.php. I got a grey message stating that some lines were updated/deleted (something with src and language), and everything seemed to be ok, no errors, no noting. The problem is that after that I clicked back to administration pages, and nothing, it never opened. I closed the browser, went at the address/user again, I log in, but no matter what menu option I choose, I am greeted with the following message:

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal