I have phpBB 2.0.10 & G 1.4.4 RC3, yet.. I can add images when I directly access the Gallery.. but not when I'm submitting within phpBB.
It simply says "No images to upload!"
I've checked my tmp_dir, .htaccess, pretty much everything checks out that i've hunted for.
Any thoughts on this?
Posts: 2322
I can't verify this at all... I just installed a new copy of Gallery 1.4.4 and phpBB 2.0.10 and everything works perfectly.
Make sure you apply the patches from the /gallery/contrib/phpBB2 directory.
Posts: 13
thanks I'll double check.
I'm completely baffled.
I should retry netpbm.
Posts: 13
Well..
I simply can't figure it out.
I just tried netpbm/imagemagick.. debug didn't bring up anything either.
Did a rerun through the contrib/phpBB2 folder, everything's kosher there.
Any other suggestions/ideas?
Posts: 13
Anyone? :/ I'll post more info if anything additional will help me amend this, I really need to get this working
Posts: 34
Getting the same problem - phpBB2 2.0.10 and Gallery 1.4.4rc3
If I'm logged in as a phpbb user, even though I own the album, I cannot upload pictures (I was using the form submission method). It's ok if I'm logged in as the Gallery admin and go straight to the gallery installation without using phpbb.
John
Posts: 34
Hmmm.... I've been having a bit of a play with usernames.
My username list in phbBB for authorised Gallery users is different from the user list that Gallery (on its own) has. This is what I would expect, but it means that the when I check the permissions via phpbb they are different from when I use Gallery directly. This is particularly true of the album owner. When I change the owner in Gallery, in changes the phpbb version to "anonymous".
Is this the reason phpbb users cannot upload to the gallery?
John
Posts: 2322
If you change the permissions in standalone mode, you're definitely going to have issues with your phpBB2 users being able to modify things. (e.g. they won't be able to at all)
In standalone mode, Gallery has no idea who your phpBB2 users are, so there's no way it can preserve settings using what it things are invalid userids. Since the Gallery userids don't correspond to phpBB2 userids, when you integrate, it's going to think that they're either 'nobody' or 'anonymous'...
Posts: 34
OK, that makes sense.
So, what of the issue of not being able to upload as a phpbb "user" but ok when direct to Gallery?
John
Posts: 3
I am having the exact same problem. I even did a complete fresh install of phpBB 2.0.10 and Gallery v1.4.4-RC3, no luck.
I turned on the debugging and php messages in gallery, but it dosn't bother to print any message besides "No images to upload!"
Any ideas?
Posts: 3
It is beginning to look like it is a problem with the modules.php file we added to phpBB's directory. When I try an form or url upload I jsut get the no images error, but when I tried to use the gallery remote am able to upload (if I look in my tmp dir there are files) , but when the status window tries to close I get an error
Error: Server contacted, but Gallery not found at this URL (http://myhost/phpBB2/modules.php? set_albumName=aubatido&op=modload&name=gallery &file=index&include=gallery_remote2.php)
[btw, I added spaces to break up the line]
If I browse directly to that page I can get it (well, I get the error message from that page saying that I shouldn't browse to it directly, but I still got it)
Posts: 13
Well, good to see I wasn't the only one daunted by this.
Somehow Alpinezone has managed to get his 2.0.10 and 1.4.4 working just fine, I'm totally baffled.
I tried a full fresh install, no luck.. I tried a number of things and no prevail.
Fortunately we've restructured our art community a little, and detached Gallery to stand alone for now. So i'm actually using two different gallery systems for the solution of our new layout coming. (right now my site is a mess because of this lol, I should've left the update alone)
Cheers to anyone who has more info on this, i'm still poking around, if I find something I'll post.
Best,
J
Posts: 34
Just realised. This is probably related to a another problem I had recently:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=18196
Gallery remote has a problem when creating new, integrated albums. It's the same issue. GR creates users/owners/permissions based on the Gallery user table, not the phpBB user list. In effect, with phpbb integration you can only reliably perform admin functions through the phpbb integration and not using GR.
Does this also mean that there are "issues" with using the applet to upload to phpbb integrated albums?
John
Posts: 3
Well, I rolled back to an older version of phpBB, 2.0.8 to be exact, and everythign is fine. However, with the debug mode turned on I get these fun warnings in gallery 1.4.4, which dont occur in 1.4.3
[
Notice: Undefined index: record_online_users in /_path_/phpBB2/includes/page_header.php on line 353
Warning: Cannot modify header information - headers already sent by (output started at /_path_/phpBB2/includes/page_header.php:353) in /_path_/phpBB2/includes/page_header.php on line 475
Warning: Cannot modify header information - headers already sent by (output started at /_path_/phpBB2/includes/page_header.php:353) in /_path_/phpBB2/includes/page_header.php on line 477
Warning: Cannot modify header information - headers already sent by (output started at /_path_/phpBB2/includes/page_header.php:353) in /_path_/phpBB2/includes/page_header.php on line 478
Hrm, fun stuff. At least it uploads pics now.
Posts: 69
Not true. I'm having the same problem with the "No images uploaded!" error. Any other thoughts?
Posts: 69
I just confirmed that uploads work fine from a phpBB 2.0.8-embedded Gallery. Still no luck uploading to the phpBB 2.0.10/Gallery though. In both instances, I'm using the final release of Gallery 1.4.4. Help!
Posts: 2322
Is register_globals enabled or disabled in your PHP installation?
Posts: 13
Ah, my bad.. I thought you were getting it to work properly. :/
That was the impression I got when we had talked.
Sorry mate.
Posts: 69
Dunno. I don't think anything changed on my server's PHP installation. I believe the problem started since upgrading from phpBB 2.0.8...
Posts: 2322
You may not have, but phpBB did... starting with 2.0.9 they made significant changes to how they operate when register_globals is enabled.
Posts: 69
So....how can I tell? What, specifically, am I looking for? (Sorry, not a PHP expert by any means...)
Posts: 2322
The easiest way is to view the phpinfo file in /gallery/setup/phpinfo.php and look for 'register_globals'
Posts: 6818
Hi,
jko: 2004-07-20 Pierre-Luc Paour <paour@users.sourceforge.net> 1.4.4-RC3-cvs-b4
* Fix: phpBB2 integration for the upload applet now works.
I also noticed that the files classes/phpbb/User.php and UserDB.php use shorttags.
But i tested on my phpBB 2.0.10 with Gallery 1.4.4 and the upload works fine.
Regards,
Jens
Posts: 29
I'm having exactly the same problems. I can't upload images from phpBB. This started after upgrading Gallery to 1.4.4.
First I upgraded phpBB from 2.0.8 to 2.0.10 and the only way to get Gallery (1.4.3) working was replacing the common.php of phpBB with an older version. This worked fine for me and uploading images worked. Yesterday I upgraded Gallery as well, to version 1.4.4. I switched to the new common.php and Gallery seemed to work fine embedded in phphBB, until I wanted to upload some photos...
Please help.... my register_globals is turned on and I have PHP 4.2.2 installed.
Posts: 69
There is a fixed modules.php in this thread:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=18473&start=15
Yay! :D