Gallery 2.1 RC 2 Feedback Topic

bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2006-03-09 07:18

ABOUT THIS TOPIC

This topic is a place to track all feedback and known issues with Gallery 2.1 Release Candidate 2. Post any new information you have at the end of the this topic and we will update this post with the latest set of known issues. We'll track the known issues here and close them out as we resolve them.

Please also attach your system information to your post! If you go to Site Admin -> Maintenance and click [run] on the System Info task you'll get a set of output like this:

Gallery version = 2.1-rc-2 core 1.0.33
PHP version = ...
Webserver = Apache
Database = postgres7 , lock.system=flock
Toolkits = Thumbnail, SquareThumb, ArchiveUpload, ...
Acceleration = partial/21600, partial/21600
Operating system = ...
Default theme = matrix
Locale = en_US
Browser = ...

Please only post issues regarding the 2.1RC2 release. Posts about other releases will probably get deleted so that we can keep this topic clean and focused. It's fine (and helpful) if you post messages saying that everything works fine, too -- don't forget to include your system info! Thanks!

KNOWN ISSUES

UNRESOLVED: oracle might need a larger column for session data right now, we're only using varchar2(4000). probably we should use NCLOB for oracle, else we risk errors / failures for oracle.

FIXED in CVS: installer/upgrader do not specify UTF-8 charset

FIXED in CVS: NOT NULL missing for g2_AccessMap.g_userOrGroupId on upgrade with Postgres DB

 
pkirk

Joined: 2005-10-08
Posts: 1
Posted: Thu, 2006-03-09 12:22

Hi guys,
and thank you for your work.
I've searched but I can't find the changesets (.diff or something) of this ver from the previous (RC1).
Is the "upload all" the only upgrade solution (if I don't have a shell)?
I eventually can diff them by myself...

Thank you again,
Paolo

 
zerbey

Joined: 2005-02-15
Posts: 4
Posted: Thu, 2006-03-09 14:34

Upgrading from RC1 resulted in the upgrader going into a permanent loop after authentication. I suspect I did something wrong with permissions but goodness knows what. Restored 2.0 from backups and went straight to RC2 with no issues, seems to be working fine now!

 
dennys
dennys's picture

Joined: 2003-08-24
Posts: 32
Posted: Thu, 2006-03-09 14:50

I upgrade to G2 2.1RC2, but when I tried to configure the theme (classic),
I found the selected and Available block are empty. I cannot choose any module.
I also tried to install other themes and got the same problems.
Is there any suggestion about it ? thanks.

Gallery version = 2.1-rc-2 core 1.0.33
PHP version = 5.1.2
Webserver = Apache 2.0.54
Database = mysql 5.0.18
Default theme = classic

 
frederik.kunz
frederik.kunz's picture

Joined: 2005-03-21
Posts: 37
Posted: Thu, 2006-03-09 18:03

I think I found a little bug. I extracted RC2 over RC1 and somehow the Charset of the Installer seems to be set to ISO-8859 every time I reload a page. I can set it to UTF-8, but at each step it goes back to ISO. Confirmed both on IE6 and Firefox 1.5.

Gallery-Version = 2.1-rc-2 Kern 1.0.33
PHP-Version = 5.0.5-pl5-gentoo apache2handler
Webserver = Apache
Datenbank = mysqlt 4.1.14-log, lock.system=flock
Werkzeuge = NetPBM, ArchiveUpload, Exif, Gd, Thumbnail
Beschleunigung = none, none
Betriebssystem = Linux intranet 2.6.15-025stab014 #1 Wed Feb 8 02:04:35 CET 2006 i686
Standard-Motiv = floatrix
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
 
Alexb

Joined: 2005-06-16
Posts: 38
Posted: Thu, 2006-03-09 19:30

I upgrade from RC1 to RC2 but the upgrader going into a permanent loop after authentication and i can't do nothing, i have this error:

Notice: Only variable references should be returned by reference in /home/alex/public_html/gallery/modules/core/classes/GallerySession.class on line 1236

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/alex/public_html/gallery/modules/core/classes/GallerySession.class:1236) in /home/alex/public_html/gallery/upgrade/index.php on line 314

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/alex/public_html/gallery/modules/core/classes/GallerySession.class:1236) in /home/alex/public_html/gallery/upgrade/index.php on line 314

Please help me!!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2006-03-09 19:32

frederik.kunz

thanks, that's a bug. we'll fix it asap.

edit: and fixed

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2006-03-09 23:37

pkirk, we don't have a changelog from RC-1 to RC-2 other than CVS.. so I generated one for ya:
http://tools.gallery2.org/pastebin/87
it's kinda big :-)
RC-2 to final should be much smaller.

 
adsldude

Joined: 2005-04-24
Posts: 10
Posted: Fri, 2006-03-10 01:13

Failure to upgrade ImageMagick module. I'm running ImageMagick v6.2.6-1:

Error

An error has occurred.

Back to the Gallery
Error Detail -
Error (ERROR_TOOLKIT_FAILURE)

* in modules\imagemagick\classes\ImageMagickToolkitHelper.class at line 319 (gallerycoreapi::error)
* in modules\imagemagick\classes\ImageMagickToolkitHelper.class at line 48 (imagemagicktoolkithelper::discovermimetypes)
* in modules\imagemagick\module.inc at line 119 (imagemagicktoolkithelper::getoperationsandproperties)
* in modules\core\AdminModules.inc at line 105 (imagemagickmodule::activate)
* in main.php at line 199 (adminmodulescontroller::handlerequest)
* in main.php at line 87
* in main.php at line 80

System Information
Gallery version 2.1-rc-2
PHP version 4.3.11 apache2handler
Webserver Apache/2.0.52 (Win32) mod_ssl/2.0.52 OpenSSL/0.9.7d
Database mysql 4.1.11-nt
Toolkits Gd
Operating system Windows NT SSAM-FRMBP 5.0 build 2195
Browser Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2006-03-10 04:55

Every graphic toolkit fails, like above. I now have no gallery

Gallery version = 2.1-rc-2 core 1.0.33
PHP version = 4.3.10 cgi-fcgi
Webserver = Microsoft-IIS/6.0
Database = mysql 5.0.18-nt-max, lock.system=database
Toolkits = Exif, Thumbnail, ImageMagick, NetPBM, Ffmpeg, Gd, ArchiveUpload, Swf
Acceleration = none, none
Operating system = Windows NT WIN2K3HOST 5.2 build 3790
Default theme = matrix
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

moved to: http://gallery.menalto.com/node/45859

 
mindless
mindless's picture

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

adsldude, did the imagemagick binary change since you previously installed G2?
adsldude/suprsidr: thanks for the reports; please start new topics in the support forums if you need help resolving those.

 
sunkit

Joined: 2005-08-02
Posts: 23
Posted: Fri, 2006-03-10 08:19

Hello all, firstly thank you very much for the new release.
I have a problem after upgrade from 2.0.3 to 2.1rc1b and also the upgrade to 2.1rc2, this problem still here.
Either active the module-User Album or when click the album tag when edit album, the follow error come out, pls help me to slove this.

Error (ERROR_BAD_PATH) : Invalid path: modules/albumpasswd/AlbumPasswdOption.inc
in modules/core/classes/helpers/GalleryFactoryHelper_simple.class at line 208 (GalleryCoreApi::error)
in modules/core/classes/helpers/GalleryFactoryHelper_medium.class at line 59 (GalleryFactoryHelper_simple::newInstance)
in modules/core/classes/GalleryCoreApi.class at line 124 (GalleryFactoryHelper_medium::newInstanceById)
in modules/core/ItemEdit.inc at line 434 (GalleryCoreApi::newFactoryInstanceById)
in modules/core/ItemEdit.inc at line 294 (ItemEditOption::getAllOptions)
in modules/core/ItemAdmin.inc at line 147 (ItemEditView::loadTemplate)
in modules/core/classes/GalleryView.class at line 317 (ItemAdminView::loadTemplate)
in main.php at line 386 (GalleryView::doLoadTemplate)
in main.php at line 87
in main.php at line 80
System Information
Gallery version 2.1-rc-2
PHP version 5.1.2 apache
Webserver Apache/1.3.34 (Unix) PHP/5.1.2 mod_perl/1.29
Database mysql 5.0.18-max
Toolkits SquareThumb, ImageMagick, Gd
Operating system Linux linux2 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)

 
adsldude

Joined: 2005-04-24
Posts: 10
Posted: Fri, 2006-03-10 13:31

Yes!

G2.1-RC-1 was installed 2/12
ImageMagick 2.6.2-1 was installed 2/24
G2.1-RS-2 was installed 3/9

Are there corrective actions?

 
qsliang

Joined: 2006-02-20
Posts: 1
Posted: Fri, 2006-03-10 17:31

I met the same problem as Zerbey and Alexb, which was:

upgrading from RC1 to RC2, the steps went into a permanent loop after authentication:

Notice: Only variable references should be returned by reference in /home/alex/public_html/gallery/modules/core/classes/GallerySession.class on line 1236

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/alex/public_html/gallery/modules/core/classes/GallerySession.class:1236) in /home/alex/public_html/gallery/upgrade/index.php on line 314

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/alex/public_html/gallery/modules/core/classes/GallerySession.class:1236) in /home/alex/public_html/gallery/upgrade/index.php on line 314

 
LoneShepherd

Joined: 2003-12-29
Posts: 59
Posted: Fri, 2006-03-10 17:37

Either I'm not configuring things correctly, or "hidden albums" don't seem to work properly.

I have an album (with several sub-albums) which is marked as hidden, but when logged out the album is still visible.

This is Gallery 2.1 RC1.

 
xpla

Joined: 2006-03-06
Posts: 25
Posted: Fri, 2006-03-10 18:11

I updated my Gallery2 to the newest RC2 Version. No problems during updating.
I also overwrote the existing templates because i'm buildung up a new site and therefore i set Siriux as the standard Theme and there are some problems. (As i said i'm using the standard things which comes within the RC2 package, so i thought this thread will be the right place)

The vertical space between thumbnails are too much and the thumbnail description is out of place ...
In Firefox the descriptions are quite ok, for Internet Explorer please look at my attachment.
Firefox has too problems with the space between the thumbnails.

Please look at my attachment.

I hope someone can help me please.

Quote:
Gallery-Version = 2.1-rc-2 Kern 1.0.33
PHP-Version = 4.3.1 apache
Webserver = Apache/1.3.27 (Linux/SuSE) mod_ssl/2.8.12 OpenSSL/0.9.6i
Datenbank = mysql 4.0.21-standard, lock.system=flock
Werkzeuge = Exif, Thumbnail, Gd
Beschleunigung = none, none
Betriebssystem = Linux nitweb9 2.4.20-64GB-SMP #1 SMP Tue Mar 29 13:08:48 UTC 2005 i686
Standard-Motiv = siriux
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

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-03-10 18:30

Thanks for all the reports, please keep posting them here.
However, if you are hoping to get some help with your problem then please also start a new topic in the appropriate support forum.. we won't be posting help here, to keep this topic less cluttered.

 
NRT

Joined: 2005-06-16
Posts: 22
Posted: Fri, 2006-03-10 19:27

I have the same problem as reported above. Is there any resolution to this yet?

Notice: Only variable references should be returned by reference in /home/nrtoone/www/www/gallery2/modules/core/classes/GallerySession.class on line 1236

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/nrtoone/www/www/gallery2/modules/core/classes/GallerySession.class:1236) in /home/nrtoone/www/www/gallery2/upgrade/index.php on line 314

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/nrtoone/www/www/gallery2/modules/core/classes/GallerySession.class:1236) in /home/nrtoone/www/www/gallery2/upgrade/index.php on line 314

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-03-10 20:00

Alexb and NRT:
FAQ: How can I make sure that my installation files are all intact?
Post in the support forums if you need further assistance.

 
krepa

Joined: 2006-03-11
Posts: 2
Posted: Sat, 2006-03-11 00:34

Hi guys,
this gallery is good pice of work. I'm here to give my little effort to improve it further sending this bug report:

#system info:
PHP Version 5.1.2
System Windows NT KREPA 5.1 build 2600 (czech vesion)
Build Date Jan 11 2006 16:35:21
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
Server API Apache 2.0 Handler

#bug:
Warning: mb_convert_encoding() [function.mb-convert-encoding]: Illegal character encoding specified in D:\Program Files\Apache Group\Apache2\htdocs\manacor\gallery2\modules\core\classes\GalleryPhpVm.class on line 71

Actually it is \gallery2\modules\core\classes\helpers\GalleryCharsetHelper_simple.class what is causing error/warning. It detects varible >$sourceEncoding< to be '1250' which is not valid character encoding tag.

#fix:
around line 100 add this piece of code

case '1250': /* Windows XP has LC_TYPE=Czech_Czech Republic.1250 */
$sourceEncoding = 'CP1250';
break;

after that everything is allright.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2006-03-11 06:19

note that there's a faq entry for that issue:

FAQ: Where I should see dates I see "Wrong charset, cannot convert" or "Illegal character encoding" or "Illegal recode request".. what is wrong?

it looks like there is a whole range of 125x or xxxx numbers that we need to map to CPxxxx.

 
jobfr

Joined: 2005-04-28
Posts: 2
Posted: Sat, 2006-03-11 08:28

Hello,

i use the gallery-2.1-rc-2-full, and I don't find the directory docs,
In embed.php I read
* See docs/EMBEDDING and modules/core/classes/GalleryEmbed.class for more details.

Unfortunetly I don't find docs/EMBEDDING

 
krepa

Joined: 2006-03-11
Posts: 2
Posted: Sat, 2006-03-11 09:02

OK. I downloaded galery yesterday so I jumped directly on it. Next time I will go through docu more deeply.

 
mindless
mindless's picture

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

jobfr, all embedding docs are now on codex (click documentation at the top of this page).. we will update that pointer in embed.php, thanks.

 
chup
chup's picture

Joined: 2006-03-11
Posts: 3
Posted: Sun, 2006-03-12 15:11

System Information
Gallery version 2.1-rc-2
PHP version 5.1.2 apache2handler
Webserver Apache/2.0.55 (Win32) PHP/5.1.2
Database mysql 5.0.18-nt
Toolkits SquareThumb, ImageMagick, NetPBM, Gd
Operating system Windows NT SPRINT 5.1 build 2600
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

Problem:
Windows XP to Web Service doesn't work.
However, same feature in 2.1-rc-1 works fine on my system.

[img]http://chup.info/images/xp.png[/img]
Row 121, character 1,
'document.getElementById(...).g2_form[userName]' is NULL or is not an object.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2006-03-12 19:50

did you try g2 standalone?
please open a new forum topic in the support forums to discuss this issue.

 
NBrady

Joined: 2005-10-07
Posts: 77
Posted: Sun, 2006-03-12 23:10

After upgrading, from RC1 to RC2 my floatrix theme got all messed up and my images are no longer watermarked I'm really hoping this can be resolved, otherwise I'm thinking about rolling back to 2.0.4.

Any help in this matter would be greatly appreciated

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2006-03-12 23:40

NBrady, please start a new topic in the support forums for assistance.. and you'll need to provide much more detail.

 
sasch

Joined: 2005-09-30
Posts: 1
Posted: Mon, 2006-03-13 09:26

Hi,
the new fotokasten-module is the only thing that does not work (since 2.1 rc1)
fotoaccess does work fine...

Error Detail -
Error (ERROR_UNKNOWN) : 220

* in modules\fotokasten\PrintPhotos.inc at line 307 (PrintPhotosController::error)
* in modules\fotokasten\PrintPhotos.inc at line 219 (PrintPhotosController::sendFotokastenCart)
* in main.php at line 199 (PrintPhotosController::handleRequest)
* in main.php at line 87
* in main.php at line 80

System Information
Gallery version 2.1-rc-2a
PHP version 5.0.4 apache2handler
Webserver Apache/2.0.55 (Win32) PHP/5.0.4
Database mysql 5.0.7-beta-nt
Toolkits NetPBM, Gd
Operating system Windows NT P2200 5.0 build 2195
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

 
bensiebro
bensiebro's picture

Joined: 2003-05-16
Posts: 70
Posted: Mon, 2006-03-13 09:30

When trying to download using the Zip Cart Module, I get the following and cannot make the download:

Platform Error
An error has occurred while interacting with the platform.
The exact nature of the platform error is unknown. A common cause are insufficient file system permissions. This can happen if you or your webhost changed something in the file system, e.g. by restoring data from a backup.

Error Detail:
Error (ERROR_PLATFORM_FAILURE)

* in modules/zipcart/classes/ZipCartPlugin.class at line 166 (gallerycoreapi::error)
* in modules/cart/ModifyCart.inc at line 126 (zipcartplugin::fulfillcart)
* in main.php at line 199 (modifycartcontroller::handlerequest)
* in main.php at line 87
* in main.php at line 80

System Information:
Gallery version 2.1-rc-2
PHP version 4.3.2 apache2filter
Webserver Apache/2.0.46 (CentOS)
Database mysql 3.23.58
Toolkits NetPBM, Gd
Operating system Linux s3.xxxxx.com 2.4.21-37.EL #1 Wed Sep 28 14:14:23 EDT 2005 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

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2006-03-13 21:48

sasch, please try again.. perhaps fotokasten's server was down for a bit. works ok for me now.

 
fleas17

Joined: 2006-03-01
Posts: 11
Posted: Mon, 2006-03-13 21:52

Argh, I manually updated my siriux theme to the latest (1.0.5) and now my CVS update fails at:
Parse error: parse error, unexpected T_SL in /usr/share/gallery2/themes/siriux/theme.inc on line 45

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2006-03-13 21:58

fleas17, I don't see any problem in CVS. You can post in the support forums if you need assistance.

 
toastmaster

Joined: 2003-05-01
Posts: 219
Posted: Tue, 2006-03-14 01:57

Brief comment here now it's been identified as a bug:
G1>G2 migration does not work embedded, and turning on "show only embedded" results in a user warning.
See this thread for extensive details: http://gallery.menalto.com/node/45950

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

 
balitas
balitas's picture

Joined: 2006-01-21
Posts: 22
Posted: Tue, 2006-03-14 02:40

I upgrade my Gallery 2.1-RC-1 to 2.1-RC-2a (see http://www.tatianas.net/flashmode) and also the spanish translation works fine. But I noticed many reboots when I enter to different sections. I press refresh when it success and always fix it, but is annoying to press refresh many times.

 
progoth
progoth's picture

Joined: 2006-03-14
Posts: 19
Posted: Tue, 2006-03-14 06:38

I'm trying to upgrade from 2.0 to rc2a running on postgres7, and the db upgrade seems to be b0rked:

(postgres7): SELECT g_name, g_major, g_minor FROM pcg2_Schema  




(postgres7): ALTER TABLE pcg2_AccessMap DROP COLUMN g_userId  




(postgres7): ALTER TABLE pcg2_AccessMap DROP COLUMN g_groupId  



postgres7 error: [-1: ERROR:  Existing attribute "g_userorgroupid" cannot
be a PRIMARY KEY because it is not marked NOT NULL] in EXECUTE("ALTER
TABLE pcg2_AccessMap ADD PRIMARY KEY(g_accessListId, g_userOrGroupId)")


(postgres7): ALTER TABLE pcg2_AccessMap ADD PRIMARY KEY(g_accessListId,
g_userOrGroupId)   



Warning:  pg_exec(): Query failed: ERROR:  Existing attribute
"g_userorgroupid" cannot be a PRIMARY KEY because it is not
marked NOT NULL in
/hsphere/local/home/progoth/progoth.com/gallery_base/lib/adodb/drivers/adodb-postgres64.inc.php
on line 741

-1: ERROR:  Existing attribute "g_userorgroupid" cannot be a PRIMARY KEY
because it is not marked NOT NULL
 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2006-03-14 08:39

fix for you:
revert to your backups.

question:
what exact pg version are you using?

please open a new forum topic in the support forums, thanks.

 
jadmanx
jadmanx's picture

Joined: 2005-09-06
Posts: 83
Posted: Wed, 2006-03-15 07:02

i have install the ne version ... and whan i whant to upen the main url... firefox whant to open the main.php as a download ...
whan i enter the main url wiht /admin/ i can login ...
on internet explorer it come an

Error 400 - Remote host did not send any data -

its no server problem ...

http://www.blubbs.com is my page

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Wed, 2006-03-15 16:02

Has anyone else noticed that when creating a link to a photo, it's resizes don't seem to be created/available in the album the link is created in? After doing a recreate all resizes for that album this fixes the problem.

Steve Lineberry

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2006-03-15 21:34

progoth, I have fixed the missing not-null for postgres.
If you can test with tomorrow's nightly snapshot and let us know how it goes it would be helpful, thanks!

 
profix898

Joined: 2005-11-08
Posts: 135
Posted: Wed, 2006-03-15 23:29

Apache 2.0.54 + PHP Version 5.0.5 (XAMPP)
MySQL 4.1.14-nt
System Windows XP SP2 (DE)

Running the steps to install core and modules for a multisite install I'm getting this message (~20-30x):

Quote:
Notice: Only variable references should be returned by reference in C:\Programme\xampp\htdocs\gallery2\lib\adodb\adodb.inc.php on line 2847

I noticed the installer-path on the last page is something like http://localhost//gallery2/... (double-slash
after the hostname). Also when viewing the gallery there is no css (theme) applied. I looked at the pages source
and realized that the path to css also carries the double-slash.

Quote:
<link rel="stylesheet" type="text/css" href="//gallery2/themes/matrix/theme.css"/>

 
scaturan
scaturan's picture

Joined: 2004-09-12
Posts: 1153
Posted: Thu, 2006-03-16 00:17

just a very minor issue with the "guest" preview and "Comments" moderation. when logged in as the User (who has ownership of an album) or a site admin, it seems my install can't distinguish who has the permission to "delete" a comment. only if i logout, the permission works. is this normal or should i not worry about it?

Album Permissions:

Everybody [core] View all versions
Everybody [comment] View comments
Everybody [comment] Add comments
Site Admins All access

Gallery version = 2.1-rc-2 core 1.0.33
PHP version = 4.4.2 apache
Webserver = Apache/1.3.34 (Unix) PHP/4.4.2
Database = mysql 4.1.18, lock.system=flock
Toolkits = NetPBM
Acceleration = none/900, none
Operating system = 5.4-STABLE FreeBSD
Default theme = classic
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

the URI changes:

main.php?g2_controller=useralbum.UserAlbum&g2_itemId=1692&g2_navId=xa6b3a974&g2_fromNavId=x7d6a9ae8&g2_navId=xa6b3a974 (as user, owner of album, not site admin)

main.php?g2_controller=useralbum.UserAlbum&g2_itemId=1692&g2_navId=xa6b3a974&g2_fromNavId=x7ba12c26&g2_navId=xa6b3a974 (after selecting "guest")

 
profix898

Joined: 2005-11-08
Posts: 135
Posted: Thu, 2006-03-16 09:06

Update to my comment above:
I tried G2.1 RC on the same machine updated to
Apache 2.2.0 + PHP Version 5.1.1 (XAMPP)
MySQL 5.0.18-nt
System Windows XP SP2 (DE)

This time I did not see any messages during install and the gallery appears as expected.

But again I found something strange:
I added a new album. Permissions for the new album and 'root album' are the default ones,
what means everybody can view my albums and images. When I navigate to 'root album', it is
empty (for all users incl. admin), but when going directly to the sub-album it is there and
accessible to everybody. It is also listed if I search for it.
Additionally when going to the 'root album' as admin the site-admin links (upper right)
disappear and only login link is provided (but I am logged already in).

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Thu, 2006-03-16 12:44
scaturan wrote:
just a very minor issue with the "guest" preview and "Comments" moderation. when logged in as the User (who has ownership of an album) or a site admin, it seems my install can't distinguish who has the permission to "delete" a comment. only if i logout, the permission works. is this normal or should i not worry about it?

The same thing happens for me for the make highlight action. It shows in guest preview mode but not when i really am a guest.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2006-03-16 22:52

Not every aspect of G2 supports guest preview mode.
You're welcome to file feature requests for things you think would help make guest preview more useful.

 
scaturan
scaturan's picture

Joined: 2004-09-12
Posts: 1153
Posted: Thu, 2006-03-16 23:06

k, thanks!

 
gietl

Joined: 2006-02-23
Posts: 12
Posted: Fri, 2006-03-17 04:35
mindless wrote:
Alexb and NRT:
FAQ: How can I make sure that my installation files are all intact?
Post in the support forums if you need further assistance.

I have the same issue as the other two posters. The link to the FAQ asks us to do something we can't accomplish because we are stuck in this neverending loop. There was one post I jumped onto that I need to dig up. The person that responded to it said that it is basically a host issue and has to do with a buggy version of zend optimizer and php 4.4.x. My only concern is that everything was fine with RC1 and now everything is a mess...for me at least.

The FAQ is helpful, but it is not the end all cure all for some of these issues.

EDIT: As a followup to those with the same problem. Don't trust anything your FTP software or anything else shpows you as complete. This was the 7th time I uploaded the files and it FINALLY worked. This was also after another download of the RC2a full zip. WOW is all I have to say, that was painful. ;)

 
toastmaster

Joined: 2003-05-01
Posts: 219
Posted: Fri, 2006-03-17 06:31

Is there going to be a fix for the following before G2.1 is released?
"The action you attempted is not permitted" when setting gallery to run in embedded mode only (confirmed as bug)
G1>G2 migration rewrites
Multiple rewrite options clash
"Other modules provide thumbnail support"

To be honest, it's only the first two that are showstoppers - either one would do, but I'd prefer to automaticall redirect visitors if possible.

 
gietl

Joined: 2006-02-23
Posts: 12
Posted: Fri, 2006-03-17 06:56

One more thing I failed to mention, they way I got past step two is that I commented out:

regenerateSession();

on line 40 of AuthenticateStep.class.

If you follow those errors they point to that function, regenerateSession();. Then i traced it to that class file. While it is there for security reasons, I would just do the upgrade, then go back and uncomment it and save it. It got me past step 2.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-03-17 07:57

gietl

@regenerateSession:
can you please post a phpinfo link?
also, does the upgrader / installer have the sessionId in all links for you even in step 3, 4, ..? normally, if cookies work, you should have the sessionId in urls only in the first 1, 2 steps. so maybe you are having here an edge case where cookies don't work because of your server...or because of your browser.

 
gietl

Joined: 2006-02-23
Posts: 12
Posted: Fri, 2006-03-17 16:44

Here is a link to my phpinfo:
removed the link since it isn;t needed anymore

So when I am on the first page of the upgrader, all the links have session info, when I click the link to get to the authentication page I see hte PHPSESSID in the address bar.

Throughout the whole process I have the following displayed at the top of the page:

Notice: Only variable references should be returned by reference in /xxxxxxxxxx/xxxx/xxxxx/xxxxxxx.com/public_html/gallery/modules/core/classes/GallerySession.class on line 1237

The looping described in earlier posts happens in both IE 6 and Firefox 1.5 on Win XP Pro. I am 99.999999999999999% sure it is not a browser issue ;). I have the same issue from work or from home, same browsers and OS, different machines, different connections.