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.

Function to retrieve user's information and profile into a variable?

Is there a standard function for retrieving a users registration and profile information into a data structure or an object?

My First Upgrade... what about my little module tweaks?

I like the look of 5.0 and have created a trial upgrade on my localhost. Seems to be working nicely with the database.

Question, which should be obvious, but I seem to be missing it... I've tweaked bluemarine and a number of modules. This is mostly changes to css and to the templates. What's the best way to move the changes over?

Error Solution: Call to undefined function: filter_xss_bad_protocol() ... includes/common.inc on line 837

While upgrading one site from Drupal 4.7.x to Drupal 5.0RC1, I encountered the following error:

Fatal error: Call to undefined function: filter_xss_bad_protocol() ... includes/common.inc on line 837

After much online research, file verification and a database restore, I found the problem: a typo.

Upgrading problems from 4.7.3 to 5 RC 1

Hi Folks - I tried to upgrade my site to 5 RC 1 and I ran into some problems. I use subdomain forwarding on my site, so I installed drupal5rc1 as a sub-directory, copied over settings.php from my drupal473 installation, logged into my old drupal site as administrator, set the theme to bluemarine, disabled all the additional modules I had installed, then configured my subdomain to point to the new directory and ran update.php.

I now see the following message when I access my site

Unable to select database error

I tried to update to Drupal 5. But now I get this error:

Unable to select database

We were able to connect to the MySQL database server (which means your username and password are okay) but not able to select the database.

The MySQL error was: Access denied for user 'myname'@'localhost' to database 'drupal'.

Currently, the database is drupal. The username is mybane and the database server is localhost.

* Are you sure you have the correct database name?
* Are you sure the database exists?
* Are you sure the username has permission to access the database?

Now, being a newbie, what I did was to backup the database folder from my 4.7 installation. Then I deleted everything in my Drupal folder on the server. Then I copied all the new files and folders from the new version into that folder. I edited the settings.php file in Sites/Default to have my username and database name. I coped the old database folder back. And that's about where I am.

I have used the CPANEL and noticed that my server shows the name as myname_drpl1 and that it appends "myname_" before "drupal" in the database name. I have repaired and deleted and tried every username and db name I can think of but I still get the error.

How can I be sure the database exists?
Why can't I just create a new user with all the permissions and change settings.php to reflect that?

I have nothing much on the old version, so I would happily do a clean install of Drupal 5 if that is possible. What would be the steps? Thanks.

Upgrade Questions

Hi everyone - I am getting ready to upgrade one of the sites that I manage - my first Drupal upgrade. I use several CMS sytems (dotnetnuke - postnuke and now drupal) on my personal sites. Since I never tried Drupal, I did a clean install of 5.0 on my main web site and was immediately impressed. The old CMS (postnuke) had a new system requirement of a minimum version of MySQL of 4.0 so the site basically was sitting empty.......but I am rambling.

The live site that I need to upgrade is running 4.7.0 and I plan to upgrade to the current version of 4.7.4. I read books (Drupal by David Mercer) and lurked about the site clicking on forum subjects so I have an IDEA that everything should go ok but............

1) Do I have to delete the old site or just upload the new version overwritting the old site? The other CMS packages allow for the uploading of the upgrade version and it is triggered by going to the site.

2) I took over this particular site and they (the original webmaster) set up several directories that contain things like forums and such in addition to the main site.... probably for development purposes and they have their own settings.php files in the sites directory (that was a surprise!) How do I get these upgraded? When I upgrade the main site, will the upgrade process upgrade these also? Should I copy the new version of Drupal to these directories also?

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal