[SOLVED] thumbnails and links are gone

HrlyKrs
HrlyKrs's picture

Joined: 2005-01-18
Posts: 19
Posted: Mon, 2005-07-11 15:59

i am having issues since i ugraded to 0.9.31. all of my thumbnails are gone, and there are no links to go into the albums.

----

Gallery URL (optional): http://www.kh-tech.com/modules/gallery2/main.php
Gallery version: 0.9.31
Webserver (with version): Apache/2.0.52 (Fedora)
Datatabase (with version): mysql 3.23.58
PHP version (eg 4.2.1): 4.3.11 apache2handler
phpinfo URL (optional):
Graphics Toolkit(s): ArchiveUpload, NetPBM, SquareThumb, ImageMagick
Operating system: Linux huey.kh-tech.com 2.6.11-1.35_FC3 #1 Mon Jun 13 00:52:08 EDT 2005 i686
Web browser/version: IE and FireFox
G1 version (for migration bugs):

 
HrlyKrs
HrlyKrs's picture

Joined: 2005-01-18
Posts: 19
Posted: Mon, 2005-07-11 16:01

there are no errors in /var/log/httpd/error_log.
there were no errors when i did the upgrade.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-07-11 16:10

have you changed your G2 in any way? local templates? your own themes, layouts? GalleryCapabilities:: ...?

 
outie

Joined: 2005-07-11
Posts: 7
Posted: Mon, 2005-07-11 16:46

There seems to be a bug with the latest build and URL rewrite. Deactivate URL rewrite and your thumbnails and link will come back.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-07-11 16:58

outie, url rewrite works for me.

 
outie

Joined: 2005-07-11
Posts: 7
Posted: Mon, 2005-07-11 17:13

I don't know to replicate this problem but it appeared after I updated to the nightly build last night july11th from bingo and I got the problem as described. After deactivating URL rewrite it came back normal.

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2005-07-11 17:48

krishubert, did you by chance select "Sort Album by Title" in the Album Select module?

 
HrlyKrs
HrlyKrs's picture

Joined: 2005-01-18
Posts: 19
Posted: Mon, 2005-07-11 17:51
valiant wrote:
have you changed your G2 in any way? local templates? your own themes, layouts? GalleryCapabilities:: ...?

I don't recall changing anything from the default install.

outie wrote:
There seems to be a bug with the latest build and URL rewrite. Deactivate URL rewrite and your thumbnails and link will come back.

I don't have the URL rewrite module activated.

LFrank wrote:
krishubert , did you by chance select "Sort Album by Title" in the Album Select module?

I am not sure, but i don't think i did. How do i check. There isn't even a menu on the left, or any way to get to "Site Admin".

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2005-07-11 18:08

krishubert, try to load
http://your site/Path/main.php?g2_view=core.SiteAdmin& this should bring you to the admin site - but I think you need to be logged in - this you could try using
http://your site/Path/main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin&

 
HrlyKrs
HrlyKrs's picture

Joined: 2005-01-18
Posts: 19
Posted: Mon, 2005-07-11 18:47

Selector Type: List Box
Sort order: Sort albums by title

Tree: Connect tree branches with lines
Show folder icons
Show expand-all and collapse-all options

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2005-07-11 18:55

remove the sort by type until tomorrow - there's another post about DHTML and IE6 describing exactly that behaviour - might be related
Look here http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=32576 if the screenshots are familiar ;)

 
HrlyKrs
HrlyKrs's picture

Joined: 2005-01-18
Posts: 19
Posted: Mon, 2005-07-11 19:01

i am not sure what you mean by remove. it's a radio button. I set it to "Use manual sort order of albums" but it still doesn't work.

I also ran most of the Maintainance operations:
+ System information 02:25:56 PM 07/11/2005
+ Reset view counts Not run yet
+ Delete database cache 02:26:06 PM 07/11/2005
+ Build all thumbnails/resizes 02:54:40 PM 07/11/2005
+ Delete template cache 02:26:13 PM 07/11/2005
+ Optimize database 02:26:18 PM 07/11/2005
+ Refresh capture dates 02:56:24 PM 07/11/2005

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2005-07-11 19:08

Sorry, I meant the switch to "manual sort order".
... hm, I'm out of ideas

 
HrlyKrs
HrlyKrs's picture

Joined: 2005-01-18
Posts: 19
Posted: Mon, 2005-07-11 19:21

I've been poking around the "Themes" screen and I noticed that I have no blocks available in the "Matrix" tab.

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2005-07-11 19:24

Oh, yup - that should/could end up in a quite empty page ... try to add some life ;)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2005-07-12 02:16

krishubert, For the time being use a browser other than IE. That page sometimes works and sometimes doesn't in Firefox. There are some known issues and bugs with the new DHTML admin block selection.

http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=32604

 
HrlyKrs
HrlyKrs's picture

Joined: 2005-01-18
Posts: 19
Posted: Tue, 2005-07-12 13:30

i don't think it's the same problem.
first, i am using firefox, not IE.
second, if you look @ one of my previous posts, there are no available blocks in the matrix settings.

the attached screen shot is what i see on my main page.

i just got the latest CVS too.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-07-12 13:55

krishubert, i'd like to find out the following things:

- whether this is an upgrade issue or a problem of the current version of g2:
please install a second g2 in parallel, use another g2data folder, another database to not affect your existing g2 installation.
add a few albums and items. works everything ok or do you have the same problems?
please use various browsers, and deactivate as many extensions in Firefox / mozilla as possible.

- the prior version of g2 worked fine on your system, correct?

 
HrlyKrs
HrlyKrs's picture

Joined: 2005-01-18
Posts: 19
Posted: Tue, 2005-07-12 14:58

I installed a fresh copy from the CVS in parallel. i created an album, and added a picture. everything seems to be working. however, how do i get all my albums, pictures, and users into the new install?

there is one major thing i noticed. all of the options for the matrix theme have values in them. see the attached screen shot.

Below is the system info:

Gallery version = 2.0-beta-3+ core 0.9.31
PHP version = 4.3.11 apache2handler
Webserver = Apache/2.0.52 (Fedora)
Database = mysql 3.23.58
Toolkits = ArchiveUpload, Exif, Gd, ImageMagick, NetPBM, SquareThumb, Thumbnail
Operating system = Linux huey.kh-tech.com 2.6.11-1.35_FC3 #1 Mon Jun 13 00:52:08 EDT 2005 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-07-12 15:25

the purpose of this second g2 install was not to import the data from your existing g2, that's nearly impossible (too much work).
now we know it's an upgrade issue, which shows up for some g2s.

what was your g2 version before you upgraded?

 
HrlyKrs
HrlyKrs's picture

Joined: 2005-01-18
Posts: 19
Posted: Tue, 2005-07-12 15:27

i do every upgrade. i noticed it when i went from 29 --> 30. it was still there when i went from 30 --> 31.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-07-12 15:31

have you a backup of your 0.9.29 db/g2data/config.php ?

and can you post a phpinfo link (<?php phpinfo(); ?>)?

 
HrlyKrs
HrlyKrs's picture

Joined: 2005-01-18
Posts: 19
Posted: Tue, 2005-07-12 15:39

backup!?!? HA! however, i don't even see "db/g2data/config.php" in my fresh install of 0.9.31. i vaguely recall the db directory getting deleted. am i right?

php info can be found @ http://www.kh-tech.com/modules/gallery2/info.php

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-07-12 15:42

no i mean if you have a backup of your database (db), g2data (storage dir), and config.php.

i'll ask another developer if he has an idea what could be wrong here.

 
HrlyKrs
HrlyKrs's picture

Joined: 2005-01-18
Posts: 19
Posted: Tue, 2005-07-12 15:44

valiant, my original statement still stands... "backup!?!? HA!"

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-07-14 14:31

can you give me your g2 admin account information and ssh or ftp access to the server via pm?

 
HrlyKrs
HrlyKrs's picture

Joined: 2005-01-18
Posts: 19
Posted: Thu, 2005-07-14 15:54

what woud you like it for?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-07-14 16:47

obviously there went something wrong with your G2 in the upgrade process.
you don't have backups so we can't reproduce it.
the only way to find out what's wrong is to analyze what is in your database, debug, etc. and the only efficient way to do this is one of us has access to your box.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-07-14 19:16

krishubert, it seems you have fixed your install. is that correct?
what did you change?

 
HrlyKrs
HrlyKrs's picture

Joined: 2005-01-18
Posts: 19
Posted: Sat, 2005-07-16 15:18

Valiant, at the time you wrote that, I didn't change anything. you were probably seeing the fresh install you had me do.

however, i changed the config.php in the fresh install to point to the original DB. i then moved the g2data of the broken upgrade into the fresh install. that seemed to get me back up and running. i am in the process of re-building all of the images.

thanks for your help!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-07-16 16:01

this is so strange.

g2data + the db are the only thing that are unique for a g2 install. if you just changed the gallery2 files, it shouldn't have fixed it.

but as we don't even know what caused the problem, well doh. maybe it was actually the old config.php file, but that wouldn't make sense.

thanks for the feedback. i mark this topic as solved.