User warning db.sequences doesn´t exist

bernadotte - June 29, 2009 - 22:46
Project:Import / Export API
Version:6.x-1.x-dev
Component:importexportapi.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

hello,
tried to import users and roles into a fresh drupal 6.12 install from another d6.12 as a start.

get the following errors:

user warning: Table 'xa9163_db3.sequences' doesn't exist query: SELECT id FROM sequences WHERE name = '{users}_uid' in /home/www/test/sites/all/modules/importexportapi/engines/importexportapi_db_put.inc on line 259.
user warning: Table 'xa9163_db3.sequences' doesn't exist query: INSERT INTO sequences (name, id) VALUES ('{users}_uid', 3) in /home/www/test/sites/all/modules/importexportapi/engines/importexportapi_db_put.inc on line 268.
...
...

Your import has been completed. The results of the import can be seen below.
0

obviously the script is looking for a table that doesn´t exist.
even though it tells that zero was imported, all users and roles are there.

only problem: the data after the first umlaut is missing everywhere. see http://drupal.org/node/505380

so i wonder what those messages mean, and if they are related to the other issue or not, and how to get rid of those problems.

attached full errormessage

AttachmentSize
errors.txt27.27 KB

#1

earnie - July 7, 2009 - 14:01

Yes the sequences table disappeared with Drupal 6. I'll correct it shortly by removing the unnecessary code.

#2

earnie - July 7, 2009 - 14:09
Title:user warning db.sequences doesn´t exist» User warning db.sequences doesn´t exist
Status:active» fixed

The attached patch has been committed to CVS.

AttachmentSize
issue-505726.patch 2.96 KB

#3

bernadotte - July 7, 2009 - 18:52

have not been able to apply the patch (ok, never succeded in that before, but ...)
is it possible that there is missing sth in line 60?

@@ -616,11 +571,7 @@ function _importexportapi_db_put_generat

looks not very complete.
but as i said, i have not much knowledge of patches so far.

#4

earnie - July 7, 2009 - 19:15

The patch will be applied in the next update of the -dev file. You can check it tomorrow.

#5

System Message - July 21, 2009 - 19:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.