Hi, I’m in the middle of a server move and I think I got almost everything done.
The problem arises when I import my db with the following command:
user@linux:~/files/blog> mysql -h mysqlhostserver -u mysqlusername
-p databasename < blog.bak.sql
It then asks me for a password and after a while I get back the unix prompt.
When I try to access my site I get the following error:
Warning: Invalid argument supplied for foreach() in /home/trikis/public_html/wp-includes/classes.php on line 92
Warning: Cannot modify header information – headers already sent by (output started at /home/trikis/public_html/wp-includes/classes.php:92) in /home/trikis/public_html/wp-includes/pluggable.php on line 391
Searching for possible causes/solutions I now think it’s related to an encoding problem but if I check both phpMyAdmins I can see that both databases are set to collation latin1_swedish_ci and if I try to open the sql file with Notepad2 it gets recognized as being UTF8.
- The topic ‘Moving to a new server. Error importing db.’ is closed to new replies.