coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: 0CooL on November 08, 2005, 07:50:37 AM

Title: restoring my coppermine
Post by: 0CooL on November 08, 2005, 07:50:37 AM
i have moved my coppermine to new database, but I just can't get the pictures to show up, I have saved albums and also backed up database as an .sql file, and I installed fresh new copy of coppermine, I replaced albums with my old one with photos, also I have imported the .sql file to database but pictures just wont shop.... It's empty... please help.

I apologize if I posted in wrong topic.
Title: Re: restoring my coppermine
Post by: Joachim Müller on November 08, 2005, 08:03:40 AM
Link?
Title: Re: restoring my coppermine
Post by: 0CooL on November 08, 2005, 01:45:44 PM
http://www.elementr.com/coppermine/index.php
Title: Re: restoring my coppermine
Post by: Nibbler on November 08, 2005, 01:53:01 PM
Edit include/config.inc.php and enter the details of your restored database.
Title: Re: restoring my coppermine
Post by: 0CooL on November 08, 2005, 02:05:17 PM
yes that's already there but still doesn't want to pull my pictures... going crazzy

i have installed fresh copy of coppermine
then i have replaced album folderd with my old one with pictures
then i have imported tables in mysql. but it still doesn't work don't know why i know it's something simple that i'm forgeting.
Title: Re: restoring my coppermine
Post by: 0CooL on November 08, 2005, 04:49:26 PM
also i have created php.ini file does that have to do anything with my pictures now showing up in my coppermine.
Title: Re: restoring my coppermine
Post by: Stramm on November 08, 2005, 06:08:22 PM
I think you installed a new coppermine and set a certain db prefix... like cpg135_
then you restored your old db... but it has another prefix like cpg132_

now you need to edit config.inc.php and enter the prefix gf the old db... in this example cpg132_

have you done that??
Title: Re: restoring my coppermine
Post by: 0CooL on November 08, 2005, 06:54:52 PM
yes sir the prefix matches it's cpg132_

also i don't know if any mods that i did to my old coppermine would matter like Integration with phpbb.
Title: Re: restoring my coppermine
Post by: Stramm on November 08, 2005, 07:24:47 PM
then recheck if you've backed up your mysql db including data and not only the structure
Title: Re: restoring my coppermine
Post by: 0CooL on November 08, 2005, 07:33:36 PM
how do i do that, that's probably it.....
Title: Re: restoring my coppermine
Post by: Stramm on November 08, 2005, 07:38:35 PM
with a tool like phpmyadmin you can explore your mysql db (and much more)
Title: Re: restoring my coppermine
Post by: Stramm on November 08, 2005, 07:42:16 PM
or check your backup.sql file (open it in a text editor)
Title: Re: restoring my coppermine
Post by: 0CooL on November 08, 2005, 07:45:37 PM
yeah i think i did that, there is no comments or nothing like that.
 
when i get home i'll check more to see if i have one that's completly backed up....