[SOLVED] error importing G1 album

osomanden
osomanden's picture

Joined: 2003-11-25
Posts: 64
Posted: Wed, 2004-12-29 06:40

Hi.

Just installed the G2 latest and greatest. And trying to import just one of my albums I got this:

-------------------------------------------------------------------------------
Error An error has occurred.
Back to the Gallery
Error Detail -
Error (ERROR_COLLISION)
in D:\internet\www\dulmens.dk\www\g2\modules\core\classes\GalleryAlbumItem.class at line 244 (gallerystatus::error)
in D:\internet\www\dulmens.dk\www\g2\modules\core\classes\GalleryAlbumItem.class at line 168 (galleryalbumitem::_createdir)
in D:\internet\www\dulmens.dk\www\g2\modules\migrate\ConfirmImport.inc at line 372 (galleryalbumitem::create)
in D:\internet\www\dulmens.dk\www\g2\main.php at line 147 (confirmimportcontroller::handlerequest)
in D:\internet\www\dulmens.dk\www\g2\main.php at line 46
in D:\internet\www\dulmens.dk\www\g2\main.php at line 39
System Information
Gallery version 2.0-alpha-4+
PHP version 4.3.10 cgi-fcgi
Webserver Microsoft-IIS/5.0
Database mysql 4.0.23-nt
Toolkits Gd
Operating system Windows NT RCPLANET-WEB 5.0 build 2195
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FunWebProducts-MyWay; SV1)
----------------------------------------------------------------------------

Any idea?

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Wed, 2004-12-29 09:41

That's very strange. You don't have any albums in your G2 yet, so there shouldn't be collisions. Did you create a new directory for your G2 data?

Thanks!

 
osomanden
osomanden's picture

Joined: 2003-11-25
Posts: 64
Posted: Wed, 2004-12-29 10:24

I just tried to check if there was a g2data directory. And there is.
Also I checked the permissions and all users have modify permissions.

And still i get this error.. weird.

If I use the built in form based upload (one image at the time) it works ok (exept with .gif)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2004-12-29 17:09

I think jmullan is asking if you made a clean install with a completely empty g2data directory, or if you reused an old g2data directory that may have had some old album directories in it. Try a clean install and see if you can reproduce the error. I've just updated the error message for this case so it will show you the path to the colliding directory.

 
osomanden
osomanden's picture

Joined: 2003-11-25
Posts: 64
Posted: Thu, 2004-12-30 08:45

I am quite sure I made a clean install.

But for arguments sake, I will erase db, directory and try again.

pls. hold

 
osomanden
osomanden's picture

Joined: 2003-11-25
Posts: 64
Posted: Thu, 2004-12-30 10:39

But alas.. It was not. I cleared the db and the directory. Reinstalled and that was it.

It works fine now.