Problems with database upgrade Problems with database 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

Problems with database upgrade

Started by vici, November 18, 2011, 02:42:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vici

Hello,

I have two major problems with my Coppermine Gallery.

1. Since it's very big (24 000 files) and has a database of 1034.75 MB, I cannot process the upgrade. I uploaded new files and ran an upgrade.php file but it looks like the time expired and I got a blank page. It looks like the Gallery wasn't upgraded because I still get warnings about the old version and the upgrade needed. What can I do?

The database is so big that sometimes I get warnings that the tables need to be repaired. When I login to phpMyAdmin it looks like it works fine again.

http://victoria-beckham.biz/photos/

2. There is also a problem with viewing files. I have a couple of settings for different user groups and my Anonymous users (not logged in) should be able to view pictures anyway. Unfortunately, they can't. Every time they click on the thumbnail, a single pic page loads very very long and in the end they get a blank page. What's funny, when I login as an Aministrator, I view the pics without any problems.

http://victoria-beckham.biz/photos/displayimage.php?pid=21998#top_display_media

Please, please help!

ΑndrĂ©

Please post only one question per thread next time.


Quote from: vici on November 18, 2011, 02:42:42 PM
it's very big (24 000 files) and has a database of 1034.75 MB
My gallery has about 80.000 files, but I never had an issue upgrading and updating my gallery. I wonder why your database is so huge. Either you have tons of comments, or you store detailed usage / vote statistics.


Quote from: vici on November 18, 2011, 02:42:42 PM
I still get warnings about the old version and the upgrade needed.
Please post the exact message and maybe a screen-shot, too.


Quote from: vici on November 18, 2011, 02:42:42 PM
The database is so big that sometimes I get warnings that the tables need to be repaired.
Afaik there's no relation between database size and the number of crashing tables.


Quote from: vici on November 18, 2011, 02:42:42 PM
Every time they click on the thumbnail, a single pic page loads very very long and in the end they get a blank page.
I cannot confirm that. When I follow your link, I get a critical error message (probably caused by the failed database update).


To solve your issues I suggest to fix each one step by step. So please post the exact error message and have a look at your database which tables contain the most data. For comparison: my database has a (gzip compressed dump) size of < 6MB and my biggest table is the pictures table with a size of < 11MB and > 80.000 rows.