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.

How to detect the character set in a SQL dump?

Hi

Due to Fantastico's now well-known problems with Drupal upgrades, my site got stuck in the middle of an upgrade to 4.6 (to be immediately upgraded itself to 4.7, of course) and the only thing I have now are the site backups (code+DB) that Fantastico made.

Now I'm trying to restore my site manually from those backups, in order to upgrade it manually later. However, I'm unable to find the appropriate selection of DB character set in phpMyAdmin when importing the SQLdump that Fantastico made:

  • When I choose the default UTF-8 in phpMyAdmin, the import process breaks due to problems in some tables.
  • When I choose the LATIN1 or CP850 encodings in phpMyAdmin, the import process goes through the end, but all the 'foreign' characters in my content (i.e. accented letters and so on) come out garbled, which is unacceptable.

Can somebody explain how to detect the charset of an SQLdump? This is what I have in the first lines of my 35 MB backup.sql file:

-- MySQL dump 9.11
--
-- Host: localhost    Database: c10blogs_drpl1
-- ------------------------------------------------------
-- Server version	4.0.26-standard

Please note that I can't do a fresh SQL dump using a specific charset, because the site is broken, so I must work with the one Fantastico made.

Thank you for any assistance
--
Albert

Changing ownership on directories

How to change ownership on files and folders? It isnt file permissions i want to change, it is ownership.

Looks like all the files and folders inside my 'files' folder have a different ownership than all the rest of my Drupal files and folders.

I've probably made a mistake somewhere when upgrading.

Anyway, now, there is no way for me to edit those page-nodes linked to any images coming from those 'foreign' folders

And i havent really found any documentation on the site about that.

Any ideas?

Drupal Book Review

I upgraded to 4.7 recently and now I am seeing an error when accessing a book review.

upgrade from 4.4.0 to 4.7.3

is it possible to do the upgrade directly (changing files, running update.php)? anything special to watch for?
or should i do it step by step? as in 4.4 to 4.5 then 4.5 to 4.6.3 and so on...? (like in http://drupal.org/node/75047)

Want to edit node: Showing blank page

I'v just upgraded to 4.7 from 4.6.9 on a commercial site.

Now, i'm trying to convert images to products using the ecommerce module. To do that i need to select the edit tab in that particular node i want to convert.

Certain nodes, only a couple of them without any obvious relation between them, are showing a blank page when clicking on the edit tab. Actually, when i type in the address bar, lets say:

http://mysite.com/index.php?q=node/375/edit

, it just shows a blank page on certain nodes.

Others work fine.

What could be the reasons why they show a blank page? Has that something to do with the database?

thanks for a little assistance.

mysql 4.0 -> 4.1 upgrade issues

Hello,

My hosting provider just upgraded our mysql 4.0 to 4.1

I have run queries on all the tables in my database to upgrade to utf8:

alter tablename character set utf8;

My site is still just coming up with a plain white screen of death. Any ideas?

Thank you,
Dan

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal