View Single Post
Old January 3rd, 2005, 05:44 PM   #15 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,707
Okay Let's work through this one step at a time. The only big thing we have to worry about here after getting the database upgraded is to get your cookie settings straight so you can login and change anything you want.

Can you just do what I stated to do please.

We can go back and manually insert cookie settings into the database so you can login.

You can also edit the upgrade script to add your cookie settings so you will be able to login afterward

find this in upgrade482.php

$query[] = "REPLACE INTO {$pp_db_prefix}settings VALUES (171,'PhotoPost Cookie Path', 'cookie_path', 'This should be set to match the path/domain for your cookies. Setting to / enables entire site.', '$cookie_path', 1, 12)";
$query[] = "REPLACE INTO {$pp_db_prefix}settings VALUES (172,'Forum Cookie Prefix', 'cookieprefix', 'Some Default values vB3: bb, phpBB2: phpbb2mysql, Threads: w3t_', '$cookieprefix', 2, 12)";
$query[] = "REPLACE INTO {$pp_db_prefix}settings VALUES (173,'PhotoPost Cookie Domain', 'domain_path', '.yourdomain.com; sets the cookie to be usable across the domain', '$cookie_domain', 3, 12)";

change to

$query[] = "REPLACE INTO {$pp_db_prefix}settings VALUES (171,'PhotoPost Cookie Path', 'cookie_path', 'This should be set to match the path/domain for your cookies. Setting to / enables entire site.', '/', 1, 12)";
$query[] = "REPLACE INTO {$pp_db_prefix}settings VALUES (172,'Forum Cookie Prefix', 'cookieprefix', 'Some Default values vB3: bb, phpBB2: phpbb2mysql, Threads: w3t_', 'bb', 2, 12)";
$query[] = "REPLACE INTO {$pp_db_prefix}settings VALUES (173,'PhotoPost Cookie Domain', 'domain_path', '.yourdomain.com; sets the cookie to be usable across the domain', '', 3, 12)";
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; January 3rd, 2005 at 06:04 PM.
Chuck S is offline   Reply With Quote