Coppermine to Gallery2

DrBrianFields

Joined: 2008-07-05
Posts: 3
Posted: Sat, 2008-07-05 03:00
rafynet wrote:
have you any luck with "GalleryEntityHelper_simple.class at line 39" error?

Yes! I just found the problem right now when it came up for me. There is a line in the file "ConfirmCmImport.inc" where the module being called is incorrectly written as "migrate" rather than the "cmmigrate" used in the rest of the script. The line looks something like this (at least I think it was this one.):

list ($ret, $module) = GalleryCoreApi::loadPlugin('module', 'migrate');

You just need to change the 'migrate' at the end to 'cmmigrate' then save the file and replace it and you are good to go.

Worked fine for me after this, I suppose.

 
lingate
lingate's picture

Joined: 2003-08-21
Posts: 46
Posted: Mon, 2008-07-14 06:26

Hi all

I read the whole post concerning the import from coppermine to gallery, I've follow all the steps and I cant seem to get it to work, I've download the file in question via the plugins Repository in the admin area, I've turn it on as well.

I chose my path to were coppermine site sits, pick an ablum to import, it opens up and stops straight away, all i get is a browser error.

I looked at the galley and all it did was create the ablum, no thumbs or images.

can any one fill me in to whats going on please.

TT

 
lingate
lingate's picture

Joined: 2003-08-21
Posts: 46
Posted: Sun, 2008-07-20 16:22

HI

Still getting this browser error when trying to migrate the two galleries together.

any one know if its IE browser, do I need to D/load another browser for this to work, any idea or hints on what to do to get the migrate to work.

TT

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2008-07-16 02:57

Is this an embedded coppermine?
Last I knew that did not work.

Quote:
all i get is a browser error.

A little more specific.

What information is required when I ask for help in the forums?

-s

FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
lingate
lingate's picture

Joined: 2003-08-21
Posts: 46
Posted: Thu, 2008-07-17 02:51

what do you mean by a embedded coppermine ?

TT

 
lingate
lingate's picture

Joined: 2003-08-21
Posts: 46
Posted: Sat, 2008-07-19 02:22
Quote:
Is this an embedded coppermine?

NO. it's not, its not embedded with Nuke or Post nuke or any other CMS, if that's what you mean.

Quote:
A little more specific.

I am, that's all I get a browser error, http://gallery.menalto.com/files/error_5.jpg

The cmmigrate doesn't seem to work in my case, I've installed, then I've follow the steps, all It does is create one Album.

I have about 900 plus images with Albums with in Ablums.

The error reads if you didn't look at the image, says, Line 70, Unkown runtime error, code 0, main.php

TT

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2008-07-19 10:35

Looks like you are getting stuck in a redirect loop, not sure what would cause this within that plugin without being able to reproduce the error.
mindless would probably have further insight.
BTW you can also import from local server. Gallery will keep the file structure.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
lingate
lingate's picture

Joined: 2003-08-21
Posts: 46
Posted: Sun, 2008-07-20 16:14
Quote:
BTW you can also import from local server. Gallery will keep the file structure.

what you mean ?

I run my own server Ubuntu.

TT

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2008-07-20 16:25
 
lingate
lingate's picture

Joined: 2003-08-21
Posts: 46
Posted: Mon, 2008-07-21 03:52

Thanks suprsidr

I'll look into it

TT

 
pyrosteve

Joined: 2008-08-12
Posts: 7
Posted: Wed, 2008-08-13 09:59

I have the exact same problem as Lingate,

I am using:

Gallery2 2.2.5
Database: MySQL 5.0.45-community-nt
PHP Version: 5.2.1 (Zend: 2.2.0)
Windows 2003 Server with IIS6

Any further ideas on how to get this working? I am going to have a play around and see what I can do and will post if I find a way to resolve it.

Steve

 
pyrosteve

Joined: 2008-08-12
Posts: 7
Posted: Wed, 2008-08-13 12:32

Fixed:

IE shows no detailed error, aside the basic browser error as shown by lingate. Trying it with Firefox shows an error which relates to a problem someone else posted and was fixed by:

Edit: ConfirmCmImport.inc

list ($ret, $module) = GalleryCoreApi::loadPlugin('module', 'migrate');

Edi: "migrate" to "cmmigrate" - calling the scrip incorrectly.

Should work now, going to test with lots of albums now.

 
bethiesny

Joined: 2008-08-19
Posts: 1
Posted: Tue, 2008-08-19 11:46

Help! I've been a Coppermine user for years, but lately it's been really buggy and I'd like to migrate over to Gallery. I have Gallery 2 installed on my site, and have downloaded and installed the migration plugin. However, I can't seem to get it to work. I'm getting this error:

The path that you entered is invalid.

Can someone help me out? My Coppermine directory is located here: http://mywebsitename.com/coppermine - but when I try any version of this path, I still get the 'invalid path' error.

Thanks in advance!

 
wreckage
wreckage's picture

Joined: 2006-11-17
Posts: 19
Posted: Thu, 2009-01-08 10:51

Hello, everybody.

I am looking to convert a Coppermine 1.4.1 gallery to Gallery 2.2.4. I have read this thread, and also this one: http://gallery.menalto.com/node/72207, but cannot find an active link
to the 'cmmigrate' tool that I think I'd like to try.

Can anybody here please assist with a download link, and/or any documentation that is pertinant to the script's use, as I have very little knowledge in this area. My Coppermine
gallery is very small and has not been modified except for a different theme and logo.

If this is not the correct place for this enquiry, I would be grateful if somebody could point me towards any other resources that may help - otherwise, I'll have to to the
conversion manually.

Also, any tutorials on how to 'theme' Gallery 2 and insert my own logo, etc., would also be greatly appreciated.

Thank-you.

Wherever you go, there you are.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2009-01-08 11:35

http://gallery.menalto.com/files/cmmigrate050_0.zip

Not sure why you'd want to migrate to Gallery 2.2.4? 2.26 was the top of that series, and 2.3 is the current release.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
wreckage
wreckage's picture

Joined: 2006-11-17
Posts: 19
Posted: Thu, 2009-01-08 11:49
Quote:
http://gallery.menalto.com/files/cmmigrate050_0.zip

Not sure why you'd want to migrate to Gallery 2.2.4? 2.26 was the top of that series, and 2.3 is the current release.

Thanks for that, suprsidr. I actually just found that script, too.

The reason for migrating to Gallery 2.2.4 is because my Web Host offers it as an Auto-Install option and I have just installed it.

In your opinion, would it be better for me to upgrade that installation to 2.3 before I run the script?

Will the script (cmmigrate) even work with 2.3?

If you think I should go to 2.3, is it an easy process to upgrade from 2.2.4?

I really appreciate your assistance, as I know virtually nothing about this stuff, although I am a computer 'techie' so I'm not
entirely without ability... ;-)

Thanks again.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2009-01-08 11:57

Well, I don't think any work has been done on cmmigrate in quite some time.
If you've already installed 2.2.4 you might want to migrate before upgrading to 2.3.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
wreckage
wreckage's picture

Joined: 2006-11-17
Posts: 19
Posted: Fri, 2009-01-09 05:02

Hello sup'... the script worked very well for me after making the necessary edit:

Quote:
[There is a line in the file "ConfirmCmImport.inc" where the module being called is incorrectly written as "migrate" rather than the
"cmmigrate" used in the rest of the script. The line looks something like this:

list ($ret, $module) = GalleryCoreApi::loadPlugin('module', 'migrate'); (Change 'migrate' to 'cmmigrate and copy it back to the web server.)]

Would it be possible for you or somebody to edit that file and then re-zip it for download on this page: http://gallery.menalto.com/files/cmmigrate050_0.zip ??

It would seem the logical thing to do to avoid idiots such as myself having to edit it half-way through the migration.. ;-)

Now I have to attempt 'pimping' and upgrading my Gallery... fun, fun, fun!! ;-)

Thanks for your help. Cheers.

Wherever you go, there you are.

 
wreckage
wreckage's picture

Joined: 2006-11-17
Posts: 19
Posted: Sat, 2009-01-10 07:04

Hello all.

I have used the 'cmmigrate' script to copy the images from my Coppermine gallery installation to the Gallery 2.2.4 installation, although I have yet to work out how to create 'groups' and set permissions for them (the albums are only visible by 'admin' so far), and to 'theme' and upgrade the Gallery installation to the latest 2.3 version.

What I would like to do now, is copy the table information from my Coppermine MySQL database to the Gallery 2 database. Can you please advise if there is a way to do this from within phpMyAdmin, or should I run a script called 'CopyDatabase' that I have found on the Sourceforge phpMyAdmin web site?
Any advice would be appreciated. Thanks.

Wherever you go, there you are.

 
wreckage
wreckage's picture

Joined: 2006-11-17
Posts: 19
Posted: Sun, 2009-01-18 06:28

Anybody at all??

wreckage wrote:
Can you please advise if there is a way to do this from within phpMyAdmin, or should I run a script called 'CopyDatabase' that I have found on the Sourceforge phpMyAdmin web site?

Wherever you go, there you are.

 
wreckage
wreckage's picture

Joined: 2006-11-17
Posts: 19
Posted: Thu, 2009-05-21 03:44

Well, after that nice little break of over 4 months, it appears that this topic is 'dead'. This is unfortunate as I'm still stuck as per my previous two posts.
I'm beginning to think that I'll have to ask my users to re-apply for membership, thus creating the MySQL database form scratch.

Does anybody read this now (he asks hopefully)? Can anybody recommend some resources for me to study on this issue?

Cheers.

Wherever you go, there you are.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2009-05-21 10:53

I'm not sure what you expect to achieve by "copying the database"
Gallery uses a different structure so any extra tables you import would be useless.
So what information are you trying to import?

Have you learned how to change permissions?
edit album -> permissions

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
wreckage
wreckage's picture

Joined: 2006-11-17
Posts: 19
Posted: Thu, 2009-05-21 11:31

Oh, Hello! Wow.. you're still around, eh? :-) Good to see. Er, as I have said, this 'web' stuff is a little
over my head, but I just would like to copy my existing users and their passwords from one MySQL database (old Coppermine),
to the new database for Gallery2.

No, I haven't got as far as looking at album permissions. The albums I imported using the script all seem to belong to the
admin user of the Gallery2 installation as I have no members yet. Don't I need to move my users/members from the old Coppermine
MySQL database to the new Gallery2 database in order to actually have some members to which to assign permissions?
I hope you now have an idea of what I'm trying to do, because I'm flat out figuring it out myself. ;-)

Any help appreciated.. Thanks.

Wherever you go, there you are.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2009-05-21 21:21

Is this alot of users?
cmmigrate placed ownership of all items imported to admin, so you would need to manually remap those ownership permissions anyways.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
wreckage
wreckage's picture

Joined: 2006-11-17
Posts: 19
Posted: Fri, 2009-05-22 01:13

1) I only have about 8 users. It's a private site.

suprsidr wrote:
...you would need to manually remap those ownership permissions anyways.

-s

2) This means nothing to me. I'm trying to convey that I need step-by-step help here. I'm obviously not very clear in my request.
Sorry.

Wherever you go, there you are.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2009-05-22 01:24

For 8 users, no need to bother writing a big user migration script. Just add them manually. Or let them join normally.
Personally I'd go with the latter and activate the user album module so each user gets their own album automatically.
Then you could easily move their previous items into their new album.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
wreckage
wreckage's picture

Joined: 2006-11-17
Posts: 19
Posted: Fri, 2009-05-22 09:11

Thanks, suprsidr.

Now we're getting somewhere. When you say there is an option to 'add them manually', does that mean that I can un-encrypt their passwords from the MySQL database so I can use the same ones by joining them as members to the Gallery2 installation?

Thanks.

Wherever you go, there you are.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2009-05-22 10:49

You cannot un-encrypy their password, but you can make up a new one and email it to them - they can change it after they login.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
wreckage
wreckage's picture

Joined: 2006-11-17
Posts: 19
Posted: Sat, 2009-05-23 09:31

Of course! I now have a solution. Thank-you for that. Adieu.

Wherever you go, there you are.

 
auntbunnie

Joined: 2008-11-23
Posts: 2
Posted: Sat, 2009-07-18 01:52

I have a successful migration from coppermine to gallery2... almost. I also have the problem where the albums are only viewable by the admin account. I have changed the permissions so that the group everybody can see them, but nothing happens.

What have I missed?

Group Permissions
Group name Permission

Everybody [rating] All access
Everybody [core] View resized version(s)
Everybody [core] View original version
Everybody [comment] Add comments
Site Admins All access

User Permissions
User name Permission

admin All access

Thanks in advance for your help.
Jill

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2009-07-18 04:14

Add the permission View Item for Everybody
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
auntbunnie

Joined: 2008-11-23
Posts: 2
Posted: Sun, 2009-07-19 16:32

thanks but it didn't work

Group permission added successfully --- I get this after I add View Item to Everybody, but then it doesn't show up in the Permissions listing. And it still won't show up to guests...

I went back and added View All Versions and that seemed to fix it.

Thanks for the help :)
Jill

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2009-07-19 16:52

If you're viewing the thumb, resized and original, you're viewing all versions. :) Glad that worked.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
SLS

Joined: 2010-02-06
Posts: 2
Posted: Sat, 2010-02-06 16:09

For those getting "The path that you entered is invalid" try typing .. before the path. The path is relative to your public_html (or www) directory. So if your gallery files are located in public_html/gallery then you type ../gallery.

Using .. also allows you to navigate/pick a folder.

 
herwig
herwig's picture

Joined: 2007-07-30
Posts: 6
Posted: Tue, 2010-03-09 11:36

Bonjour,

y'a-t-il un sujet de discussion en français sur la conversion de Coppermine en Gallery 2 ou 3 ?
http://www.angier.co.uk/drupal/instructions/cmmigrate-0.3
erreur 404
Merci

Hello,
there is a subject of discussion in French about the conversion of Coppermine in Gallery 2 or 3?
http://www.angier.co.uk/drupal/instructions/cmmigrate-0.3
error 404
Thank you

 
PhobMX

Joined: 2009-05-06
Posts: 2
Posted: Wed, 2010-06-02 16:17

Hey guys, sorry to pop in so late into the conversation. I got a project from a friend and I'd rather migrate out of coppermine and then integrate gallery with Drupal.

So to sume it up:
- Download http://gallery.menalto.com/files/cmmigrate050_0.zip (Is the line of code wreckage pointed out fixed?)
- Install 2.2.4, migrate then upgrade to 2.3.1 (latest)

Sounds easy no? I just want to make it clear for guys that come across this in the future

Regards,

 
ratgurrl

Joined: 2004-02-03
Posts: 3
Posted: Thu, 2010-06-24 17:52

I am looking to migrate from Coppermine v 1.4.25 to Gallery. I found information in these forums, but much of it is old and a lot of the links are broken. Will someone please advise where/how I should start and point me in the right direction.

Update: I've dowloaded the cmmigrate050.zip from the previous post. Is that all I need?

Thanks!
Jennifer

FatCow Webhosting - Platform: Debian | MySQL: 5.0.77 | Pearl: 5.8.8 (GD & ImageMagick) | PHP 5.2.2

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2010-06-25 15:34

Looks like PhotoMx has the most recent instructions. Looks like the latest version of the migrate module isn't compatible with the latest version of Gallery, so you need to install an older version of Gallery.

Looks like you can still download 2.2.6 here:
http://sourceforge.net/projects/gallery/files/

That may work.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here