forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: willemsdanny on October 27, 2009, 01:39:05 pm

Title: Importing or adapting users
Post by: willemsdanny on October 27, 2009, 01:39:05 pm
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 ?
Title: Re: Importing or adapting users
Post by: Nibbler on October 27, 2009, 01:54:21 pm
Copy the users table from the old gallery to the new.
Title: Re: Importing or adapting users
Post by: willemsdanny on October 27, 2009, 01:57:05 pm
Sorry I am a newbie, where do find that one ??
Title: Re: Importing or adapting users
Post by: Joachim Müller on October 27, 2009, 01:58:43 pm
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 (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616) 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).