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 issue from 5.x to 6.x - Invalid argument supplied for foreach()

So not cool... Invalid argument supplied for foreach()

I run a few Drupal sites and felt that it was time to start upgrading to v6.16 from v5.1.
I started a test run on one of my sites...
I backed up the database and content.
Set the theme to garland and even turned off most of the extra modules other than the core modules.
I then deleted the v5.1 files and copied over the new v6.1 files. I also replaced all of the modules with their newer updates. I did keep the settings.php.

I brought the site up and received the following error in summary:
Warning: Unknown column 'serialized' in 'field list' query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' ...

I followed some tips and did the following:
ALTER TABLE cache
ADD serialized smallint(6) NOT NULL default '0';

I've clear the cache "DELETE FROM TABLE 'cache'
and have even rebuilt the cache

CREATE TABLE IF NOT EXISTS cache (
cid varchar(255) NOT NULL default '',
data longblob,
expire int(11) NOT NULL default '0',
created int(11) NOT NULL default '0',
headers text,
serialized smallint(6) NOT NULL default '0',
PRIMARY KEY (cid),
KEY expire (expire)
) ENGINE=MyISAM DEFAULT CHARSET=utf8

and have also restored the existing database to start the steps over again.

Test Site Issues

I am wanting to upgrade my drupal installation to 6.x i currently have a 5.5 drupal install.

The first thing that i did was create a beta site to test my upgrade on. I created a new sub-domain so that i could keep everything logically separated. I copied the database to a new test database and have the core files talking with the database just fine. I can bring up the beta site and i see the beta database data. The problem comes when i try to click on something and/or login when i try to do either one of these i get a 404 page, but not from the drupal install, from my webhost.

Unable to set Public Registrations setting after upgrading

Hello.

I just upgraded to 6.16 and was going over the settings & noticed that User Settings, Public registration is set to "Visitors can create accounts and no administrator approval is required." When I change it to "Only site administrators can create new user accounts." and then click save configuration I receive this error,

* The directory does not exist.
* The settings have not been saved because of the errors.

Any ideas on how I can fix this.

Thanks in advance!

-C-

Problem with views_rss_views_feed_argument() function on one.com

Hi,

I currently host a drupal website on one.com. Recently I got the following message on the homepage of the site.

warning: Parameter 2 to views_rss_views_feed_argument() expected to be a reference, value given in /customers/[mysite].eu/[mysite].eu/httpd.www/[mysite]/includes/module.inc on line 406.

Anyone got any idea? I already tried google but with little success, with the exception to other sites who apparantly suffer the same warning ...

Blank screen when restore backup file

Hi

Got Drupal installed on my WHS server and up to date by Available updates (6.16). I back it up with the Backup and Migrate moduleI
Also got a Ubuntu Server (10.04) with drupal6 installed on it and working fine – sort off

When I went to use the Backup and Migrate module to restore the backup from my WHS machine it install ok, until you either refresh or try to use site it come back with a blank screen.

I increase the php memory in the htaccess.conf by adding php_value memory_limit 32M

I also try 48 and 64 with no luck.

When upgrading/migrating from 5.* to 6 ; How to preserve user accounts (UID, username and password) ?

Hi,

We have a small site that we're upgrading from DR5 to DR6
the DR5 DB is just too messed up to attempt a direct upgrade so we're porting content.
We'd also like to preserve the user account details (UID, username and password),
and it looks like the user_import module doesn't recognize the additional columns from the phpadmin user dump of the old site.

Any suggestions on how to do this and what modules are required ?

Thanks,

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal