Help Needed..... Help Needed.....
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Help Needed.....

Started by lovinlife, August 30, 2007, 12:05:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lovinlife

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?

Nibbler

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.

lovinlife

thanks for replying! i will send you a link in your PM.

lovinlife

#3
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.

François Keller

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 ?
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

lovinlife

yeah i think so,i dont get this

François Keller

other thing, why did you change the table prefix ?
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Nibbler

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.

lovinlife

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

lovinlife

well its not workin,i dont get any of this..so i will just start my gallery over..

Joachim Müller

Why?
Anyway, marking thread as "closed".