Gossamer Forum
Home : Products : Gossamer Links : Discussions :

2.2.0 Import Errors - think this one's a bug!

Quote Reply
2.2.0 Import Errors - think this one's a bug!
hi

I'm trying to import data from version 2.1.0 into version 2.2.0 but have run into a problem.

I'm pointing it to the def files and have all reporting on, and the script is returning the following error...

Code:
Import error: CRITICAL ERROR OCCURED: Cannot open /path/to/admin/defs/category.def: No such file or directory at /path/to/admin/Links/Import/L2S2.pm line 83

Now the version I'm importing from has an "lsql_" prefix on the def files, which the import script isn't recognising.

Also, the name of each def file is also in uppercase - ie. lsql_"C"ategory, but it's looking for a lowercase c.

The import worked when I upgraded recently from a 1.x version, but it's not working with a 2.x version.

Somethings not right!

Anyone?

Regan.
Quote Reply
Re: [ryel01] 2.2.0 Import Errors - think this one's a bug! In reply to
There is no import to go from 2.1.0 to 2.2.0, The import, where it says
Links 2.x, this is not links sql 2.x, it's Links 2.x the flat file version.
To go from 2.1.0 to 2.2.0 you have to actually do an upgrade.
Thanks,
Mel
Mel Goulet
Developer - Gossamer Threads, Inc.
Quote Reply
Re: [ryel01] 2.2.0 Import Errors - think this one's a bug! In reply to
Sorry - didn't realise 2.x was referring to a flat file version - I didn't know there was one other than 1.x! Blush

In case anyone else runs into the same thing, this is further info from mel on what to do if you're upgrading from 2.1.0 to 2.2.0...

Quote:
You need to do an actual upgrade, so wherever the 2.1.0 database is, you
should have links sql 2.1.0 installed there, then by upgrading that
installation, you will upgrade the database. Then if you need to move this
database from 1 server to another, you will need to do either a mysqldump,
or do a backup and restore from the Database -> import/export menu.

regan.