Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
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! :: Archived
Please post bugs in the Projects Module.
Post anything and everything else about Coppermine in this forum.

Go to page Previous  1, 2, 3
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & BlocksCoppermine :: Archives

Topic Archived View previous topic :: View next topic  
Author Message
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
Conkersm98fr
Newbie
Newbie

Offline Offline
Joined: Apr 21, 2004
Posts: 36
Location: Manchester, England
PostPosted: 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
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
Conkersm98fr
Newbie
Newbie

Offline Offline
Joined: Apr 21, 2004
Posts: 36
Location: Manchester, England
PostPosted: 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
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
Conkersm98fr
Newbie
Newbie

Offline Offline
Joined: Apr 21, 2004
Posts: 36
Location: Manchester, England
PostPosted: 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
View user's profile Visit poster's website
Conkersm98fr
Newbie
Newbie

Offline Offline
Joined: Apr 21, 2004
Posts: 36
Location: Manchester, England
PostPosted: 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
View user's profile Visit poster's website
maximus
Newbie
Newbie

Offline Offline
Joined: Feb 19, 2007
Posts: 14

PostPosted: 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
View user's profile Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & BlocksCoppermine :: Archives
Page 3 of 3
All times are GMT
Go to page Previous  1, 2, 3

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

leia mais...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy