| Re: Coppermine Import
Well, for what it's worth, the answer is no, it definitely will not work. I didn't see any way that it could, since there was nowhere to provide values for database userid, host, password for either source or destination database, but I gave it a shot just in case, since you said it should work (I hadn't read all the way through the script at that point).
I'm trying to find exactly where the script gets its database login information, and it seems to go through Coppermine's init.inc.php, which seems to then connect to functions.inc.php, and from there to connect to the MySQL server through an existing PostNuke connection, which is, of course, broken since there is no PostNuke install on our new server as I mentioned. I downloaded the install package for the Coppermine version we were running on the old server to try and track down where this info would be in the filesystem, and it refers to writing these variables to a file, but it is unclear what file it is (config file '{$DFLT['cfg_f']}'), and a search of my full backups for either the keys or the values comes up empty.
Can you give us a hack for this import script that will allow for specification of MySQL server (or localhost default is fine), database name, database username, and password as variables passed to or added in to the script? I'm sure we're not the only site that would prefer to be able to set up directly without having to import each photo singly or set up a PostNuke/Coppermine site and hack the gallery install somehow to deal with a non-vBulletin setup. It would be great if you would.
|