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.
0obviously 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
| Attachment | Size |
|---|---|
| errors.txt | 27.27 KB |

#1
Yes the sequences table disappeared with Drupal 6. I'll correct it shortly by removing the unnecessary code.
#2
The attached patch has been committed to CVS.
#3
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
The patch will be applied in the next update of the -dev file. You can check it tomorrow.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.