PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 21st, 2007, 01:57 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 28
BUG report! PhPBB / Photopost session handling

Photopost has a definite bug in the cookie based session handling.
Photopost 5.5
PhP 4.3
PhPBB v unknown
Apache webserver
IE 7.0
FireFox

Fresh install of Photopost with PhPBB integration

Symtoms:
Users log into PhPBB interface script and maintain login status upon redirect.
When user clicks the Photopost section (Using FireFox), the user looses their login status. IE 7.0 works just fine.

Cookie Path = /
Cookie Prefix = phpbb2mysql
Cookie domain = "blank"

When cookie path is changed to .domain.com

Neither IE 7.0 or FireFox work!

Packet captures shows browser side is working correctly with session id handling with "blank domain"

Using IE 7.0

GET /phpbb/index.php?tab=photo_gallery&sid=1a567b967e64b25c99e5be7570404504 HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://www.colormegorgeous.com/
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 1.1.4322)
Host: www.colormegorgeous.com
Connection: Keep-Alive
Cookie: PHPSESSID=108c923e1870129da4f82ad32f84e75c; phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22user

Here is Firefox

DATA:
GET /images/home_b_n.jpg HTTP/1.1
Host: www.colormegorgeous.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Accept: image/png,*/*;q=0.5
Accept-Language: en-us
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.colormegorgeous.com/photopost2/index.php
Cookie: PHPSESSID=61644db36c21926a6717b203deb050f8; __utma=13750821.1729382399.1177171796.1177171796.1177171796.1; __utmb=13750821; __utmc=13750821; __utmz=13750821.1177171796.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bs%3A2%3A%2259%22%3B%7D; phpbb2mysql_sid=fb60bd562db0ddc83560a174

Kindly fix your software and get back to us with the patch!

A step by step integration instead of a fresh install to allow users to maintain session handling would be very much appreciated!

We are paid and registered customers!

Brad
bcddd214@yahoo.com

Last edited by bcddd214; April 21st, 2007 at 02:06 PM.
bcddd214 is offline   Reply With Quote
Old April 21st, 2007, 02:29 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
There is no bug in the software.

You need to properly set cookies to match hense your forum and photopost need to be set both to these settings

cookie path /

cookie prefix phpbb2mysql

cookie domain .colormegorgeous.com
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 21st, 2007, 03:25 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 28
Then neither IE 7.0 or Firefox work at all.
Everything is included in my Bug report.
If you read it, you would see I already answered that.

Brad
bcddd214 is offline   Reply With Quote
Old April 21st, 2007, 03:31 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 28
PhPBB is initiating the session controls properly and to RFC standards
RFC 2109 and RFC 2965
Photopost is not digesting them properly.

Brad
bcddd214 is offline   Reply With Quote
Old April 21st, 2007, 04:24 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I guess you have not understanding what I wrote both here and in your support email

Photopost does not use any session period. We use cookies and your login is carried through the phpbb data and sid cookies. As I posted in your support email you must allow and use cookies.

Furthermore I went as far as to register a username on your forum and test the login. I use Mozilla exclusively by the way and it works fine. However as I noted to you in my email you do not have your cookies aligned properly. You must set both Photopost and phpBB cookies as noted below to allow a cookie to be created site wide

cookie path /

cookie prefix phpbb2mysql

cookie domain .colormegorgeous.com
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 21st, 2007, 04:42 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 28
and, I had the domain set to "blank"
Now try!
I just added .colormegorgeous.com

and, it does not work in IE 7.0 or FireFox.

Notice in my packet capture
Cookie: PHPSESSID=61644db36c21926a6717b203deb050f8; __utma=13750821.1729382399.1177171796.1177171796.1177171796.1; __utmb=13750821;

I am using cookies!
Your software is not digesting properly!

Brad
bcddd214 is offline   Reply With Quote
Old April 21st, 2007, 05:15 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Your site works fine that I see

We do not use sessions in any manner as stated in Photopost in conjunction with phpbb
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 21st, 2007, 05:24 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 28
So, you are saying it is impossible to maintain a user login status with your software using phpbb?

As you can see on the website, .colormegorgeous.com
Is not working!

Brad
bcddd214 is offline   Reply With Quote
Old April 21st, 2007, 07:00 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
It is working fine as long as you use cookies. As I previously stated I log into your site using Mozilla and IE with the user I registered and I am logged in fine

We read the phpbb2mysql_sid and phpbb2mysql_data cookies that phpbb makes and we make the same cookies. This is why I stated to make sure both apps are set to the same cookies to make the same cookies.

There are tons of users using PHP with phpBB2 for years and it does work fine. I logged in went back and forth from forum photopost many times and even uploaded a photo

http://www.colormegorgeous.com/photo...to=193&cat=500
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 21st, 2007, 07:26 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 28
I can see that you posted a picture.

Did you try logging in at the main page and then click on the photo gallery page?
Did you notice the "YOU NEEDED TO LOGIN AGAIN?

Brad
bcddd214 is offline   Reply With Quote
Old April 21st, 2007, 07:38 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 28
For the first time though, you are providing a clue.
Other than in the photopost control panel, what other control panel do you mean?

Please clarify "both apps"?

What 2 (two) places should this setting be placed?

Brad
bcddd214 is offline   Reply With Quote
Old April 21st, 2007, 07:53 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 28
It looks like that was the missing trick.
Firefox is carring the login now.

Thank you!
bcddd214 is offline   Reply With Quote
Old April 21st, 2007, 09:27 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I am talking about your phpBB forum or your photopost. I can login at either of those applications fine. I think your issue is a bug with your special front page login script which has nothing really to do with our application.

I think if you login at your forum or the gallery and go back and forth between those products things work fine.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i post a bug report? 420 Photopost Pro How Do I...? 1 January 16th, 2006 09:07 AM
Upload Category is weird. (my last bug report I swear!)(NOTA BUG) rcsmith ReviewPost Bug Reports 1 October 25th, 2005 08:25 PM
URGENT: I just sent you a bug report websissy Classifieds Bug Reports 4 September 23rd, 2005 02:08 PM
Report feature DOS(NOT A BUG) Arnie ReviewPost Suggestions 2 July 20th, 2005 07:22 AM
1 Bug Report - 2 Header-Inc issues PranK Photopost Pro Installation & Upgrades 3 July 23rd, 2004 09:53 AM


All times are GMT -5. The time now is 12:22 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0