The applet upload is supposed to work when Gallery 1.4.4 (latest beta) is embedded in:
I need help with the other CMS systems. If you use Gallery in a CMS that's not yet supported, please PM me a test account on your CMS. I would also very much appreciate a pointer to how that particular CMS handles session cookies.[/]
Posts: 19
I think I have to config something before you can try the 1.4.4 in my phpbb2 embeddment........ tell me what to do
Posts: 1479
Really? Can you not just create a user account in phpBB2 for me?
Posts: 19
you are admin now........
Posts: 19
please tell me if you still need this account.
Posts: 38
http://pgroove.com/t_i_p/modules.php?op=modload&name=gallery&file=index&sid=fba66e883aa7eb6f969c1e770a64e4a5
that is my gallery embedded inside phpbb2, what kind of priveleges do you need?
Posts: 1479
Desmond, M.D., thanks for the test accounts! Can you test that adding these lines to util.php, in method drawApplet, at the end of the statement that handles CMS-specific overrides (line 1211 in the latest CVS) enables phpBB2 support for the applets:
If it does, I'll commit the fix before 1.4.4-RC1.
(code updated)
Posts: 38
i don't think it worked completely. It uploads the photo (status bar moves to 100%), it says upload successful in the popup, but then the same error dialog pops up.
Posts: 1479
My bad, the code was wrong. I've fixed it in the previous post (remove $_CONF[]).
Can you test again?
Posts: 38
The same thing happened with that change.
Posts: 1479
OK, I'll probably have to update the applet. Will you be able to deploy it?
Posts: 38
I'm not sure what that requires. Do I just have to drop the new jar files in the java directory?
Posts: 1479
Yep.
Posts: 38
I can do that. Let me know where I can get the file after you finish.
Thanks for all your help in this, it is definitely appreciated.
Posts: 82
has there been any "official" fix for this for v. 1.4.3 pl2 - phpbb ?
some of the reason for usig gallery is its great upload aplets...so when not working you get a bit disapointed ;)
im not interested in using latest cvs or similar, a small session/cookie fix would be appreciated!
Posts: 1479
Haplo, I understand how you would want that. Unfortunately, we only back-port security fix, not general bugs/features. It's too much work and we'd rather release early/release often than spend time maintaining already released version. However, 1.4.4-RC1 should be released today with all the fixes.
Posts: 38
Was the phpbb2 problem fixed in this release? I still get the same error.
Posts: 1479
M.D., it wasn't, the last change didn't make the cut. Can you try to modify the code (remove the $_CONF[] in drawApplet)?
Posts: 7
same issue with the following code:
i get the error, 'user can not add to album' after the status bar popup says 'Added Image Successfully'
Posts: 7
Well doliam = MD = doliam. I didn't even realize I had 2 names registered. my password to MD must be in my home email, cuz i can't remember it. I guess i had registered a name here at work, anyways... MD and doliam are one in the same.
Posts: 1479
OK, now another problem: phpBB2 sets the cookie for the entire domain, not just the right host. I'll make a new build of the applet for you to test.
Posts: 1479
Actually, this may be a separate problem. Can you try testing with the full URL (www.pgroove.com instead of pgroove.com): http://www.pgroove.com/t_i_p/modules.php?mode=applet&set_albumName=&op=modload&name=gallery&file=index&include=slideshow.php
Posts: 7
I get the same problem when adding the www before pgroove.com
Do you want me to give you admin access or anything within my gallery?
Posts: 1479
Yes, please. So far I've been testing using the slideshow, because the cookies were getting set incorrectly anyway, but now that they appear to be set correctly, I have to dig deeper.
I created user 'paour'; can you create an album I can upload into and give me write permissions for that album?
Posts: 38
ok, in the Upload Album (#4), there is an album called paour in there. i made u owner and gave u full permissions.
Posts: 1479
M.D., I don't see a 'paour' album inside 'Upload', just 'Will D.'
Posts: 7
Try now. I also gave you access to upload directly to the Upload Album if you can't see it. Very strange, I made you owner and gave you full permissions to it.
Posts: 38
did that work for you? I'm begining to think that there might be a problem with the permissions. Maybe I am missing something small. But, I made you owner of the album and gave u every permission inside the album. I guess that is redundant, but i figured better safe than sorry. Anyways, let me know if it's still not working, i can give u the test account I use.
Posts: 1479
I've committed G 1.4.4-RC3-b4, which fixes the applets when embedded in phpBB2 (it works with my version of phpBB 2.0.10).
Posts: 38
Where can I download this from? Is it in the latest CVS release? I download 1.4.5 from Jesse Mullen's download page and it didn't work. But, I am running phpbb2 v2.04, so that might be the problem
Posts: 1479
I've tested with 2.0.10 only. What is the problem on your site?
Posts: 1479
And it is supposed to be in 1.4.5 betas since this weekend.
Posts: 7
ok. I downloaded the latest release for Friday, maybe it wasn't put in until saturday or sunday. If that doesn't work, i'll upgrade phpbb2. Thanks!
Posts: 38
I get the same error. User Can Not Add to Album
I have the latest Gallery and latest PhpBB2 installed:
Gallery v1.4.5-cvs-b81
phpBB 2.0.10
is the fix incorporated in that release of Gallery?
Posts: 1479
Yep. What's your URL again? Or can you attach the log?
Posts: 38
http://www.pgroove.com/t_i_p
click the gallery link up at the top.
I'll see if I can dig up some logs.
Posts: 1479
Damn, you're right, the integration is broken in 1.4.5. I've fixed it in b83, sorry about that.
Also remember that cookies are sent incorrectly if the URL is missing the www.
Posts: 38
ok. Should I wait for another release or can i get b83 from somewhere?
Posts: 1479
You can download it from the nightlies tomorrow.
Posts: 28
Oke I have the same problem, so I also wanted to update the java applet if there is a bugfix.
So thats why I post my message here.
http://www.sc-muiden.nl/gallery
Thanxx
Bjorn
Posts: 38
It still isn't working for me.
these are my versions:
Powered by Gallery v1.4.5-cvs-b89
Powered by phpBB 2.0.10
Gallery URL:
http://pgroove.com/t_i_p/modules.php?op=modload&name=gallery&file=index
I get an error on the form upload now too, I wonder if I have problems in my gallery settings.
Posts: 1479
M.D., try with www.pgroove.com, I think it should work.
Posts: 38
I used the full url and i got a new error msg, screenshot is here:
http://www.phatgrooves.org/images/gallery_error.gif
I thought cookies only used the domain, ie) pgroove.com and prefixes did not matter? At work we set a login cookie to be .ge.com and it works for *.ge.com. Is the cookie set differently in gallery or phpbb2? Anyways, just curious.
Posts: 38
Error: Server contacted, but Gallery not found at this URL (http://www.pgroove.com/t_i_p/modules.php?op=modload&name=gallery&file=index&include=gallery_remote2.php)
Posts: 1479
M.D., the new error is good news... I think it's due to a Gallery configuration error. Can you upload files using the Form mode when Gallery is embedded in phpBB2?
Take a look at the Java log in your browser, you'll see it's probably due to Gallery not finding the file you uploaded, but the session info is correct.
Regarding the cookie domain settings and tail matching, PHP doesn't help much, and yes, I should try to do it in Java.
Posts: 38
I can't upload using the Form when the gallery is embedded in phpBB2, here is the error I get:
Processing status...
- Adding blank.gif
Warning: Unable to open 'Array' for reading: No such file or directory in /home/wilson/pgroove-www/gallery/platform/fs_unix.php on line 26
Resizing/compressing original image
Warning: getimagesize: Unable to open '/home/wilson/pgroove-www/albums/Upload/blank.gif' for reading. in /home/wilson/pgroove-www/gallery/util.php on line 490
Posts: 1479
Great. That means now you need to go over to the Troubleshooting forum to solve this problem, which is independant of the upload applet and GR. Once it is solved, I'm pretty sure the upload applet will work. Good luck and thanks for sticking with me.
Posts: 5
I'm using PHP-Nuke 7.3 and logged in as an admin.
I can't upload any pictures or zip files using the applet since I upgraded from 1.4.3 to 1.4.4 or even 1.4.5-cvs-b96
With the form it's no problem at all.
The message is: Upload error: User cannot add to album
The JAVA Console gives this messages:
debug_album=vijgezel_fotos
debug_gallery_version=1.4.5-cvs-b96
debug_user=EVERYBODY
debug_user_type=everybodyuser
debug_user_already_logged_in=
status=401
status_text=User cannot add to album.
32817|INFO |GalComm2 |Upload error: User cannot add to album.
Applet stop
Does anybody know what to do??
Thanx in advance,
Pethoek
Posts: 38
the people over in the Troubleshooting forum had me download a new copy of modules.php... I am now getting the same, User Can Not Add to Album error as before.
Posts: 38
any suggestions?
Posts: 38
has anyone gotten the phpbb2 and gallery integration to work? I'm still getting a 'User Can Not Add to Album' error when I try to upload. I guess i'll try to install the latest version of gallery tonight.
thanks for any help in advance!!