Problem when migrating gallary2 from windows to linux

vorng

Joined: 2009-06-25
Posts: 16
Posted: Tue, 2009-10-20 04:47

Hi all,

I'm coming again. This time i tried to migrate my gallery2 from Windows (which is working fine) to new server Ubuntu. After uploading the whole /gallery2 directory to new server, i changed the database config and gallery directory base in config.php. Then i import the database from mysql on windows to mysql on new server (ubuntu), to my understanding, this should be working fine. After trying to access it on new server, i got a page displaying just "Error" which is in main.php page.

Can anyone help me please?

Nimeth

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-10-21 18:49

The problem is windows :) It doesn't enforce case sensitivity on anything...

See step 6 in this guide:
FAQ: How can I move my gallery installation from one server to another?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
vorng

Joined: 2009-06-25
Posts: 16
Posted: Thu, 2009-11-05 04:29

Thing works fine now. Thanks alot.

Vorng

 
vorng

Joined: 2009-06-25
Posts: 16
Posted: Thu, 2009-11-05 04:30

Things work fine. Thanks a lot.

Vorng

 
vorng

Joined: 2009-06-25
Posts: 16
Posted: Thu, 2009-11-05 09:32

Now I encountered another serious problem. When I tried to activate user registered via the gallery site, I got the error screen which led me to set the gallery to debug mode as buffered. I set it to debug mode then login again and go to Site Admin, I got another screen error as attached. I attached also the error screen when i tried to activate a user (in debug mode).

Please anyone help me.

Thanks a lot.
Vorng

AttachmentSize
Database error.txt13.74 KB
Debug Redirect.txt3.18 KB
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-11-05 16:35
Quote:
mysqlt error: [1146: Table 'gallery.g2_SubscriptionMap' doesn't exist]

That's a problem. I don't know how serious it is though. I'd think you'd need to try restoring the database from the old server again or check your backup to make sure that table is in there.

FAQ: I get ERROR_STORAGE_FAILURE when adding new photos or creating albums, what should I do?

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here