Importing or adapting users Importing or adapting users
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Importing or adapting users

Started by willemsdanny, October 27, 2009, 01:39:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

willemsdanny

Hi,
After being hacked I needed to reinstall Coppermine on a new server.
My previous installed Coppermine got more than 50 000 visitors, the new one has 0.
Is there a way to adapt or import the number of visitors ?

Nibbler

Copy the users table from the old gallery to the new.

willemsdanny

Sorry I am a newbie, where do find that one ??

Joachim Müller

You shouldn't have performed a fresh install, but instead you should have sanitized your hacked gallery as suggested in the Yikes thread. You can import user accounts if you have a database dump of your old gallery. A visitor as we understand it is not a user though: it's anyone who is visiting your pages, guest or registered. If you're refering to the same thing and want to restore the hit stats: this can be restored as well, but the hits are kept per file in your database. As you have a different file structure, you can't import the hit stats from a previous dump. That's one of the reasons why you shouln't have performed a fresh install. This being sais: the short answer to your question is "no". The long answer is "can be accomplished if you're ready to spend some time on it and if you have a backup of your old gallery both on file system level as well as on database level".
Please respect board rules in the future - you agreed to respect them when you signed up! In other words: post a link to your new gallery (and if that differs from your old gallery, post a link to your old gallery as well even if the link is down).