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 Classifieds Support > Classifieds Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 18th, 2006, 02:58 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 46
Problem with cookies after upgrade

I just upgraded to 2.5 and am having a problem with my cookies.

Running the integration with VB 3.6.2

when I view the classifieds, it keeps me logged into VB and classifieds just fine.

But when I go to view the admin section, it brings up a login form for the classified admin.

Then, I log into admin for the classifieds and in the process of logging me into the classified admin, it logs me out of vbulletin.

Any ideas what I might be missing or where to look?
h2ojunkie is offline   Reply With Quote
Old October 18th, 2006, 03:33 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Yes your missing the vbulletin cookie prefix it would appear. You can view the settings table of classifieds in phpmyadmin and run this query or if your database is in the vb database use the vb sql manager

UPDATE cp_settings SET setting='bb' WHERE id=182

Make sure to replace with your proper classifieds prefix
__________________
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 October 21st, 2006, 09:00 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 46
OK, I've manually checked cookies, cookie path and cookie domain.

All are set to match between VB and PPclassifieds and I'm at a loss

Here's the routine.

Go to VB, login with "remember me"

go to classifieds and it shows I'm logged in and shows me the admin link

click the admin link - it brings up the ppclassifieds login page

login to ppclassifieds and it redirects me back to the main index of the classifieds in VB where I'm not logged out of VB

log into VB for the 2nd time then click Admin link for classifieds

it takes me to admin no problem and works from then on


But, if i clear my cookies, i have to start the entire process all over again.
h2ojunkie is offline   Reply With Quote
Old October 22nd, 2006, 08:59 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
This can only be one of two things. Your cookie prefix is not correctly entered as I noted above and second check your config-inc.php file and make sure the $vblicense line is your correct vb license not customer number
__________________
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 October 29th, 2006, 06:25 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 46
I've checked again, cookie prefix, cookie path, cookie domain all identical between vb 3.6.1 and PP 2.5 settings.

And license info is correct as well. I'm at a loss here.

it's almost like when I click the admin link for classifieds, it's wiping out the login info for VB from the cookie and replacing it with the classified info.
h2ojunkie is offline   Reply With Quote
Old October 29th, 2006, 07:43 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
You can post a url and regular test user account here so we can see how you set your cookies but it is as I stated cookies need to be exact and the license number must be correct otherwise your not gonna get into admin
__________________
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 October 31st, 2006, 10:54 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 46
http://www.thumpertalk.com/classifieds/index.php

useraccount: test
password: test


And if after you review and see the cookies are correct. Let me know if you need it and I can PM you a test admin account to check as well.
h2ojunkie is offline   Reply With Quote
Old November 1st, 2006, 09:25 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Are you sure your cookies in classifieds are set like this

UPDATE cp_settings SET setting='/' WHERE id=181
UPDATE cp_settings SET setting='bb' WHERE id=182
UPDATE cp_settings SET setting='.thumpertalk.com' WHERE id=183

Double check your license number is entered correctly in config-inc.php. You should if set like this you can get to admin
__________________
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 November 1st, 2006, 09:55 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 46
Taken directly from phpmyadmin for classified settings table
ID 181 Setting /
ID 182 Setting bb
ID 183 Setting .thumpertalk.com

Taken from vb 3.6.1 config.php and phpmyadmin vb setting table
cookiepath /
cookiedomain .thumpertalk.com
$config['Misc']['cookieprefix'] = 'bb';

License # not listed for obvious reasons, but it is correct.


Like I said above, I can get into Admin. It just makes me log in using the PP classifieds login screen, and when I do log in to classified admin, I get logged out of VB in the process.
h2ojunkie is offline   Reply With Quote
Old November 2nd, 2006, 10:02 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
That tells me your license is not correct

The vbulletin password cookie which is the thing that changes when you log into classifieds is 3 things. It is the password cookie prefix and the vbulletin license number
__________________
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 November 2nd, 2006, 12:39 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 46
Ok,

So I went digging again.

My license # on VB.com matches the one I have in config-inc.php.

It appears I found the problem. It looks like one of our developers uploaded "some" vb files with the wrong license number on them.

So now the quest to re-edit the files and re-upload vb to make sure all files are correct. Cause i have no clue where (or if) you can manually change the license number of a vb install.
h2ojunkie is offline   Reply With Quote
Old November 2nd, 2006, 03:34 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
That would indeed cause problems if you dont have your files on your server but someone elses
__________________
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cookies problem? cookie Photopost Pro How Do I...? 3 September 5th, 2006 11:54 AM
Problem with cookies with VB.3.5.4 drache Photopost Pro How Do I...? 1 March 19th, 2006 12:16 PM
Problem with Cookies (?) on Installation tjanders Classifieds Installation & Upgrades 16 January 1st, 2006 07:25 PM
Login looping problem. Cookies? silknet01 Classifieds Installation & Upgrades 5 June 27th, 2005 11:33 AM
Old Cookies.php gone how do we clear cookies now? paprman Photopost Pro How Do I...? 2 April 2nd, 2005 08:32 AM


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

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