Import bazy danych z drupala 5 do 7

20 Styczeń, 2012 - 00:36

Mam problem z importem bazy danych z Drupala 5 do 7.

po imporcie pojawia się:

Additional uncaught exception thrown while handling exception.
Original

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 's.context' in 'field list': SELECT s.source, s.context, t.translation, t.language FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid AND t.language = :language WHERE s.textgroup = 'default' AND s.version = :version AND LENGTH(s.source) < :length; Array ( [:language] => pl [:version] => 7.0 [:length] => 75 ) in locale() (line 641 of /modules/locale/locale.module).
Additional

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 's.context' in 'where clause': SELECT s.lid, t.translation, s.version FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid AND t.language = :language WHERE s.source = :source AND s.context = :context AND s.textgroup = 'default'; Array ( [:language] => pl [:source] => %type: !message in %function (line %line of %file). [:context] => ) in locale() (line 659 of /modules/locale/locale.module).
Uncaught exception thrown in session handler.

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 's.context' in 'where clause': SELECT s.lid, t.translation, s.version FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid AND t.language = :language WHERE s.source = :source AND s.context = :context AND s.textgroup = 'default'; Array ( [:language] => pl [:source] => %type: !message in %function (line %line of %file). [:context] => ) in locale() (line 659 of /modules/locale/locale.module).

20 Styczeń, 2012 - 01:15

może spróbuj z 5 do 6 i z 6 do 7 :>

5 Wrzesień, 2012 - 02:38

Czyli, że prawdopodobny winowajca - settings.php - który przy upgradzie nie został przekonwertowany do wersji Drupal 7, przez inny błąd lub przez brak uprawnień do modyfikacji tego pliku...

17 Kwiecień, 2018 - 20:07

vvv