Home | Support Forums | Your Account | Gallery [2] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Update

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Issues » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1040

PostPosted: Fri Nov 09, 2007 10:29 am    Post subject: Update Reply with quote

I think I've about got everything done now. The readme is mostly finished and is more thorough than ever. The integration seems to be all working and is more thorough than ever also. I'm really liking this version! Smile

I'm going to do a clean fresh install and follow through the readme instructions to make sure not missed anything and grab some screen shots along the way to stick in the readme. Should have the next release version ready in a day or two depending on how much time I can put into it.

I would like to thank Sally, IngerK, Mike and Dari for their recent input, suggestions, coding and troubleshooting help. I know it requires a lot of time be invested in this sort of thing to make it all happen and it's appreciated. I know I have over 100 hours invested in this latest release over the past 3 or 4 weeks.

Look for the next release soon!
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Update  

Back to top
Slapper

Beginner
Beginner


Joined: Oct 31, 2007
Posts: 1

PostPosted: Fri Nov 09, 2007 5:23 pm    Post subject: Re: Update Reply with quote

Thanks for the hard work jetty!

I'm new here but ive been looking forward to this phpbb3 integration pack for some time, glad youre almost finished can't wait! Smile
Back to top
Offline View user's profile Send private message
kozmk

Beginner
Beginner


Joined: Nov 09, 2007
Posts: 2

PostPosted: Sat Nov 10, 2007 8:10 am    Post subject: Re: Update Reply with quote

yeah keep on the good work, cant wait till intigration is finished
Back to top
Offline View user's profile Send private message
kozmk

Beginner
Beginner


Joined: Nov 09, 2007
Posts: 2

PostPosted: Tue Nov 13, 2007 7:16 pm    Post subject: Re: Update Reply with quote

any idea when its going to be released??
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1040

PostPosted: Tue Nov 13, 2007 11:44 pm    Post subject: Re: Update Reply with quote

Well, the fresh clean install I did has turned up a problem that is still unresolved. I've beat my head on it all day today and got nowhere.

Anyone else had a problem with embedded gallery security violations in testing this integration? Only thing I've found so far is another user of an older version of this integration complaining of the same problem on the gallery forums.

I've searched the gallery forums, re-installed gallery, re-installed phpbb, re-installed the integration, deleted cache directories, deleted browser cache and the problem persists.

Seems to be a problem with the loss of phpbb sid or cookie after the first embedded gallery screen. Click Gallery 2 from the phpBB page and the embed gallery page is fine, click anything to do with Gallery after that and security violation. The debug output shows the user is no longer a logged in user, but rather the phpbb anonymous user.

Funny thing is I have one test server working fine, the other broken and I'm not seeing any real differences Confused I'm working on it, but at the moment it's kicking my ass! I even put in the old release version of gallery2.php and g2helper.inc, which are the only files that have anything to do with displaying the embedded gallery pages, and still the same problem. I'm really missing something here!!!

Until it gets figured out we can't put out a release...


Last edited by jettyrat on Wed Nov 14, 2007 11:40 am; edited 1 time in total
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Wed Nov 14, 2007 7:48 am    Post subject: Re: Update Reply with quote

might it be a www vs non-www domain issue? this can be a problem when it comes to cookies (ie, if the cookie is set for www, but you're accessing via non-www or vice versa).
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1040

PostPosted: Wed Nov 14, 2007 10:22 am    Post subject: Re: Update Reply with quote

I suspect it is something like that, but I admit I'm not sure how to check for what you are saying. I don't think there is anything wrong with the integration itself. I thought maybe it was something hosed up in firefox, but IE gives the same error, so I'm assuming it is something server side. Odd thing is I haven't changed anything in the php or apache settings. Was simply going to do a clean install of gallery and phpbb and run the integration a final time when this came up. I'll beat on it some more today and hope something shakes out. Any ideas welcomed!

Dari- how would I investigate your concern? Both test machines are running on an intranet blocked by firewall to the internet, otherwise they are setup as generic out-of-the-box apache webservers. This is the same setup I've used for 2 years now on this integration and never had this before!

I tried playing with the gallery cookie settings in the admin-general tab. Even tried passing the phpbb sid along with the init string in galleryEmbed. Nothing seems to make a difference. The query strings passed back and forth between client and server look exactly the same on both test machines.

idk...
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Wed Nov 14, 2007 10:29 am    Post subject: Re: Update Reply with quote

IIRC, the cookie settings are configurable for both G2 and phpBB3 via their respective admin panels. I think that in order to make the cookie valid for both www and non-www, you'd have to set the cookie domain to .domain.com (making sure to include the dot in front of the domain.com part).
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1040

PostPosted: Wed Nov 14, 2007 11:34 am    Post subject: Re: Update Reply with quote

OK, finally!!! It's working again. I relieved to report that the issue has nothing to do with the integration itself! Very Happy

Don't ask me why because I've never had to change this setting before, but for future reference- this is a phpBB3 cookie setting issue. After investigating the cookies being sent it turns out phpbb was not sending any cookies to the browser. Cleared the cookie domain and cookie path settings to nothing (blank) in phpBB, same as G2, and everything is happy now.

Dari- thanks for putting me on the right track! Let me sort through the files and do one more upload because I made a few small tweaks along the way yesterday while troubleshooting, then I think we are good to go. I'll shoot you an email when done...
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Wed Nov 14, 2007 12:03 pm    Post subject: Re: Update Reply with quote

glad to be of use here Smile

basically, those two settings have to match. maybe something should be put into the integration setup to make sure they do, and warn if they don't...
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6271
Location: Washington Township, NJ, USA

PostPosted: Wed Nov 14, 2007 12:38 pm    Post subject: Re: Update Reply with quote

from the 'cookie settings' item in G2's site admin:
The gods of Gallery wrote: › If your Gallery is embedded and you leave the following fields empty, then all DownloadItem links (the URLs of the images and other items) in the embedded Gallery have an appended GALLERYSID string in the URL which is a minor security risk when your Gallery users start copy'n'pasting image URLs in forums, guestbooks, etc. The alternative is to set the cookie path. Gallery will then not append the GALLERYSID to the embedded DownloadItem URLs. E.g. when Gallery is reachable at http://www.example.com/application/gallery2/ and the embedding application is at http://www.example.com/application/, then you have to compare the path /application/gallery2/ with /application/. The cookie path is the part of the paths that is equal, in this case it is '/application/'. Most often it is just '/'.

The cookie domain is also only needed for embedded Gallery installs and only if you want to get rid of the GALLERYSID string in the embedded DownloadItem URLs. In most cases, the cookie domain can be left blank. Set it only, if Gallery and the embedding application are only reachable with different subdomains. E.g. when Gallery is at http://photos.example.com/ and the application is at http://www.example.com/, then you have to set the cookie domain example.com (the part of the host string that is common to both, Gallery and the embedding application).

Once you change the cookie settings, all registered users of your Gallery will have to clear their browser cookie cache. If they do not, they will experience login / logout / lost session problems.

_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Issues » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia