Gallery 2.1 RC 2 Feedback Topic

Continental

Joined: 2004-06-14
Posts: 243
Posted: Fri, 2006-03-17 17:11

Again about UTF-8. May be it's already fixed (as it said above) but I installed fresh RC-2a to mysql base with latin_swedish1 by default.

All tables became UTF-8, but those TWO:
_SequenceId
_SequenceLock were latin1! I changed all database to UTF-8, and run installer againg with empting all my tables.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-03-17 17:57

gietl, try reuploading GallerySession.class

 
gietl

Joined: 2006-02-23
Posts: 12
Posted: Fri, 2006-03-17 18:08

Downloaded ANOTHER fresh copy of the zip, uploaded the class...same thing. I have been down this road a half dozen times. I mean I was able to do the upgrade with my work around, which should work for others.

I'm just trying to help out as best I can. I wish i had more time to debug.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-03-17 19:10
 
gietl

Joined: 2006-02-23
Posts: 12
Posted: Fri, 2006-03-17 19:31

haha, yeah, got that one already. I'm done with this topic, I got it working, I will live with it until for the time being. I was trying to help others with the same problem since no one else offered a viable workaround or solution. As I stated before, the FAQ is good, but is not the ultimate answer.

Just to throw a link back, according to the installation requirements there is no mention of a specific version of zend optimizer. http://codex.gallery2.org/index.php/Gallery2:Installation_Requirements

I still love my G2 for now, I really do appreciate the help. I have been a gallery user for the last 4+ years and reccommend it to everyone. So no hard feelings if I balk ot some of the responses I get. :)

On a side note about upgrading zend optimizer, if you have a good host, they will do it, but not until they ensure it wont cause problems for other users. If you are requesting it, especially for a RC they will probably be hesitant to do it. My host has already offered to do it once they ensure that there are no negative side effects, but there will always be the constant remarks of developers saying it's the user or their host, then the host says it's the software/developers.

 
toastmaster

Joined: 2003-05-01
Posts: 219
Posted: Fri, 2006-03-17 21:09

Last night's build (first time I tried doing this, so it might have always been like this)...
If you click the link to download the generated htaccess file in the migration tool ie:

/wp-gallery2.php?g2_view=migrate.Redirect
gallery/main.php?g2_view=migrate.Redirect

it says: <b>Fatal error</b>: Call to undefined method GalleryCoreApi::relativerequireonce() in <b>/home/mysite/public_html/gallery/modules/migrate/Redirect.inc</b> on line <b>176</b><br />

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2006-03-18 03:26

Fixed in CVS, thanks! (relativeRequireOnce->requireOnce)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2006-03-18 10:06

toastmaster

it's too late for such changes and they are considered low priority or not reproducible.

G1>G2 migration rewrites
Multiple rewrite options clash
"Other modules provide thumbnail support"

no. -> discussed elsewhere and no need to discuss it here.
no. -> low priority
no. -> user action required (provide debug information)

no need to discuss these issues in the rc2 topic. we should keep this on topic.
thanks for your understanding.

 
toastmaster

Joined: 2003-05-01
Posts: 219
Posted: Sat, 2006-03-18 23:05

Just two little things

* When viewing a non-image (such as ppt or swf) the link to "full size" does not display size, but rather
%dx% or 0x0 etc.
BTW, should the inbuilt player for wmv work, or is that broken? It shows the player, but the video doesn't play. If clicking the "full size" link, then it plays. Is there any way to go straight to full size popup window if the inbuilt player doesn't work?

* When manipulating anything in an album (add items, edit album etc), the "return to album" link then disappears.

Gallery version = 2.1-rc-2a core 1.0.34
PHP version = 5.1.2 cgi
Webserver = Apache/1.3.34 (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 mod_ssl/2.8.25 OpenSSL/0.9.7a PHP-CGI/0.1b
Database = mysql 4.1.14-standard, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, NetPBM, SquareThumb, Thumbnail, Gd, Dcraw, Ffmpeg, ImageMagick
Acceleration = full/86400, full/86400

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2006-03-19 07:27

toastmaster:

swf:
can't reproduce.
please open a new topic in the support forums and post the exact steps to reproduce.
also post in that new topic what theme you are using.
when adding a swf and browsing to it, there's no fullsize link and it doesn't show the dimensions. if you then set the dimensions of the animation, it shows the dimensions, but there's no fullsize link.
maybe you mean siriux?

 
darren1234
darren1234's picture

Joined: 2005-06-04
Posts: 13
Posted: Sun, 2006-03-19 08:25

Anyone having troubles with the image voting module?

Mine seems to be inconsistantly ava (still on 2.1 RC-1b), but I don't recall that module changing recently either.

Problem: I have nested albums and want voting on all sub-albums. Permisions allow everyone to vote, and voting is enabled on the parent album and set to apply for sub-albums. Making this change does not turn on voting for all albums under the parent. Adding a new album does not inherit the sub-album setting.

An album can have the proper permissions, the voting option enabled, and still not activate the voting module?!? When I log in as an administrator, the voting options appear, but as a guest (even with "everyone" permissions) the module is disabled.

Anyone else experiencing this?

Gallery version = 2.1-rc-1b core 1.0.30
PHP version = 4.4.1-pl3-gentoo apache2handler
Webserver = Apache
Database = mysql 4.0.22
Toolkits = ArchiveUpload, Gd, NetPBM, Exif, Thumbnail
Acceleration = none, none
Operating system = Linux 2.6.9-gentoo-r9 #1 SMP Mon Dec 13 10:41:39 PST 2004 i686
Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

 
darren1234
darren1234's picture

Joined: 2005-06-04
Posts: 13
Posted: Sun, 2006-03-19 08:40

New problem when I created new album, uploaded a few images, deleted all images in the new album, added images again. Clicking on an image as a guest resulted in the following error message.

Quote:
Error (ERROR_MISSING_OBJECT) :

* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1843 (gallerycoreapi::error)
* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 109 (gallerystorageextras::_identifyentities)
* in modules/core/classes/GalleryStorage.class at line 293 (gallerystorageextras::loadentities)
* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 82 (mysqlstorage::loadentities)
* in modules/core/classes/GalleryCoreApi.class at line 2380 (galleryentityhelper_simple::loadentitiesbyid)
* in modules/core/classes/GalleryView.class at line 379 (gallerycoreapi::loadentitiesbyid)
* in modules/core/ShowItem.inc at line 119 (galleryview::_getitem)
* in modules/core/classes/GalleryView.class at line 273 (showitemview::_getitem)
* in main.php at line 386 (showitemview::doloadtemplate)
* in main.php at line 87
* in main.php at line 80

Logging in I can see all the photos and click on them, but the guest account consistantly results in the above error message.

Another odd behavior is that it only shows 4 thumbnails out of 43 images. If your logged in, then all 43 are displayed???

 
toastmaster

Joined: 2003-05-01
Posts: 219
Posted: Sun, 2006-03-19 08:59
valiant wrote:
toastmaster:
swf:
can't reproduce.
when adding a swf and browsing to it, there's no fullsize link and it doesn't show the dimensions.

I'll kick myself now! So many times before, when I had spotted something, I had posted on the wpg2 or vslider theme support pages, and I was getting the idea that these things didn't manipulate the data, just displayed it in a different way.
However, when I change the theme to matrix, the "fullsize" link stops being a link, and says a word instead of a number. I'll go and tell 'em! But swf doesn't show the movie, you can only hear the sound in any theme. I'll download last night's build and try again.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2006-03-19 09:00

darren1234:
clear your browser cache. if the problem persists, please create a new forum topic in the support forum and provide very detailed and exact steps to reproduce the issue.
thanks.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2006-03-19 09:02

toastmaster
please post swf related issues to the support forums. it's not a real issue, just your settings. thanks.

 
toastmaster

Joined: 2003-05-01
Posts: 219
Posted: Sun, 2006-03-19 10:35

Ok then, got a very real real issue for you :)
Reported a while back, but still happening on last nights (19/03) build, setting "embedded only" still gives the following error (just trying to prevent people directly accessing my gallery)

Security Violation

The action you attempted is not permitted.

Back to the Gallery
Error Detail -
Error (ERROR_PERMISSION_DENIED)

* in main.php at line 312 (GalleryCoreApi::error)
* in main.php at line 87
* in main.php at line 80

System Information
Gallery version 2.1-rc-2a
PHP version 5.1.2 cgi
Webserver Apache/1.3.34 (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 mod_ssl/2.8.25 OpenSSL/0.9.7a PHP-CGI/0.1b
Database mysql 4.1.14-standard
Toolkits SquareThumb, ImageMagick, NetPBM, Gd

 
bruma
bruma's picture

Joined: 2004-06-08
Posts: 6
Posted: Sun, 2006-03-19 13:05

Segmentation faults in 2.1-RC-2a

I have successfully install gallery-2.1-rc-2a, but when I go to gallery 1. page, my browser offers me "Save page" dialog box for main.php. I checked httpd error log and I notice that I'm getting "Segmentation fault" errors.

from /var/log/httpd/error_log
[notice] child pid 5120 exit signal Segmentation fault (11)

Version gallery-2.1-rc-1a is (was) working Ok on my system.

Gallery version = 2.1-rc-1a core 1.0.28
PHP version = 4.3.8 apache2handler
Webserver = Apache/2.0.54 (Unix) PHP/4.3.8 mod_ssl/2.0.54 OpenSSL/0.9.7a DAV/2 SVN/1.2.1
Database = mysql 4.1.9-standard
Toolkits = ArchiveUpload, Exif, Ffmpeg, Getid3, NetPBM, SquareThumb, Thumbnail, Gd
Operating system = Linux guliver 2.6.10layer7 #3 Fri Jan 21 13:55:42 CET 2005 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

Any thoughts what could be wrong?

 
Maehmann

Joined: 2005-12-25
Posts: 19
Posted: Sun, 2006-03-19 13:28

Hey folks.

I've got a really strange problem. I don't know if it's a RC2 specific Problem :(

I added two new pictures today. The view counter doesn't update for these pictures, nor for the album they're in.

http://gallery.freizeitgeek.net/v/black_white/ ... the first two pictures are the bad ones.

My systeminfo:
Gallery-Version = 2.1-rc-2a Kern 1.0.34
PHP-Version = 4.4.0-pl1-gentoo apache2handler
Webserver = Apache
Datenbank = mysql 4.1.14-log, lock.system=flock
Werkzeuge = ArchiveUpload, Gd, ImageMagick, NetPBM, SquareThumb
Beschleunigung = none, none
Betriebssystem = Linux quaternion 2.6.11-gentoo-r6 #1 Fri Apr 22 14:17:10 CEST 2005 i686
Standard-Motiv = PGtheme
Locale = de_DE
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2006-03-19 15:45

bruma

something with your setup. cannot be generalized to g2.1.
suggestions: install g2 but without any modules (skip the module step in the installer).
please create a new forum topic in the support forum and reply there.
thanks

 
darren1234
darren1234's picture

Joined: 2005-06-04
Posts: 13
Posted: Sun, 2006-03-19 15:48

valiant:

That did work - thanks.

It was a very late night and I did not think to try that. Any idea why the browser cache gets messed up so badly? Is gallery contributing to the problem? It was so messed up that logging in and clicking on a link would show I was no longer logged in... until i attempted to login again then then it realized the problem but strange things were happening.

Both problems have gone away.

 
wschmidt

Joined: 2006-03-19
Posts: 3
Posted: Sun, 2006-03-19 23:28

I'm new to Gallery.

My installation:
Gallery version 2.1-rc-2a
PHP version 5.1.2-1.dotdeb.2 apache2handler
Webserver Apache/2.0.54 (Debian GNU/Linux) mod_jk2/2.0.4 PHP/5.1.2-1.dotdeb.2
Database mysqlt 5.0.18-Debian_3.dotdeb.1-log
Toolkits ImageMagick, SquareThumb, NetPBM, Gd
Operating system Linux XXXXXXX X2.6.8-2-686 #1 Tue Aug 16 13:22:48 UTC 2005 i686

Configuration: New user has to be confirmed by the administrator.
Problem: incorrect encoding of URL sent by e-mail.

http://X.X.X.X/x/gallery/main.php?g2_view=core.SiteAdmin&amp;g2_subView=register.AdminSelfRegistration&amp;g2_navId=x3ec1f707

The "&amp;" shouel be "&".

 
wschmidt

Joined: 2006-03-19
Posts: 3
Posted: Sun, 2006-03-19 23:30

Problem 2:
I would expect to be redirected to the login page, if I'm not already logged in but htis is a minor quirk.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2006-03-20 04:19

wschmidt, SiteAdmin url in admin email is fixed in CVS. thanks!

 
wschmidt

Joined: 2006-03-19
Posts: 3
Posted: Mon, 2006-03-20 04:37

What really drives me crazy ist that gallery seems umable to remeber
the image size I just selected. It resets it on every picture.

 
miner

Joined: 2006-03-20
Posts: 16
Posted: Mon, 2006-03-20 05:59

Don't know if this is a problem with G2, but it definately is with G2.1-rc2a.

Enabling Watermarking for hotlinks installs faulty mod_rewrite code when used with URL Rewrite turned on for downloads:

      RewriteCond %{QUERY_STRING} view=core.DownloadItem
      RewriteCond %{QUERY_STRING} itemId=([0-9]+)
        RewriteCond %{HTTP_REFERER} !://photos.jjminer.org/ [NC]
        RewriteCond %{HTTP_REFERER} !^$
      RewriteRule .   /g2/main.php?g2_view=watermark.DownloadItem&g2_itemId=%1   [L]

Changing it to:

    RewriteCond %{THE_REQUEST} \ /g2/d/([0-9]+)-([0-9]+)/([^\/\?]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !/g2/main\.php$
    RewriteCond %{HTTP_REFERER} !://photos.jjminer.org/ [NC]
    RewriteCond %{HTTP_REFERER} !^$
    RewriteRule .   /g2/main.php?g2_view=watermark.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileNa
me=%3   [L]

Fixes it.

There's probably a "better way", but I don't know that much about mod_rewrite. I presume that moving it below the line that handles the URL Rewriting:

    RewriteCond %{THE_REQUEST} \ /g2/d/([0-9]+)-([0-9]+)/([^\/\?]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !/g2/main\.php$
    RewriteRule .   /g2/main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileName=%3
   [QSA,L]

Would somehow fix it, but it's not quite that simple. The mod_rewrite documentation leads me to think that the "L" ("Last Rule") is incorrect, but like I said, I don't konw that much about mod_rewrite.

jon

 
miner

Joined: 2006-03-20
Posts: 16
Posted: Mon, 2006-03-20 06:12

Another problem in G2.1-rc2a:
When a link is created, the only image size available is full size and nothing else is visible.

Version:

Gallery version = 2.1-rc-2a core 1.0.34
PHP version = 5.1.2 apache2handler
Webserver = Apache/2.2.0
Database = mysql 4.1.12, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, NetPBM, SquareThumb, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux speed.doit.wisc.edu 2.6.9-34.EL #1 Fri Feb 24 16:44:51 EST 2006 i686
Default theme = matrix
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060214 Camino/1.0 

jon

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-03-20 06:34
wschmidt wrote:
What really drives me crazy ist that gallery seems umable to remeber
the image size I just selected. It resets it on every picture.

that's what it does right now. there's a corresponding feature request on the http://gallery.menalto.com/sfvote/all page. please don't discuss such things here. this thread is meant for reporting RC2 bugs / issues. thanks.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-03-20 06:57

miner

great feedback, thanks.
@rewrite: our rewrite developer will take a look at it.
@linked items:
darn, that's a bug. i can reproduce it. thanks!
bug filed at http://sourceforge.net/tracker/index.php?func=detail&aid=1454263&group_id=7130&atid=107130 .

 
zhman

Joined: 2006-03-20
Posts: 2
Posted: Mon, 2006-03-20 14:01

I've just upgraded my gallery from version 2.0.2.
Everything is ok, but all multibyte characters become unrecognizable.
The database may be ok, because it is correct when I recovered everything.
What problem is it??

 
oko

Joined: 2006-01-30
Posts: 5
Posted: Mon, 2006-03-20 14:25

i just got a chance to play around with the Floatrix theme in the latest CVS version of Gallery2.1 . I noticed the "top nav" bar suffers from one of the dreaded IE bugs that plagues a lot of HTML done solely with div's and span's for the layout, specifically what i saw was a "random" display of the "top nav" bar.

The "top nav" bar is not visible on frist load but if you mouse around the "top nav" area, the bar magically begins to appear again.
I have not gotten a chance to look into this too much, but i think it is a bug with MS's "hasLayout" CSS property and its bearing on rendering.

Here is a nice resource i found for further information on the possible causes of hasLayout IE bugs .

http://www.satzansatz.de/cssd/onhavinglayout.html

Gallery version = 2.1-rc-2a core 1.0.34 
PHP version = 4.4.2 apache2handler 
Webserver = Apache/2.0.55 (Win32) PHP/4.4.2 
Database = mysql 5.0.19-community-log, lock.system=database 
Toolkits = Exif, ImageMagick, Thumbnail, SquareThumb, Gd 
Acceleration = none, none 
Operating system = Windows NT LOUDSILVER 5.1 build 2600 
Default theme = floatrix 
Locale = en_US 
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) 


 
miner

Joined: 2006-03-20
Posts: 16
Posted: Mon, 2006-03-20 16:24

(Uh oh, Feature Request..)

One more thing occurs to me.. The "Watermark Hotlinks" should probably have an option to say "Watermark Direct Links" so that even if someone bookmarks a file (HTTP_REFERER is null) it will be watermarked.

jon

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-03-20 16:42

zhman

please create a new forum topic in the support forums and provide exact details about your installation, mysql server version, if it has changed since your original g2 intallation, what the multibyte issues are, a link to your g2 etc etc.
please do not reply here since the topic is too large to handle it here.
thanks.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-03-20 16:45

oko

thanks for the feedback, I've informed thumb, the author and maintainer of the floatrix module.

 
johnmont

Joined: 2006-03-20
Posts: 17
Posted: Mon, 2006-03-20 20:14

I'm having some problems with image and URL paths under 2.1RC2a. Image links, css, etc. are not being returned correctly...they end up being relative to the embedded file and not the gallery install. I know there are some embed changes in this version, so let me list what I have:

My embeded .php file can be found at: /forums/gallery.php
So the URL is http://www.mysite.com/forums/gallery.php

My gallery install can be found at: /gallery/
So the URL is http://www.mysite.com/gallery/main.php

=====
in embed gallery.php
=====

$ret = GalleryEmbed::init(array('embedUri' => '/forums/gallery.php', 'g2Uri' => '/gallery/','loginRedirect' => 'index.php','activeUserId' => $uid));

===================
html I get back from the embed:
===================

The gallery logo comes back as:
http://www.mysite.comimages/galleryLogo_sm.gif
(not http://www.mysite.com/gallery/images/galleryLogo_sm.gif)

Images come back as:
http://www.mysite.commain.php/?gd_view=core.Downloaditem.....etc etc
(not http://www.mysite.com/gallery/main.php/?gd_view=core.Downloaditem.....etc etc)

 
pelle
pelle's picture

Joined: 2004-12-10
Posts: 389
Posted: Tue, 2006-03-21 10:56

miner:

@RFE: If you look at the Setup tab you'll notice a checkbox that allows you to make empty referers non-friendly (it's checked by default).

@[L]: Last rule is correct, it means that mod_rewrite stops processing any rewriting at this point (but!) the new URL triggers a subrequest which mod_rewrite parses once more. This is useful because we don't want to watermark only short style URLs (/d/...) but all (main.php?... too). Hence the rewrite rule is checking the querystring - not the URL.

@RewriteRule: Can you please elaborate on how to reproduce. As far as I've tested there's nothing wrong with it.

 
miner

Joined: 2006-03-20
Posts: 16
Posted: Tue, 2006-03-21 12:56

pelle:

I don't know. It happens to me every time. mod_rewrite log for the default configuration (rewrite_log.default) and my change (rewrite_log.miner) are attached.

"default" rule:

      RewriteCond %{QUERY_STRING} view=core.DownloadItem
      RewriteCond %{QUERY_STRING} itemId=([0-9]+)
        RewriteCond %{HTTP_REFERER} !://photos.jjminer.org/ [NC]
        RewriteRule .   /g2/main.php?g2_view=watermark.DownloadItem&g2_itemId=%1   [L]

"miner" rule:

    RewriteCond %{THE_REQUEST} \ /g2/d/([0-9]+)-([0-9]+)/([^\/\?]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !/g2/main\.php$
        RewriteCond %{HTTP_REFERER} !://photos.jjminer.org/ [NC]
    RewriteRule .  /g2/main.php?g2_view=watermark.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_f
ileName=%3 [L]

jon

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2006-03-21 21:56

johnmont

please open a topic in the support forums, that's not a rc 2 bug / issue. just a support questions. thanks.

 
JackOeder

Joined: 2006-03-22
Posts: 1
Posted: Wed, 2006-03-22 03:00

Hi!

SOLVED:
I had the wrong number of publish_xp, v. 1.0.3 works!

POST CAN BE DELETED

I've installed Gallery 2.1 RC 2 successfully!
But Publish XP Mod doesn't work! It says, the module isn't compatible as my version is "too" new!
Is there any update? Or do I have to use 2.0.4???
Thanks!

 
alche

Joined: 2006-03-22
Posts: 1
Posted: Wed, 2006-03-22 03:19

Attempting to install 2.1 RC2a and the latest nightly build. Keep getting a variety of install problems. With the nightly build, I can successfully make it to Step 9 of the install before I get the following error:
Fatal error: Call to undefined method GalleryUser::resetOriginalValues() in /var/www/other/lintburger/gallery2/modules/core/classes/GalleryStorage/GalleryStorageExtras.class on line 210

These call to "undefined method" errors have been plaguing me. I was successfully running 2.1rc1 and then out of nowhere they system started producing undefined method errors of one strip or another depending on which page I was trying to access.

I decided a clean install was the best medicine, so I opted for rc2 and the latest nightly build.

Running under apache 2.055, php5.0.5-pl5-gentoo, mysql 5.018 on a gentoo linux (2.6.14) server, brand new hardware.

Any ideas?

 
pelle
pelle's picture

Joined: 2004-12-10
Posts: 389
Posted: Wed, 2006-03-22 09:03

miner: It looks like you have censored the real path to your Gallery, so the logs are worthless from my perspective. I need the full logs to be able to tell anything from them. But, it would be best if you walk me through the steps of actions you take trying to get watermarks on hotlinked items and what methods you use to test it.

 
Epee

Joined: 2006-03-23
Posts: 1
Posted: Thu, 2006-03-23 11:23

Hello all,

here are my issues:

1.) Besides having created the database with UTF8 an choosing german as language, I cannot name an Album f.e "Lübeck". Gallery tells me that my name contains invalid characters. Which obviously is the "ü" this time

2.) I got three times a database lock timeout. First when I changed the properties of the classic theme (could not reproduce this error), a second time when I deleted an previously via "Gallery Webserver" imported album with lots of subalbums and short of 1000 images. The locktimeout upon deletion is reproducable.

Here is the error message I got:

Error

An error has occurred.

Back to the Gallery
Error Detail -
Error (ERROR_LOCK_TIMEOUT)

* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1767 (gallerycoreapi::error)
* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 674 (gallerystorageextras::_getlockclearance)
* in modules/core/classes/GalleryStorage.class at line 375 (gallerystorageextras::acquirewritelock)
* in modules/core/classes/DatabaseLockSystem.class at line 47 (postgresqlstorage::acquirewritelock)
* in modules/core/classes/GalleryLockSystem.class at line 153 (databaselocksystem::_acquirelock)
* in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 185 (databaselocksystem::acquirewritelock)
* in modules/core/classes/GalleryCoreApi.class at line 2306 (gallerylockhelper_simple::acquirewritelock)
* in modules/core/classes/helpers/GalleryEntityHelper_medium.class at line 52 (gallerycoreapi::acquirewritelock)
* in modules/core/classes/GalleryCoreApi.class at line 2393 (galleryentityhelper_medium::deleteentitybyid)
* in modules/core/ItemDelete.inc at line 86 (gallerycoreapi::deleteentitybyid)
* in main.php at line 199 (itemdeletecontroller::handlerequest)
* in main.php at line 87
* in main.php at line 80

System Information
Gallery version 2.1-rc-2a
PHP version 4.4.2-gentoo apache2handler
Webserver Apache
Database postgres7
Toolkits SquareThumb, ImageMagick, NetPBM, Gd
Operating system Linux drachentor 2.6.15.6 #3 SMP Wed Mar 22 18:51:40 CET 2006 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.2; de-DE; rv:1.7.6) Gecko/20050321 Firefox/1.0.2

In fact, Database is postres 8.1.3 and despite this message, deletion is accomplished. Maybe I should be fair to say that this hardware is an rather old Dual PII-350 with 512MB Ram. But hey, it's just me and very few freinds accessing it and it imported the images and created the thumbnails perfectly, so deleting should not be the problem.

 
twu2

Joined: 2005-10-12
Posts: 7
Posted: Thu, 2006-03-23 14:56

If use Gallery Remote to create a new album with Chinese name, Gallery Remote will convert Chinese string to UTF-8 code, like &#nnnnn;, but when the data post to Gallery remote module, it will convert & to &amp; again, so the wrong string data will store into database.

We should convert it back again, call unsanitizeInputValues() in function handleRequest().

--- modules/remote/GalleryRemote.inc.orig	2006-03-21 17:27:06.717001028 +0800
+++ modules/remote/GalleryRemote.inc	2006-03-21 18:16:00.940218189 +0800
@@ -73,6 +73,7 @@
     function handleRequest($form) {
 	global $gallery;
 
+	GalleryUtilities::unsanitizeInputValues($form, false);
 	$start = array_sum(explode(' ', microtime()));
 
 	$status = $error = array();

I submit this patch here: http://sourceforge.net/tracker/index.php?func=detail&aid=1455284&group_id=7130&atid=307130

 
boomdijk

Joined: 2003-11-10
Posts: 20
Posted: Thu, 2006-03-23 16:35

Okay problem here. I had Gallery 2.0 working here, but i cleaned out everything and installed 2..1-rc2a. But when you go to a old link you get:

Error
Error (ERROR_MISSING_OBJECT) :
in modules\core\classes\helpers\GalleryFileSystemEntityHelper_simple.class at line 119 (gallerycoreapi::error)
in modules\core\classes\GalleryCoreApi.class at line 1940 (galleryfilesystementityhelper_simple::fetchchildidbypathcomponent)
in modules\core\classes\helpers\GalleryFileSystemEntityHelper_simple.class at line 64 (gallerycoreapi::fetchchildidbypathcomponent)
in modules\core\classes\GalleryCoreApi.class at line 1883 (galleryfilesystementityhelper_simple::fetchitemidbypath)
in modules\rewrite\classes\RewriteSimpleHelper.class at line 50 (gallerycoreapi::fetchitemidbypath)
in ??? at line 0 (rewritesimplehelper::loaditemidfrompath)
in modules\rewrite\classes\RewriteUrlGenerator.class at line 98
in modules\rewrite\classes\parsers\modrewrite\ModRewriteUrlGenerator.class at line 50 (modrewriteurlgenerator::_onload)
in init.inc at line 113 (modrewriteurlgenerator::init)
in main.php at line 73

And no 404 page... What can i do?

Here is my system info:

Gallery version = 2.1-rc-2a core 1.0.34
PHP version = 4.3.6 apache2handler
Webserver = Apache/2.0.49 (Win32) PHP/4.3.6
Database = mysql 4.0.18-max-nt, lock.system=flock
Toolkits = Exif, Ffmpeg, ImageMagick, SquareThumb, Thumbnail, Gd
Acceleration = none, none
Operating system = Windows NT TRANTOR 5.1 build 2600
Default theme = matrix
Locale = en_GB
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

http://foto.boomdijk.nlThe good
http://foto.boomdijk.nl/v/stuff/album05/Klipperweek-thuisblijvThe bad

 
thumb
thumb's picture

Joined: 2004-05-26
Posts: 238
Posted: Thu, 2006-03-23 20:48

oko, thanks for the heads up on the CSS issues. They should be corrected before the final release of 2.1.

 
edalzell

Joined: 2003-04-06
Posts: 14
Posted: Fri, 2006-03-24 06:27

When I upgraded to 2.1 from 2.0.4, I apparently had two modules that weren't compatible (geturls and updates). The problem was that I foolishly didn't backup my old gallery2 directory. This meant I couldn't revert to an older version and I couldn't go forward.

My suggestion would be that the upgrader allow the user two options when this situation arises:
1) revert back to previous version fully. This means that the next time the user access the gallery, there is no upgrade page
2) disable the modules and continue the installation.

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Fri, 2006-03-24 06:41

I did the following sql query for all the modules and I didn't have updates for

update `g2_pluginmap` set g_active=0 WHERE g_pluginId = 'statistics';

Steve Lineberry

 
slott_hansen
slott_hansen's picture

Joined: 2005-08-16
Posts: 4
Posted: Mon, 2006-04-03 13:20

I just tried to upgrade to version 2.1 and discovered that postgresql 7.x is no longer supported :-( - or it might just be a miss by the team :-)

Anyhow this is what I get:
<pre>
Error (ERROR_STORAGE_FAILURE) : Error trying to run query: ALTER TABLE g2_AccessMap ADD COLUMN g_userOrGroupId INTEGER DEFAULT '0'
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1528 (gallerycoreapi::error)
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1304 (gallerystorageextras::_executesql)
in modules/core/classes/GalleryStorage.class at line 625 (gallerystorageextras::configurestore)
in modules/core/classes/GalleryStorage/PostgreSqlStorage.class at line 144 (gallerystorage::configurestore)
in modules/core/CoreModuleExtras.inc at line 1366 (postgresqlstorage::configurestore)
in modules/core/module.inc at line 487 (coremoduleextras::upgrade)
in modules/core/classes/GalleryModule.class at line 157 (coremodule::upgrade)
in upgrade/steps/UpgradeCoreModuleStep.class at line 83 (coremodule::installorupgrade)
in upgrade/index.php at line 221 (upgradecoremodulestep::processrequest)
</pre>

I tried it without the "default 0" on the psql commandline and that seems to work. So the solution is - as I see it - to split this one query into two. The first adds the column and the second adds the default stuff.

Keep up the good work - cant wait for the remote support so I can get digiKam up and running again :-)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2006-04-03 14:59
 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Thu, 2006-04-06 11:05

No reason for this to be sticky anymore!
_________________________________
Support & Documentation || Donate to Gallery || My Website