coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: crdm on July 10, 2007, 07:44:58 PM

Title: Help Required
Post by: crdm on July 10, 2007, 07:44:58 PM
I have recently installed cpg1412, I had v148 previously installed. However after backing up the albulms directory and the files /include/config.inc.php and anycontent.php, my previous gelleries and phots are no longer visable.

I used the same database for both

I have had to re-install as my isp had removed my previous version due to in being hacked and spaming

Any ideas on what to do next to resolve this problem

gallery can be loacted here

http://lyntovakeeshond.com/coppermine/cpg1415/index.php


Mick
Title: Re: Help Required
Post by: Sami on July 10, 2007, 08:53:22 PM
I think correct URL is:
http://lyntovakeeshond.com/coppermine/cpg1412/
You should put your old db info to include/config.inc.php , mostly your old db prefix
Title: Re: Help Required
Post by: crdm on July 10, 2007, 11:06:16 PM
I have this already done this.

I used an older verion of the config.inc.php
Title: Re: Help Required
Post by: crdm on July 10, 2007, 11:16:28 PM
Here is what the config file lists (I have xxx out the user id and password)

<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         'localhost';        // Your database server
$CONFIG['dbuser'] =                         'xxxxxxxxxxxx';        // Your mysql username
$CONFIG['dbpass'] =                         'xxxxxxxxxxxx';                // Your mysql password
$CONFIG['dbname'] =                         'lyntovak_gallery';        // Your mysql database name


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

The only difference between this cofig file and the previous on eis the Table_Prefix
Title: Re: Help Required
Post by: Sami on July 11, 2007, 05:44:13 AM
Check your DB , if you have your old tables then put their prefix on config.inc.php instead of cpg1412_
- if you don't have your old tables on db you should restore them from backup
Title: Re: Help Required
Post by: crdm on July 11, 2007, 09:46:23 AM
Actually both versions are present in the db
Title: Re: Help Required
Post by: Joachim Müller on July 11, 2007, 09:59:24 AM
Quote from: crdm on July 10, 2007, 07:44:58 PM
I have recently installed cpg1412, I had v148 previously installed.
Did you actually perform a fresh install or an upgrade?
Title: Re: Help Required
Post by: crdm on July 11, 2007, 10:47:57 AM
All

I have removed the reference to 1412 from the config file and added in 148, now the gallery loads, however no thumbnails or any other previously saved images are loading.
Title: Re: Help Required
Post by: crdm on July 11, 2007, 10:50:35 AM
Sorry none of the images are loading now, at least the gallery setup is the same as the last version of coppermine.
Title: Re: Help Required
Post by: crdm on July 11, 2007, 10:53:56 AM
Sorry

Here is the gallery as it is now, at least after changing the table version in the config it has laoded the previous galleries, however none of the images are now loading

http://www.lyntovakeeshond.com/coppermine/cpg1412/index.php

I actually created a new install as the ISP removed certain directories from the previous install of coppermine as it was spamming at an alarming rate.

I installed coppermine in a totally different directory and copied across the albums directory and the config file.
Title: Re: Help Required
Post by: Sami on July 11, 2007, 10:59:54 AM
I can't find your old folders under Albums/userpics (i.e. 10001) check if they are really there
Title: Re: Help Required
Post by: Joachim Müller on July 11, 2007, 03:50:47 PM
This thread looks insanely complicated to me for no apparent reason. Please answer my question:
Quote from: GauGau on July 11, 2007, 09:59:24 AMDid you actually perform a fresh install or an upgrade?
Title: Re: Help Required
Post by: Sami on July 11, 2007, 04:02:09 PM
Quote from: crdm on July 11, 2007, 10:53:56 AM
I actually created a new install as the ISP removed certain directories from the previous install of coppermine as it was spamming at an alarming rate.

I installed coppermine in a totally different directory and copied across the albums directory and the config file.
Title: Re: Help Required
Post by: crdm on July 14, 2007, 03:17:54 AM
Thanks to everyone who has assisted to date.

Im runninginto one finalproblem now on the gallery, the thumbnails are not displaying.

The intermediate and large photos are all now restored to the 10001 directory

Any ideas

http://www.lyntovakeeshound.com/coppermine/cpg1412

Again thanks for the ongoing support.
Title: Re: Help Required
Post by: Sami on July 14, 2007, 06:18:22 AM
You didn't copy all files to albums folder
here is an example :
is not there
http://www.lyntovakeeshound.com/coppermine/cpg1412albums/userpics/10001/thumb_Copy_of_Copy_of_norway_left.jpg

is there
http://www.lyntovakeeshound.com/coppermine/cpg1412albums/userpics/10001/Copy_of_Copy_of_norway_left.jpg
Title: Re: Help Required
Post by: crdm on July 14, 2007, 10:21:19 AM
Sorry

After the isp restore, there were no thumb_xxxxx files in the 10001 directory.

Is there a way to re-create these by bulk? or do I have to upload all files individually now, to re-create the thumbnail?

CRDM
Title: Re: Help Required
Post by: Sami on July 14, 2007, 02:45:38 PM
Yes you can try admin tools
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_tools
Title: Re: Help Required
Post by: crdm on July 14, 2007, 07:39:02 PM
Thanks for the Info
Title: Re: Help Required
Post by: Sami on July 15, 2007, 08:36:51 AM
Issue solved?
Title: Re: Help Required
Post by: crdm on July 15, 2007, 10:41:38 PM
Sami,

Just one final error after completing the rebuild, Im getting htis error on abut 40% of the images, even though the full image and normal image are loacted once you clickon the incomplete thumbnail

ERROR creating : albums/userpics/10001/thumb_HPIM1677.JPG


Title: Re: Help Required
Post by: Sami on July 16, 2007, 05:31:32 AM
Did you change your URL ? I've got 404 not found error !

that could be memory issue see this:
http://forum.coppermine-gallery.net/index.php?topic=24088.msg110690#msg110690
this apply to admin tools too
Title: Re: Help Required
Post by: crdm on July 16, 2007, 08:55:00 AM
No site has not moved.

Im requesting the php change to see does this allevate the problem, if not, Ill get the images redone locally and uploaded at a smaller size. Thanks for your help in this much appreciated. You can now mark this as solved.


CRDM