No images following upgrade No images following upgrade
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

No images following upgrade

Started by Burty, July 03, 2013, 12:27:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Burty

Hi,

I've just upgraded from 1.4.10 to 1.5.24 and all has gone well.

I have a problem however, in that I'm not seeing any of my images. I'm sure to have missed something simple but I cannot see what, any support would be appreciated.

The gallery is here - http://www.murcia-golf.co.uk/gallery/index.php

I have a bridge with SMF and that seems to be OK.

Any ideas please?

Joe Carver

It looks odd and empty...

Did you run update.php?

Are you using the same database and settings?
(do you have a backup?)

Does it act the same when unbridged?
Are the categories / albums user albums?

Burty

Hi,

Yes I've run update.php

I'm using the same database. When I look at it I can see my old cpg1410 tables and the new cpg15x but 15x is empty. Should there have been some kind of migration?

Could I just import the required tables from 1410 to 15x manually? I've not tried anything get as I wanted to wait for support first.

phill104

Sounds like you have done a new install of CPG1.5 in the location of your old 1.4 install. If your albums folder is intact then this should not be a problem. Simply go into the include/config.inc.php file and edit the database settings to point to your old DB prefix then run update.php and all should be fine.
It is a mistake to think you can solve any major problems just with potatoes.

Burty

Hi Phill,

So I've changed

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


to

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


Then gone to my site and run update.php but I then get an alarm -

Coppermine critical error:
The group table does not contain the Anonymous group !

Burty

Hi,

I found this info:

QuoteALTER TABLE cpg14x_usergroups DROP `upload_form_config`, DROP `custom_user_upload`, DROP `num_file_upload`, DROP `num_URI_upload`;
ALTER TABLE cpg14x_usergroups ADD access_level tinyint(4) NOT NULL default '3';
INSERT INTO cpg14x_usergroups VALUES (3, 'Anonymous', 0, 0, 1, 0, 0, 0, 0, 1, 1, 3);

Having done this and run update.php again I seem to be working, not tested fully as I'm out of time for now.