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.

Upgrading from 4.6.5 to 4.7 Beta

I've been using Drupal 4.6.5 for a few days creating some nodes.

Today I decided to try 4.7 Beta.

I backuped mySQL database using the EXPORT feature of phpadmin.

I created a test site for my 4.7, created a new database in MYSQL adminstrator from my webhost, updated my settings.php links to that new database and then tried to import my aforementioned backup.

This caused problems:

Firstly, I had to remove the CREATE DATABASE line from the backup file because I got an error message saying the database already existed.

Once removed that line and I imported the file "successfully", the new test site, running 4.7, arrived with errors:

Warning: Unknown column 'referer' in 'field list' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Unknown column 'referer' in 'field list'\nquery: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'page not found', '<em>node</em> not found.', 1, '', '/TEST%20SITE/', '', '67.68.91.182', 1136514718) in /homepages/25/d149789965/htdocs/TEST SITE/includes/database.mysql.inc on line 108.', 2, '', '/TEST%20SITE/', '', '67.68.91.182', 1136514718) in /homepages/25/d149789965/htdocs/TEST SITE/includes/database.mysql.inc on line 108

migrating databases / modifying .htaccess

Is there a way to modify the .htaccess file so that it works with PHP in safe mode? I have a site for which the database has been moved and the server updated. The site is no longer working although the configuration file has been changed to reflect the changes in the db name and password. The IT person at the Univeristy where this is located thinks there is a problem with the .htaccess file but I am not sure how to deal with this. I want to upgrade the installation but can't even login to the site given the current configuration problems.

Thanks

fatal mysql error

Fatal error: Can't open file: 'sessions.MYI'. (errno: 145) query: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = '371b983b67cebb7f9b521eddec935f0d' AND u.status < 3 LIMIT 0, 1 in /home/.../drupal-4.6.3/includes/database.mysql.inc on line 66

This error appeared a week after I upgraded 4.6.3 to 4.6.5 so I don't know for sure if this is related to the upgrade or not. I have no idea what to do with this error, but my site is currently crippled, so any ideas or suggestions on things to check would be greatly appreciated.

Thanks!

Just Upgraded

Hi Everyone,

I've just upgraded from 4.6 to 4.7 at www.area51.gen.nz and I have also changed themes so it is a little bare of individualisation at present.

My question for anyone is how can I change from non-clean to clean url's after I have had this feature disabled in previous editions?

Is it a matter of running a sql query to change the database or something else?

Any help is appreciated :)

Cheers

Sally

Upgrade problem

I recently upgraded my drupal installation. Now if I try to access the site by using url http://domainname/folder ( eg http://www.pollution.net/environmental_blogs) instaed of opening the web page I get a file download box. The problem goes away when I use the full url (eg. http://www.pollution.net/environmental_blogs/index.php).

regards,
Gouthaman

Upgrading Drupal, what about Modules and Themes?

I recently installed drupal 4.7 and wanted to explore more themes and modules. I was disappointed that 4.7 has very few themes and so I decided to downgrade to 4.6.5.

Its sad that I've lost a lot of the functionality of 4.7, but for now, my website is all about presenting a good image and the 4.6.5 themes are necessary.

My question is, what happens when more themes become available for 4.7 and I want to upgrade?

Will I have to install all the themes and modules for that version again?

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal