Gallery 2.2-RC-1 Feedback

mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2007-01-01 05:43

This topic is for feedback on the first release candidate of Gallery 2.2.

[url=/gallery_2.2_RC1_released]2.2-RC-1 release announcement[/url]

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2007-01-01 06:33

Woo hoooooo! 2.2 RC 1 is out just under the wire in 2006!

 
mikeage
mikeage's picture

Joined: 2005-01-23
Posts: 138
Posted: Mon, 2007-01-01 09:36

Love it!

Everything worked flawlessly...

... except one thing. I have two G2 installations using a common codebase (multisite). The first upgrade went off without any problems... the second couldn't upgrade the URL Rewrite module. Clicking on upgrade gives me:

"Security Violation

The action you attempted is not permitted.

Back to the Gallery
Error Detail -
Error (ERROR_BAD_PARAMETER) : /home/mikeage/public_html/content/gallery-codebase/modules/updates/module.inc

* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 94 (gallerycoreapi::error)
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 88 (gallerypluginhelper_simple::loadplugin)
* in modules/core/classes/GalleryCoreApi.class at line 207 (gallerypluginhelper_simple::loadplugin)
* in modules/rewrite/RewriteModuleExtras.inc at line 291 (gallerycoreapi::loadplugin)
* in modules/rewrite/module.inc at line 50 (rewritemoduleextras::upgrade)
* in modules/core/classes/GalleryModule.class at line 155 (rewritemodule::upgrade)
* in modules/core/PluginCallback.inc at line 236 (rewritemodule::installorupgrade)
* in modules/core/PluginCallback.inc at line 73 (plugincallbackview::handlecallback)
* in main.php at line 433 (plugincallbackview::renderimmediate)
* in main.php at line 94
* in main.php at line 83
* in main.php at line 3

System Information
Gallery version 2.2-rc-1
PHP version 4.4.4 cgi
Webserver Apache/1.3.37 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
Database mysqlt 5.0.27-standard-log
Toolkits ImageMagick, Thumbnail, NetPBM, Gd
Operating system Linux lotis.site5.com 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:21:39 CDT 2006 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1"

 
primedomain

Joined: 2002-11-09
Posts: 115
Posted: Mon, 2007-01-01 14:03

Hello,

I just migrated for the first time from G1 to G2 (about 7000 photos). Migration worked so far. Great job!

I noticed a couple of things I am not quite sure about:

- Does the migration include G1 ratings/polls? I noticed that the number of views has been migrated. However, even after enabling rating for a specific album, there are no G1 ratings.

- rating: "... and for all subalbums": I'd suggest to change the text for the first check box ("Enable rating for this album") to sth like "Enable/disable rating for this album". ATM it is slightly unclear that you have to *un*check the box "Enable rating for this album" and check the box "... and for all subalbums" if you want to *disable* ratings in all sub-albums.

- in G1, there was one completely empty album (the last one in the list). This sort of interrupted the album migration. When I clicked on "continue", G2 displayed "no albums imported". However, all albums that were listed before the empty album have actually been imported correctly. Of course it's silly to import an empty album, but I figured I should mention it anyway :)

- NetPBM Settings: when I enter the path to the jhead Directory, I always get the error message: "The path you entered isn't a valid path." The path is sth like "/homepages/14/dxxxx/htdocs/addons/gallery/jhead/". In "jhead" is the jehad file, permissons are set to 755. Doesn't work with 777 either. Removing slash at the end doesn't change anything. The same sort of path does work for uploads from the server. It used to work in G1.

- Validation: two errors according to validator.w3.org on the Matrix theme:
(front page):

Error Line 70 column 171: there is no attribute "folder".

...r: url(#default#anchorClick)" folder="http://www.xxxxx.com/xxxxx/

Error Line 102 column 30: document type does not allow element "script" here; missing one of "th", "td" start-tag.

<script type="text/javascript">

Thanks.
Let me know if you need more info/more testing data.

gallery version = 2.2-rc-1 core 1.1.26
PHP version = 4.4.4 cgi
Webserver = Apache/1.3.37 (Unix)
Database = mysqlt 4.0.25-standard, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, NetPBM, SquareThumb, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux infong 2.4 #1 SMP Thu Jan 13 08:59:31 CET 2005 i686 unknown
Default theme = matrix
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Rows in GalleryAccessMap table = 142
Rows in GalleryAccessSubscriberMap table = 7244
Rows in GalleryUser table = 10
Rows in GalleryItem table = 7241
Rows in GalleryAlbumItem table = 208
Rows in GalleryCacheMap table = 0

 
mikeage
mikeage's picture

Joined: 2005-01-23
Posts: 138
Posted: Mon, 2007-01-01 14:22
Quote:
- NetPBM Settings: when I enter the path to the jhead Directory, I always get the error message: "The path you entered isn't a valid path." The path is sth like "/homepages/14/dxxxx/htdocs/addons/gallery/jhead/". In "jhead" is the jehad file, permissons are set to 755. Doesn't work with 777 either. Removing slash at the end doesn't change anything. The same sort of path does work for uploads from the server. It used to work in G1.

It wants the path to the directory, not the path to the executable.

try /homepages/14/dxxxx/htdocs/addons/gallery/ instead.

Don't feel bad... I was actually going through all my settings about two hours ago, realized that one was empty, and made the exact same mistake you did!

 
primedomain

Joined: 2002-11-09
Posts: 115
Posted: Mon, 2007-01-01 15:22
mikeage wrote:

It wants the path to the directory, not the path to the executable.

try /homepages/14/dxxxx/htdocs/addons/gallery/ instead.

thanks for replying.
Yes, I know. /homepages/14/dxxxx/htdocs/addons/gallery/jhead/ is actually the directory, not the executable, which is in the directory /jhead/. I am lost here.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2007-01-01 16:12

Thanks for the early feedback!

mikeage, did you extract 2.2-rc-1 on top of the existing codebase or remove the old and put 2.2-rc-1 in place? The error indicates the code for a 3rd party module is no longer there, so the site using that module got an error. If you need more help with this issue please post a followup in the support forums, thanks!

primedomain, currently we do not import rating data from G1.. sorry! @netpbm, if the filename in that directory is "jhead" and is executable then I'm not sure what's wrong. Perhaps try turning on buffered debug output in config.php and trying again to see if it provides any clues.. please post in the support forums if you need help decoding the debug output. @validation, the folder= one we need to have for webdav support, the other one we'll look into.. do you know what module the <script> is from?

 
egen

Joined: 2007-01-01
Posts: 2
Posted: Mon, 2007-01-01 21:49

NEED HELP! after upgrading plug-in page not shown (blank page) and many modules not working.

after enable php errors - Fatal error: Allowed memory size of 10485760 bytes exhausted (tried to allocate 14592 bytes) in /home/u9589/biointernet.ru/www/gallery2/lib/bbcode/stringparser.class.php on line 1196

http://biointernet.ru/gallery2

Gallery version = 2.1.2 core 1.1.0.2
PHP version = 5.1.6 apache
Webserver = Apache
Database = mysql 4.0.26-log, lock.system=flock
Toolkits = Exif, Getid3, Thumbnail, Gd, SquareThumb
Acceleration = none, full/900
Operating system = FreeBSD 6.1-RELEASE-p10 i386 at be55.masterhost.ru
Default theme = carbon
Locale = ru_RU
Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2007-01-01 22:47
 
egen

Joined: 2007-01-01
Posts: 2
Posted: Mon, 2007-01-01 23:54

I'm put .htaccess files with string php...... 16M into server during install, and not result, but 2.1 version working fine :((((((
may be disable some modules ? or need downgrade to previous verson?

upd: I'm try to delete some modules and temporarily disable BBCode .... wow plug-in page is present !
many thanks

 
primedomain

Joined: 2002-11-09
Posts: 115
Posted: Mon, 2007-01-01 23:43

Hello,

when viewing a photo with two sizes, the size setting gets lost when you click on "next" / "previous". Is this intended? In G1 the setting got saved during the browser session. If this is by design, any possibility to get the G1-behaviour? Currently it makes viewing an album somewhat unpractical :)

Thanks

Gallery version = 2.2-rc-1 core 1.1.26
PHP version = 4.4.4 cgi
Webserver = Apache/1.3.37 (Unix)
Database = mysqlt 4.0.25-standard, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, NetPBM, Thumbnail, Gd, SquareThumb
Acceleration = none, none
Operating system = Linux infong 2.4 #1 SMP Thu Jan 13 08:59:31 CET 2005 i686 unknown
Default theme = matrix
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.1) Gecko/20061204 Firefox Firefox/2.0.0.1
Rows in GalleryAccessMap table = 135
Rows in GalleryAccessSubscriberMap table = 7244
Rows in GalleryUser table = 10
Rows in GalleryItem table = 7241
Rows in GalleryAlbumItem table = 208
Rows in GalleryCacheMap table = 0

 
primedomain

Joined: 2002-11-09
Posts: 115
Posted: Mon, 2007-01-01 23:46
mindless wrote:
primedomain, currently we do not import rating data from G1.. sorry!

I see. Are there any plans to import them?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2007-01-02 00:31
primedomain wrote:
mindless wrote:
primedomain, currently we do not import rating data from G1.. sorry!

I see. Are there any plans to import them?

No one is working on this.. anyone is welcome to pickup this task, we can provide guidance.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2007-01-02 01:36

@egen, the culprit here is almost definitely the GD module which does image manipulation inside PHP and uses up all of PHP's allowed memory. Try a different image toolkit (like imagemagick or netpbm). Failing that, try specifyng 32M or more instead of 16M in your .htaccess file.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-01-02 04:01
primedomain wrote:
Hello,

when viewing a photo with two sizes, the size setting gets lost when you click on "next" / "previous". Is this intended? In G1 the setting got saved during the browser session. If this is by design, any possibility to get the G1-behaviour? Currently it makes viewing an album somewhat unpractical :)

Thanks

that's not a bug. g2 doesn't have this feature yet.
see:
"1259936 [G2] Remember view-size" at http://gallery.menalto.com/sfvote

 
scaturan
scaturan's picture

Joined: 2004-09-12
Posts: 1153
Posted: Tue, 2007-01-02 08:12

mp3 flash player rocks (and it even reads the ID3 tags)! plugin activation/removal is a snap, not to mention DP! the "local file" uploads is finally a module. too goodies many to list. :) thank you!

~will post if something shows up.

----------------------------------------------------------------
WordPress + Gallery 2 + WPG2 = utopia

 
Ankabout

Joined: 2005-11-07
Posts: 24
Posted: Tue, 2007-01-02 13:29

Is RC1 a beta version, or does it count as a normal safe release? If it's a release perfectly safe to install. Then I love all of you!!! haha

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-01-02 14:37

Ankabout:
From the news story:

Quote:
Gallery 2.2 RC1 is now available for download! This is the first of two release candidates before Gallery 2.2 will be complete. A release candidate helps users like you test out new features and provide feedback so that the final version has as many possible issues resolved.

It's not a stable release. It's pre-release, testing the waters to see if there are things which should be fixed before the final release of Gallery 2.2.

 
scaturan
scaturan's picture

Joined: 2004-09-12
Posts: 1153
Posted: Tue, 2007-01-02 20:28

Gallery version = 2.2-rc-1 core 1.1.26
PHP version = 5.2.0 apache
Webserver = Apache/1.3.37 (Unix)
Database = mysqlt 5.0.27-log, lock.system=flock
Toolkits = ArchiveUpload, Ffmpeg, Getid3, NetPBM, Thumbnail, Gd, ImageMagick, Exif, LinkItemToolkit, Dcraw
Acceleration = none, none
Operating system = FreeBSD 5.4
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Rows in GalleryAccessMap table = 19
Rows in GalleryAccessSubscriberMap table = 60
Rows in GalleryUser table = 2
Rows in GalleryItem table = 58
Rows in GalleryAlbumItem table = 2
Rows in GalleryCacheMap table = 0

k, here's something that i encountered: -- G2 error message:

Estimated time remaining: 6:23

Memory used: 0, total: 0

Error (ERROR_OBSOLETE_DATA) : UPDATE g2_Entity SET g_modificationTimestamp=?,g_serialNumber=? WHERE g_id=? AND g_serialNumber=? (1167769029|3|233|2)

* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 362 (GalleryCoreApi::error)
* in modules/core/classes/GalleryStorage.class at line 309 (GalleryStorageExtras::saveEntity)
* in modules/core/classes/GalleryEntity.class at line 294 (GalleryStorage::saveEntity)
* in modules/core/classes/GalleryDerivative.class at line 240 (GalleryEntity::save)
* in modules/core/ItemEditAlbum.inc at line 488 (GalleryDerivative::save)
* in ??? at line 0 (ItemEditAlbum::runRecreateResizes)
* in modules/core/classes/GalleryTemplateAdapter.class at line 914
* in /usr/home/butakal/sandbox/g2data/smarty/templates_c/%%1483020762/%%3A^3A8^3A818B59%%theme.tpl.php at line 69 (GalleryTemplateAdapter::trailer)
* in lib/smarty/Smarty.class.php at line 1258
* in modules/core/classes/GallerySmarty.class at line 61 (Smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 209 (GallerySmarty::fetch)
* in main.php at line 473 (GalleryTemplate::display)
* in main.php at line 94
* in main.php at line 83

---
the error appears only if input fields in Edit Album > Album (tab) > Resized Images > Target Size (pixels) are occupied with a value _AND_
both "Apply settings to existing items", Apply album setting to resized images, Build thumbnails too and Build resizes too are selected.
"Define picture size limit" options are all set to "no limit", and lastly, all other checkboxes on the page are not selected.

please advise, thank you.
----------------------------------------------------------------
WordPress + Gallery 2 + WPG2 = utopia

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-01-02 21:52

scaturan

i tried to reproduce the problem you report but without "success". works fine for me.
i bet if you install a fresh g2.2, it wouldn't give any error either.

for further discussions on that error, please open a new topic if you can reproduce it with a fresh g2.2.
thanks!

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2007-01-02 22:17

@scaturan: I'm guessing that you have an out of date cached entity file. Can you try deleting your entity cache? Browse to lib/support, authenticate, go to the cache page and delete the cache for "Album and Photo data" then retry this operation.

 
Ra10

Joined: 2007-01-02
Posts: 3
Posted: Tue, 2007-01-02 22:52

Hallo,
thanks to the team for the double double RC1. I have tried it out today. Upgrade from 2.1 worked smoothly. Only one major problem after installation: The sidebar from the carbon theme does not work properly, it slides out and afterward the whole page is refreshed and the sidebar vanishes. No such problem with firefox.

Regards Ralf

http://www.bahnimpressionen.de/gallery2/

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-01-02 23:05

Ra10:

thanks for the report.

So with firefox there's no problem. but with what browsers / browser version do you experience this issue? and does clearing the browser cache help?

 
scaturan
scaturan's picture

Joined: 2004-09-12
Posts: 1153
Posted: Tue, 2007-01-02 23:54

@bharat - k, will try that.. just curious - is -thats ame thing as Maintenance > System Maintenance > delete * cache tasks?

yep, i couldn't reproduce it with a fresh install of 2.2-rc1 and for some reason, the 2.1.2 -> 2.2-rc1 upgrade and the issue I posted somehow, self healed. it's a miracle! :)

----------------------------------------------------------------
WordPress + Gallery 2 + WPG2 = utopia

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-01-03 00:54

scaturan

site admin -> maintenance -> delete * cache tasks are a subset of lib/support/ -> cache management.

 
leahcim

Joined: 2005-12-06
Posts: 3
Posted: Wed, 2007-01-03 01:31
README.html wrote:
11. Photo auto-rotation based on camera sensors or on settings from other applications.

*banana dance*

Hooray! Having to manually rotate photos after uploading them was a bit of a pain.

(Now if only there was some sort of telepathy module that could automatically write photo captions too... :P)

Thanks!

-MD

--
This is not a .sig

 
primedomain

Joined: 2002-11-09
Posts: 115
Posted: Wed, 2007-01-03 02:06

Hello (again ;-) ),

I am encoutering an error when trying to resize all photos in an album.

Use this thumbnail size in all subalbums: enabled
Active Target Size (pixels): set to 400x400
Apply settings to existing items: all enabled except the rebuilding options
Define picture size limit: set to 600x600
Keep original image?: enabled
Check here to apply size limits to the pictures in this album and all subalbums: enabled
Use these size limits in all subalbums: enabled

The process starts fine, but then I get the following error:

Resizing photo

Quote:
169_6963

Memory used: 8140840, total: 100M

Error (ERROR_OBSOLETE_DATA) : UPDATE g2_Entity SET g_modificationTimestamp=?,g_serialNumber=? WHERE g_id=? AND g_serialNumber=? (1167789510|4|14131|3)

* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 362 (gallerycoreapi::error)
* in modules/core/classes/GalleryStorage.class at line 309 (gallerystorageextras::saveentity)
* in modules/core/classes/GalleryEntity.class at line 294 (mysqlstorage::saveentity)
* in modules/core/classes/GalleryDerivative.class at line 240 (gallerychildentity::save)
* in modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at line 406 (galleryderivativeimage::save)
* in modules/core/classes/GalleryCoreApi.class at line 1101 (galleryderivativehelper_advanced::remapsourceids)
* in modules/sizelimit/classes/SizeLimitHelper.class at line 152 (gallerycoreapi::remapsourceids)
* in modules/sizelimit/SizeLimitOption.inc at line 280 (sizelimithelper::buildderivativewithlimits)
* in modules/sizelimit/SizeLimitOption.inc at line 193 (sizelimitoption::_applytodescendents)
* in modules/core/ItemEdit.inc at line 155 (sizelimitoption::handlerequestafteredit)
* in ??? at line 0 (itemeditcontroller::runprogressbaroptions)
* in modules/core/classes/GalleryTemplateAdapter.class at line 914
* in /homepages/14/d67331462/htdocs/sites/gallery2store/smarty/templates_c/%%1431864673/%%3A^3A8^3A818B59%%theme.tpl.php at line 111 (gallerytemplateadapter::trailer)
* in lib/smarty/Smarty.class.php at line 1258
* in modules/core/classes/GallerySmarty.class at line 61 (smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 209 (gallerysmarty::fetch)
* in main.php at line 473 (gallerytemplate::display)
* in main.php at line 94
* in main.php at line 83

The same error occurs on other photos as well. Some albums work without any problem whatsoever.
All photos have been migrated from G1.

Any idea what's wrong here?

Gallery version = 2.2-rc-1 core 1.1.26
PHP version = 4.4.4 cgi
Webserver = Apache/1.3.37 (Unix)
Database = mysqlt 4.0.25-standard, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, NetPBM, Thumbnail, Gd, SquareThumb
Acceleration = none, none
Operating system = Linux infong 2.4 #1 SMP Thu Jan 13 08:59:31 CET 2005 i686 unknown
Default theme = matrix
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.1) Gecko/20061204 Firefox Firefox/2.0.0.1
Rows in GalleryAccessMap table = 103
Rows in GalleryAccessSubscriberMap table = 7174
Rows in GalleryUser table = 10
Rows in GalleryItem table = 7170
Rows in GalleryAlbumItem table = 202
Rows in GalleryCacheMap table = 0

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-01-03 02:41

primedomain

i've read about this error after importing from g1 a few times already.
does clearing caches help?
see:
FAQ: How can I clear cached data?

 
primedomain

Joined: 2002-11-09
Posts: 115
Posted: Wed, 2007-01-03 13:52

yes, that did the trick. :) I am not sure if it's really connected to the migration. I first tried to resize all albums in one go and encountered the above mentioned error. I then cleared the cache and retried again (all albumms). This time resizing progressed further, but stopped again on other album. I cleared again the cache and retried. I again encountered the error. Now I cleared the cache again and didn't select all albums but each subalbum under the top level. This time no error. I have the impression that cache data written by the resizing process itself caused the problem (if that makes sense).

 
Ra10

Joined: 2007-01-02
Posts: 3
Posted: Wed, 2007-01-03 22:30

Moving sidebar and IE 7: @valiant

Thanks for the quick response. I have tried to delete the browser cache (Cookies and files) IE version 7.0.5730.11 (full version, no RC) - no improvement. I have tried out IE 6 on another machine in the meantime, no such problems with IE6. Opera 8.5 works as well correctly, hence only IE 7 seems to refuse working with RC1 sidebar...

Same odd behavior when I load another page mentioned in this thread (http://biointernet.ru/gallery2).

 
RichStaff

Joined: 2006-12-31
Posts: 8
Posted: Wed, 2007-01-03 23:44

I have a new Gallery 2.2.0rc1 installation, though it was an upgrade to an empty 2.1 installation. The process of upgrading was simple, and I started loading my images into the new system, using 'Local Server' as the upload method. My gallery is organized with an album per year, with sub-albums per month and lowest level albums by photo session.

I have about 100k images to upload, so I started with the 2006 images a month at a time (about 1500 images per month in about 20 photo session subdirectories). The 2006 load went well. I then started the 2005 images, and started getting an error after the first 10 months. The error is:

***
Database Error
An error has occurred while interacting with the database.

The exact nature of database errors is not captured unless Gallery debug mode is enabled in config.php. Before seeking support for this error please enable buffered debug output and retry the operation. Look near the bottom of the lengthy debug output to find error details.
Back to the Gallery

Error Detail -
Error (ERROR_STORAGE_FAILURE)
in modules\core\classes\GalleryStorage.class at line 690 (gallerycoreapi::error)
in modules\core\classes\GalleryCoreApi.class at line 2763 (mysqlstorage::updatemapentry)
in modules\core\classes\GallerySession.class at line 358 (gallerycoreapi::updatemapentry)
in main.php at line 100 (gallerysession::save)
in main.php at line 83
System Information
Gallery version 2.2-rc-1
PHP version 4.4.0 cgi-fcgi
Webserver Apache/2.0.54 (Win32)
Database mysql 5.0.27-community-nt
Toolkits ImageMagick, Thumbnail
Operating system Windows NT HOME02 5.1 build 2600
Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727)
***

It doesn't seem to be data dependent as I can avoid the error by loading smaller groups of images, perhaps up to 100 images in 4 sub-directories. I tried enabling the php debug mode, but the amount of html in the buffer was just overwhelming my system. Even though an error is being reported, the albums appear to contain the proper images and so far I don't see any side-effects of the error.

Any ideas as to how to proceed? I've got 60k+ image still to load, and it is slow enough doing them a month at a time!

Thanks,

Rich Stafford

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2007-01-03 23:55
Ra10 wrote:
Moving sidebar and IE 7

I don't see that behavior. But that does not mean you don't see that behavior. It is just hard to diagnose without seeing the behavior.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2007-01-04 00:02
RichStaff wrote:
It doesn't seem to be data dependent as I can avoid the error by loading smaller groups of images, perhaps up to 100 images in 4 sub-directories.

Sounds to me like a memory issue.
Start a new thread if:
I have had this issue:
FAQ: I seem to be running into some sort of MySQL query limit, is there anything that can be done?
http://codex.gallery2.org/index.php/Gallery2:FAQ#PHP_memory_limit_-_Why_do_I_get_the_error_Allowed_memory_size_of_Xxx_bytes_exhausted.3F
FAQ: What information is required when I ask for help in the forums?
Start a new thread if the above does not help.

Dave
_____________________________________________
Blog & G2 || floridave @ Gallery Team || G2 Theme Contest: +$3k in Prizes!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-01-04 00:15

RA10

Please add your notes to this table on the wiki:
http://codex.gallery2.org/index.php/Gallery2:Test_Matrix#2.2_Browser_Compatibility_Testing

Thanks!

 
kunghe

Joined: 2007-01-02
Posts: 6
Posted: Thu, 2007-01-04 11:03

hi,

Long time ago,I installed Gallery 2.1 and I could use download software to download pic in my gallery .. so in this version ,it's protected from software (eg: downloader ,pichunter ,..) ??? please,I want to anti download ... can I help me !

thanks.

 
RichStaff

Joined: 2006-12-31
Posts: 8
Posted: Thu, 2007-01-04 15:06

floridave:

Thanks for the points. I am running this on my own server, with a local copy of MySql, so I didn't think a query limit was the issue. For other reasons, I had already set my php.ini memory_limit up to 96m. I managed to get the php debug working, by sending output to a file instead of the local window.

It looks like a request to update a table is failing with a column limit exceeded, with some pretty strange stuff going into the g2_sessionMap table, in the g_data column. I posted more details over in the standard Gallery2 trouble-shooting forum.

Thanks,

Rich

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2007-01-04 15:57

kunghe Please start a new topic with a bit more details and a user story. I don't understand what you mean when you say:

Quote:
(eg: downloader ,pichunter ,..) ??? please,I want to anti download

Dave

 
primedomain

Joined: 2002-11-09
Posts: 115
Posted: Thu, 2007-01-04 21:22

while playing around a little bit more, I noticed sth strange: I removed via gallery2/lib/support/ all thumbnails and resizes. When browsing the albums, it takes of course longer to load the images. So far so normal. However, this doesn't quite work in IE7.0 In Firefox 2.0.0.1 loading takes longer, but eventually images do show up. In IE7, some images get loaded, some don't (appearing with a "red cross"). When hitting refresh, the "missing" images do get loaded. This happens on all views, even on my random image block. Sometimes none out of 2 (or 3) random image block files display.

Looks to me that FF "waits longer" before indicating a missing image than IE7 does. Interestingly the problem occurs with Opera too, but to a less dramatic extent.

Does that make sense that it's browser dependant?

Thanks.

Edit: just found out that it's apparently related to the Locking System setting. The problem doesn't occur anymore with the file locking system (had this originally, but had switched to database because I had some errors during some gallery wide testing operations)

Gallery version = 2.2-rc-1 core 1.1.26
PHP version = 4.4.4 cgi
Webserver = Apache/1.3.37 (Unix)
Database = mysqlt 4.0.25-standard, lock.system=database
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, NetPBM, Thumbnail, Gd, SquareThumb
Acceleration = partial/21600, partial/21600
Operating system = Linux infong 2.4 #1 SMP Thu Jan 13 08:59:31 CET 2005 i686 unknown
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.1) Gecko/20061204 Firefox Firefox/2.0.0.1
Rows in GalleryAccessMap table = 111
Rows in GalleryAccessSubscriberMap table = 7169
Rows in GalleryUser table = 10
Rows in GalleryItem table = 7165
Rows in GalleryAlbumItem table = 201
Rows in GalleryCacheMap table = 15

 
eliasgruber

Joined: 2006-02-07
Posts: 45
Posted: Thu, 2007-01-04 23:55

hi,

i love the dynamic albums, i have been waiting hard for them the last months!!!!!!! thanks a lot!!!!!!!!

one thing as i did the upgrade: i lost all my descriptions and text in the database during the automatic convertion to UTF8 while executing the upgrade. all text behind "ä", "ü", "ö" and "ß" was lost!!! god bless i made a database-backup before!!! so i was able to transfer all the text-data (prev. latin-1) back to the new database :-)

now everything is working fine!!! would be nice to have a possibility to overtake keywords to the database even if the pics are alrady imported, in case i change the exif-data afterwards. now i think it's only possible during upload, am i righ?

it would be also fine, if keyword-albums are only showing the pics from the actual album and these subalbums and not from all the gallery, but maybe i configured something wrong?

finally i would say that you did a REALLY GREAT JOB whith this release, thanks a lot...this gallery is exactly what i was waiting for years before :-)

greetings idefix.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-01-05 01:17

eliasgruber

if you have a backup that we could use for debugging / diagnosing, please report it at:
http://sourceforge.net/tracker/index.php?func=detail&aid=1593272&group_id=7130&atid=107130

yes, exif/iptc keywords are only read on item add time.

and thanks for the kind words :)

 
Ankabout

Joined: 2005-11-07
Posts: 24
Posted: Fri, 2007-01-05 07:29

I installed 2.2RC1 and it worked brilliantly. So I guess there's nothing useful I can add to this thread... Just wanted to express my happiness in 2.2 being released.

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Fri, 2007-01-05 09:54

I tried to install the new version, but got an error at database setup. (Stage 5).
I assumed this was because my son had set up the MTSQL on his own computer.

Reading this thread I just wonder now if it might be something you can help with.

>>
Warning: mtsql_connect():can't connect to local MTSQL server through socket '/var/lib/mysql/mysql.sock' (2)in hshpere/local/home/tekuiti-nz.com/gallery2.2+RC1/gallery2/lib/adobd/drivers/adobd=mysql.inc.php on line 358 local host: Can't connect to local mysql server through '/var/lib/mysql/mysql.sock' (2)
<<

Does this just mean that it needs to be donr on my son's computer which I think he has set up as a server.?

And does that mean that any time I want to do an update or installation I am going to have to ask him to do it. (and wait till it reaches the top of his priorities list)

Gaynor

 
hemsoe

Joined: 2004-09-09
Posts: 38
Posted: Fri, 2007-01-05 11:36

Hi....

I have tried to conf the "AddViaEmail" module... But I can't make it work.

Is here anyone tried to Conf that module..???

/hemsoe

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-01-05 13:36

hemsoe

the addviaemail module is a non official module.
please create a new forum topic in the support -> "3rd party modules and themes" forum.

gaynormcc

did you type the above by hand? else i wouldn't know why it is "mtsql" instead of "mysql".
also, please check:
FAQ: How can I make sure that my installation files are all intact?

-------------------------
Enter the Gallery 2 Theme Contest today!

 
AlexWilson

Joined: 2007-01-07
Posts: 1
Posted: Sun, 2007-01-07 00:24

Just installed 2.2, loving it so far!
I started the install after running the preinstall.php option. It looked like it was working, but I noticed the installer version number in the header was 2.1... I was unsure if the preinstall had grabbed the right file. I ended up grabbing the 2.2 RC file myself, renaming it is gallery2.tar.gz, and then continuing the preinstall. Worked fine, but when the installer ran, the version number was still 2.1... When it finished 2.2 was installed, so I was using the right file.
You might want to update the installer to display version to 2.2, and putting a build number in it might also be helpful. Having the preinstaller also be a bit more explicit about the version it's downloading might also avoid confusion.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-01-07 00:42

the preinstaller defaults to g2.1.2 since that's the latest stable release.
the preinstaller has an option where you can select the latest nightly snapshot or the latest release candidate, both of which should give you g2.2 rc1 (or svn) right now.

----------------
Enter the Gallery 2 Theme Contest today!

 
twu2

Joined: 2005-10-12
Posts: 7
Posted: Sun, 2007-01-07 12:30
--- GalleryRemote.inc.orig      2006-12-20 08:24:57.000000000 +0800
+++ GalleryRemote.inc   2007-01-07 19:58:46.816364538 +0800
@@ -68,6 +68,7 @@
        global $gallery;
        $session =& $gallery->getSession();

+       GalleryUtilities::unsanitizeInputValues($form, false);
        $start = array_sum(explode(' ', microtime()));

        $status = $error = array();

This patch let GalleryRemote can create correct Chinese title for album. (without this, the Chinese string will convert to and display like &#xxxx;...

This bug exist since Gallery 2.1: http://gallery.menalto.com/node/54574

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-01-07 13:37

twu2

Thanks for reporting!
Can you please file an offical bug at http://sf.net/projects/gallery/ -> trackers -> bugs. And I'll make sure that the right people will take care of it.

--------------
Enter the Gallery 2 Theme Contest today!

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Sun, 2007-01-07 14:27
valiant wrote:
gaynormcc

did you type the above by hand? else i wouldn't know why it is "mtsql" instead of "mysql".
also, please check:
FAQ: How can I make sure that my installation files are all intact?
------

Yes I couldn't copy from the error message. And yes I made a mistake, sorry.

I;ll check the codex now.
Thanks.

Gaynor

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Sun, 2007-01-07 14:49
valiant wrote:
gaynormcc

did you type the above by hand? else i wouldn't know why it is "mtsql" instead of "mysql".
also, please check:
FAQ: How can I make sure that my installation files are all intact?

It says go to http://www.example.com/gallery/install/index.php
but that page won;t open

Gaynor

 
FransL

Joined: 2006-02-25
Posts: 3
Posted: Sun, 2007-01-07 16:55

The upgrade to 2.2RC1 went OK however ..

We can access Gallery but only as 'guest'. I cannot login nor can any other admin or user. When we login no (web) page can be accessed for about a minute thereafter we can access Gallery again but only as 'guest'.