|
|
| |
Forums ⇒ DragonflyCMS ⇒ Coppermine :: Archives ⇒ 9.1.1 to 9.1.2.1 upgrade - need help! :: Archived
9.1.1 to 9.1.2.1 upgrade - need help! :: ArchivedPlease post bugs in the Projects Module. Post anything and everything else about Coppermine in this forum.
Go to page Previous 1, 2, 3
| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Tue Mar 27, 2007 9:16 pm Post subject: Re: 9.1.1 to 9.1.2.1 upgrade - need help! |
|
| Conkersm98fr wrote: |
| but that doesn't appear to be it. |
... but it is.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
Conkersm98fr Newbie


Offline Joined: Apr 21, 2004 Posts: 36 Location: Manchester, England
|
Posted: Sun Apr 01, 2007 4:31 pm Post subject: Re: 9.1.1 to 9.1.2.1 upgrade - need help! |
|
In view of the last reply, is there any way that I can amend any of the data in the SQL database so that it will recognise the fact that the pictures are in the albums and so I can add the thumbnails to the Album index page and the Album manager page.
I don't have the old database, I deleted it because it was corrupted somehow.
Surely when I add a new album that should register photos and thumbnails if it is a new album?
Conkersm98fr's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Dragonfly 9.1.1 /Linux/Apache 1.3.37(UNIX)/PHP 4.4.3/MySQL 4.0.27-Standard
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Mon Apr 02, 2007 8:46 am Post subject: Re: 9.1.1 to 9.1.2.1 upgrade - need help! |
|
Pretty sure that all old enum fields (Yes/No) are now set to 0.
Running the installer the "old" data were suppose to be changed from Yes to 1 and from No to 0. Because of what you have done all this did not happened.
However if your database contains just and exclusively "approved" pictures, "public" albums ecc ecc so there are not restrictions at all then you could simply run an UPDATE query to change 0 to 1, otherwise you need to do that manually from phpmyadmin or any other sql browser.
Tables and fields are as following:
| Code:: |
users => user_active_cp
cpg_albums =>
uploads,
comments,
votes,
stat_uptodate
cpg_categories => stat_uptodate
cpg_pictures => approved
|
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
Conkersm98fr Newbie


Offline Joined: Apr 21, 2004 Posts: 36 Location: Manchester, England
|
Posted: Mon Apr 02, 2007 1:53 pm Post subject: Re: 9.1.1 to 9.1.2.1 upgrade - need help! |
|
Thanks for the reply Nano.
I followed your instruction as set out, however, I left the uploads and comments fields set at NO as all the photos are mine and no-one is allowed to post pics except me. (Sorry to sound like a megalomaniac).
Whilst I can still add pics and create albums, it is still showing them empty although you can get to the pics by clicking on the graphic.
The count on the album index still shows the albums as empty although on the album manager page it does show the count.
All the pics are approved.
Any other ideas?
Conkersm98fr's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Dragonfly 9.1.1 /Linux/Apache 1.3.37(UNIX)/PHP 4.4.3/MySQL 4.0.27-Standard
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Mon Apr 02, 2007 2:20 pm Post subject: Re: 9.1.1 to 9.1.2.1 upgrade - need help! |
|
"set at NO" ....
the point is that you shouldn't have "No" anymore .. if you do _still_ have "Yes" and/or "No" then something is totally wrong here.
As you said, you did:
1) backed up you old db
2) installed a fresh copy
3) imported you old db in to the new install
Is this all correct?
If this is correct then you should't have "No" anymore but "0" instead.
The problem comes for "Yes" values since MySQL will fail when guessing the correct value to use for the new field type (was enum, now its int) and will drop the defual value of "0".
Tecnically you should have all columns set to "0" and no more "Yes" and "No".
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
Conkersm98fr Newbie


Offline Joined: Apr 21, 2004 Posts: 36 Location: Manchester, England
|
Posted: Mon Apr 02, 2007 2:45 pm Post subject: Re: 9.1.1 to 9.1.2.1 upgrade - need help! |
|
Ah, yes there are a few ENUM fields scattered around cpg_albums I take it these should be reset to INT and then 0?
Conkersm98fr's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Dragonfly 9.1.1 /Linux/Apache 1.3.37(UNIX)/PHP 4.4.3/MySQL 4.0.27-Standard
|
|
| Back to top |
|
 |
Conkersm98fr Newbie


Offline Joined: Apr 21, 2004 Posts: 36 Location: Manchester, England
|
Posted: Mon Apr 02, 2007 2:53 pm Post subject: Re: 9.1.1 to 9.1.2.1 upgrade - need help! |
|
THAT DID IT"!!!!!!!!!!!!!!!
Thanks ever so much Nano, I changed all the ENUM fields in Albums and catagoies to INT then set them either 1 or 0 depending in what I wanted and low and behold they all wortked.
Go have a look! iancharlesphotos.net
I can't thank you enough
Ian
Conkersm98fr's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Dragonfly 9.1.1 /Linux/Apache 1.3.37(UNIX)/PHP 4.4.3/MySQL 4.0.27-Standard
|
|
| Back to top |
|
 |
maximus Newbie


Offline Joined: Feb 19, 2007 Posts: 14
|
Posted: Fri Jun 22, 2007 6:23 pm Post subject: Re: 9.1.1 to 9.1.2.1 upgrade - need help! |
|
I'm having the same issue after updating from 9.1.1 to 9.1.2.X. My photogallery shows that their are 0 pics in each album, but if u click on the album, you can see the pictures with no issue. If i try to update the albums it says "Album is empty".
I've checked the cpg_albums and cpg_category DB for ENUM but there were none. only INT settings (which were at 0). Any other ideas on how to fix this?
maximus's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.2.6/5.0.45/5.2.5/9.1.2.1
|
|
| Back to top |
|
 |
|
|
|
| |
 |
 Welcome Anonymous
|
|
|
|