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

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 28th, 2007, 11:51 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Texas
Posts: 30
Howdy,

I created a subdomain to install a test copy of my forums with photopost.

The active domain is twtex.com and it is up and running perfect with photopost installed.

The subdomain is twttestvb.twtex.com. It is a complete copy of the twtex.com files but with separate database files. The forum is running perfect, but all the links in the photopost are still pointing to the active domain of twtex.com. (subdomain is password protected to keep the VB people happy).

I edited the config-inc.php and the config-int.php files for the subdomain and made sure all references to the twtex.com domain were changed to the twttestvb.twtex.com subdomain. I also made sure that all the database names, usernames and passwords matched the databases in the subdomain.

So when I click the link on my subdomain test site to access photopost, the main page of photopost comes up, but all the links still reference the active twtex.com domain instead of pointing to the subdomain...

When I clicked the Admin link, it took me to the live version of the site on the main domain. So I entered a link directly to the twttestvb.twtex.com/photopost/adm-index.php and that worked, but all the links for the settings on the left still point back to the main domain. So I can't figure out how to get all the settings changed.

I know I have to be missing something really simply but I just can't figure out what it is!?
Tourmeister is offline   Reply With Quote
Old March 29th, 2007, 12:36 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Texas
Posts: 30
Here is the relevant portion of the config-int.php file:
Quote:
// We need to know the server paths to both your vB installation and your PhotoPost installation
$vbpath = "/home/vbscott/public_html/forums";
$pppath = "/home/vbscott/public_html/photopost";

// We need the URL path to your PhotoPost and vb installation
$url_path = "http://twttestvb.twtex.com/photopost";
$vb_urlpath = "http://twttestvb.twtex.com/forums";

// The URL of your photo dir where your images are stored (with / at end)
$data_dir = "http://twttestvb.twtex.com/photopost/data/";
The server path info is the same as the working copy of the site except that the "vbscott" is "twtexco" on the live version.

It almost seems as if none of the path settings in the config-int.php file are getting set...

and from the config-inc.php file:

Quote:
// Path to your PhotoPost installation - no end slashes
$PP_PATH = "/home/vbscott/public_html/photopost";

//**************** MySQL Database Configuration ****************//
// PhotoPost database host address, or leave as localhost
$host="localhost";

// PhotoPost's database name
$database="vbscott_photoposttest";

// MySQL username and password to access PhotoPost's database
//
// These two variables are for the userid and password needed to access
// the PhotoPost database named above.
$mysql_user="vbscott_twttest";
$mysql_password="<password>";

// If you want to use a prefix for your database, enter it here.
// NOTE: This variable can only be set PRIOR to your first installation of PhotoPost;
// existing databases will not be changed and you will be unable to connect if you change
// this variable after performing a default installation.
$pp_db_prefix = "pp_";

// User database host address, or leave as localhost
$host_bb="localhost";

// User database MySQL database name
//
// This is the variable for the User Database; if you are using Internal
// as your registration system, then these variables are the same as the
// ones above. If you are linking to a message board system,
// thse variables should be set to the database, user and password for that
// database.
$database_bb="vbscott_twttestvb";

// MySQL username and password to access user database
//
// These two variables are for the userid and password needed to access
// the PhotoPost or BB database.
$user_bb="vbscott_twttest";
$password_bb="<password>";
I've reverified all the DB names, usernames, passwords, etc,... and everything is correct.
Tourmeister is offline   Reply With Quote
Old March 29th, 2007, 08:04 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
None of those would determine where your Photopost is pointed to.

In Admin => Forum Settings set the url to vbulletin in there and also in this test copy of vb make sure the url is correct in the vb admin. That is the two places we use the vb url from for links.
__________________
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



All times are GMT -5. The time now is 01:32 AM.

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