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
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
I have this already done this.
I used an older verion of the config.inc.php
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
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
Actually both versions are present in the db
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?
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.
Sorry none of the images are loading now, at least the gallery setup is the same as the last version of coppermine.
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.
I can't find your old folders under Albums/userpics (i.e. 10001) check if they are really there
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?
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.
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.
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
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
Yes you can try admin tools
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_tools
Thanks for the Info
Issue solved?
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
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
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