I upgraded Gallery2 from 2.1.x to the latest 2.2.1.
Everything made by instruction (uploaded new files over old ones by ftp, run upgrade, removed unnessessary files by cleanup.sh and did upgrade).
All works, album are still here, users too, except for displaying images. No thumbnails, no middle size, no original size diplayed. But files are there, I cleared cache several times and I can see that thumbnails and middle size images are being created in 'g2data/cache/derivative/...'. And these files are correct (I downloaded them, renamed .dat to .jpg and I can see the content).
But it looks like the problem is with DownloadItem part of the core. It just does not pass thru data from .dat files to my browser. Also, when I try to do 'Maintenance -> Build all thumbnails/resizes' I just get empty not-found page (and the same empty page with 'Refresh capture dates'). So from that you can understand that NetPBM/GD is working and creating cache files every first time they are called by broeser, but data of these files is not sent to browser.
I also tried to deactivate/uninstall URL rewrite. No effect at all.
I also edited 'modules/core/DownloadItem.inc' and added print('ok'); at the very beginning of php code... But nothing in browser when I try to open separate photo url.
What can be the problem?
Gallery version = 2.2.1 core 126.96.36.199
PHP version = 4.3.4 apache2handler
Webserver = Apache/2.0.49 (Linux/SuSE)
Database = mysqlt 4.0.18, lock.system=flock
Toolkits = Getid3, Gd, SquareThumb, Thumbnail, NetPBM, Ffmpeg, Exif
Acceleration = none, none
Operating system = Linux web-server 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 x86_64
Default theme = classic
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506)
Rows in GalleryAccessMap table = 511
Rows in GalleryAccessSubscriberMap table = 3357
Rows in GalleryUser table = 154
Rows in GalleryItem table = 3335
Rows in GalleryAlbumItem table = 189
Rows in GalleryCacheMap table = 0