Support > cpg1.5 install

Migrate from 1.3.2 to new version

(1/5) > >>

skeptikal3:
Hello! I'm new to the forum so I apologize if this is in the wrong section but I inherited a coppermine gallery and was hoping to get some direction. I believe the current version we are on is 1.3.2 (based upon the cookie name "cpg132".

I followed the instructions here -- http://documentation.coppermine-gallery.net/en/export.htm-- and migrated the data (SQL + files) to a new 2012 R2 server with IIS 8.5 and am able to access the website and see the albums and the album summaries are showing that there are files, and when the last file was added.

However, when going to the login page I get an error "Warning your browser does not accept script's cookies".

Also, the albums I have are showing up properly, but when clicking them and trying to view the photos I get "The selected album/file does not exist !" even though the album summary is showing with files/data in it.

My original thought was to migrate all the data to a new server, and then upgrade to the latest version of coppermine but I can't do that when I can't login to the Admin interface, or view the photos that are already in the albums.

Any thoughts?

phill104:
Could we have a link to your site please?

In addition, after the move did you remember to run update.php?

skeptikal3:
Unfortunately the site is internal and not availalbe to the outside world but I've uploaded a couple screenshots.

As you can see in the "album-summary", there are thumbnails as well as the number of files and when they were last updated.

Clicking on "Client Logos" album, gives the "album-details" results screenshot .

skeptikal3:

--- Quote from: skeptikal3 on November 04, 2016, 02:50:19 pm ---Unfortunately the site is internal and not availalbe to the outside world but I've uploaded a couple screenshots.

As you can see in the "album-summary", there are thumbnails as well as the number of files and when they were last updated.

Clicking on "Client Logos" album, gives the "album-details" results screenshot .

--- End quote ---

But to answer your question, yes I also ran the /update.php script but am still getting this result. It's like it's partially reading the thumbnails from the database on the album-summary screenshot, but then will not find the actual thumbnails in the albums on album-details screenshot

gmc:
The cookie name is not necessarily the version you are running - but more likely the first version you installed - typically the cookie value doesn't get changed in an upgrade (or it would invalidate everyone's cookies...)  Most source code should have a block at top with version number...  An eyecatcher like:

--- Code: --- 
********************************************
  Coppermine version: 1.5.44
  $HeadURL: https://svn.code.sf.net/p/coppermine/code/trunk/cpg1.5.x/addfav.php $
  $Revision: 8862 $
**********************************************/

--- End code ---

As I am reading your post - you moved to a new server - but did NOT upgrade yet.. Still running the old version.
Not being able to login as admin can be a symptom of incompatibility between an OLD CPG and a more current server (version of PHP, etc) - all problems we have fixed along the way.  Same for the 'not exist' message - it is likely masking an error received... (manually turning on debug in the database would show more messages...)

No reason you can't upgrade on the new server as it is now - you don't need to login to CPG to do so (you will need to give your CPG or MySQL credentials to the update script to complete the upgrade) - and when all the upgrades are done, you should have a working gallery again...

But to determine your upgrade path - need to know where you are...
If 1.3.x - you will need to go to a 1.4.x release - and then 1.5.x...
Upgrade paths and steps are all described in the doc.
Ask if you need help along the way...

Greg

Navigation

[0] Message Index

[#] Next page

Go to full version