PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Help Me (http://www.photopost.com/forum/photopost-pro-installation-upgrades/131152-help-me.html)

Tourmeister March 28th, 2007 11:51 PM

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 March 29th, 2007 12:36 AM

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... :confused:

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.

Chuck S March 29th, 2007 08:04 AM

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.


All times are GMT -5. The time now is 02:15 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97