 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
March 10th, 2005, 08:18 AM
|
#21 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
Actually, its that I am trying to work with a bad case of the flu; so I'm working, just a little slower.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
March 10th, 2005, 11:51 AM
|
#22 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 41
|
I appear to have the same problem as the other poster. I am using PHPBB as well.
Last edited by LMer; March 10th, 2005 at 12:56 PM.
|
| |
March 10th, 2005, 01:51 PM
|
#23 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,647
|
The gentleman above did not set cookie settings properly.
If you are unable to login successfully then I suggest phpmyadmin and view the database table settings where settings 171-173 are the cookie settings and correct them as needed
If you can login and get to the Photopost admin set the cookie settings to match the board.
Cookie prefix by default is phpbb2mysql on a phpbb setup.
You should set your cookie domain in both photopost and phpbb to .domain.com so people are logged in whether they visit your site with the www prefix or not
Lastly the cookie path in both should be /
Basically all 3 of these must match for you to have an integrated login.
|
| |
March 10th, 2005, 02:08 PM
|
#24 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 41
|
The cookies settings are set to match the messageboard. However, i've noticed that the "password" cookie is being set for my gallery subdomain (gallery.lifetimemoments.com) and not my top domain (.lifetimemoments.com).
Any other suggestions?
|
| |
March 10th, 2005, 02:20 PM
|
#25 (permalink)
| | Senior Member Verified Customer
Join Date: Dec 2002 Location: San Francisco
Posts: 603
|
Where is that password cookie?? Sounds like we nailed it down?
|
| |
March 10th, 2005, 02:31 PM
|
#26 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 41
| Quote: |
Originally Posted by pengrus Where is that password cookie?? Sounds like we nailed it down? | It's in pp-inc.php. The code doesnt specify a domain path so it defaults to the subdomain. I hard coded mine and it fixed a login problem I had; but i'm still having problems with private galleries.
|
| |
March 10th, 2005, 03:42 PM
|
#27 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 41
|
I've made a little headway.
In the function is_cat_protected in pp-inc.php I replaced: Code: Content visible to verified customers only.
With Code: Content visible to verified customers only.
Not sure is this is very secure code or if its redundant (I am not a PHP programmer) but it allows users to see their own private albums without using a password.
As for the album password issue, I've had no luck.
|
| |
March 10th, 2005, 05:45 PM
|
#28 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,647
|
Your cookie settings can not match. Pengrus's install works now fine as earlier today I corrected his issue by setting the cookie prefix by viewing his settings table cookie entries and correcting the prefix
You would verify yours as well as there is no need to modify files
|
| |
March 11th, 2005, 07:50 AM
|
#29 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 41
| Quote: |
Originally Posted by omegatron Your cookie settings can not match. Pengrus's install works now fine as earlier today I corrected his issue by setting the cookie prefix by viewing his settings table cookie entries and correcting the prefix
You would verify yours as well as there is no need to modify files | I have verified my settings and I have checked the cookies. Prior to my hard coding my subdomain in setcookie(password) the cookie was set for gallery.lifetimemoments.com instead of .lifetimemoments.com.
Please note that my message board and galery is on two different subdomains mb.lifetimemoments.com and gallery.lifetimemoments.com. All my phpbb cookies are save as .lifetimemoments.
If you'd like I can PM you a login so that you can verify that the settings are correct.
|
| |
March 11th, 2005, 09:33 AM
|
#30 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,647
|
Yes PM me a admin login and link and login to phpmyadmin Make sure you also have the default files loaded no modded files as if you have cookie domain set right it is set right.
Another gentleman stated over and over his cookies where right but when I viewed the setting it was not set cookie prefix that is. If your domain is being set to the full domain things are ran on your cookie_domain must be set to blank and not .domain.com
|
| |
March 11th, 2005, 09:35 AM
|
#31 (permalink)
| | Senior Member Verified Customer
Join Date: Dec 2002 Location: San Francisco
Posts: 603
|
That is me. lol Yes, my private gallery login issue is solved.... Thanks Chuck!
|
| |
March 11th, 2005, 12:55 PM
|
#32 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 41
|
I think I may have found something. $password is used for user passwords, album passwords and (I think) as a post variable. I think that there may be some interference going on.
When I am logged in, the "password" cookie data shows my user password and I am unable to access my private gallery or anyone elses private gallery with a password. If I log out and delete the "password" cookie (because it isn't deleted on logout), I am able to access anyones gallery using the appropriate gallery password. And if I look at the "password" cookie it has the correct album password.
Am I barking up the wrong tree? |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:36 AM. | |