coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: lovinlife on August 30, 2007, 12:05:20 AM

Title: Help Needed.....
Post by: lovinlife on August 30, 2007, 12:05:20 AM
Im trying to move my gallery i'v read the http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#moveGallery
and i'v got the gallery from my old host onto the new host but i still cant see them in my gallery i can only see them in "phpMyAdmin" can somebody help me out please,and tell me what i have to do to get it to show up in the actual gallery?
Title: Re: Help Needed.....
Post by: Nibbler on August 30, 2007, 01:47:47 AM
Make sure the information in include/config.inc.php corresponds to what you are looking at in phpmyadmin. A link to your site might help.
Title: Re: Help Needed.....
Post by: lovinlife on August 30, 2007, 02:39:34 AM
thanks for replying! i will send you a link in your PM.
Title: Re: Help Needed.....
Post by: lovinlife on August 30, 2007, 05:18:49 AM
Well i looked and is it supposed to look like this?


old host

Quote<?php

    define ( 'SILLY_SAFE_MODE' , 1 ) ;

    $CONFIG['dbserver'] = 'localhost' ;
    $CONFIG['dbuser'  ] = 'renee_copp1' ;
    $CONFIG['dbpass'  ] = 'old_pwd' ;
    $CONFIG['dbname'  ] = 'renee_copp1'   ;

    $CONFIG['TABLE_PREFIX'] = 'cpg_' ;
   
?>


new host

Quote'localhost';        // Your database server
$CONFIG['dbuser'] =                         'cicipix_ciaraphoto';        // Your mysql username
$CONFIG['dbpass'] =                         'new_pwd';                // Your mysql password
$CONFIG['dbname'] =                         'cicipix_ciaraphotos';        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                'cpg1411_';
?>

edit: I've changed the passwords in your post.
Never post a password on a public board.
Title: Re: Help Needed.....
Post by: François Keller on August 30, 2007, 07:16:44 AM
Quote'localhost';        // Your database server
$CONFIG['dbuser'] =                         'cicipix_ciaraphoto';        // Your mysql username
$CONFIG['dbpass'] =                         'new_pwd';                // Your mysql password
$CONFIG['dbname'] =                         'cicipix_ciaraphotos';        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                'cpg1411_';
?>
it seems $CONFIG['dbserver'] = 'localhost'; fails in your new config file.
Are you sure that the correct value for your database value is localhost ?
Title: Re: Help Needed.....
Post by: lovinlife on August 30, 2007, 07:25:35 AM
yeah i think so,i dont get this
Title: Re: Help Needed.....
Post by: François Keller on August 30, 2007, 07:40:21 AM
other thing, why did you change the table prefix ?
Title: Re: Help Needed.....
Post by: Nibbler on August 30, 2007, 02:56:49 PM
You need to change the file so that it has the right data for the database you have imported. Table prefix should be the same.
Title: Re: Help Needed.....
Post by: lovinlife on August 30, 2007, 07:46:19 PM
Quote from: Frantz on August 30, 2007, 07:40:21 AM
other thing, why did you change the table prefix ?

Im not sure,i was trying a few things and thats maybe how it got changed...but ok thanks for replying i will try that out
Title: Re: Help Needed.....
Post by: lovinlife on August 30, 2007, 11:43:50 PM
well its not workin,i dont get any of this..so i will just start my gallery over..
Title: Re: Help Needed.....
Post by: Joachim Müller on September 04, 2007, 09:04:16 AM
Why?
Anyway, marking thread as "closed".