PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Problem with Test Install on Subdomain (http://www.photopost.com/forum/photopost-pro-how-do-i/131161-problem-test-install-subdomain.html)

Tourmeister March 29th, 2007 01:30 PM

Problem with Test Install on Subdomain
 
Howdy,

I have my forum (VB 3.5.3) and photopost (5.3) up and running perfectly at twtex.com.

I created a subdomain named twttestvb.twtex.com (password protected to keep the VB people happy) and made a copy of my live site. I created new DB files for the copy to use so I would not be messing with the live databases. I then updated the config.php for VB and the config-int.php and config-inc.php files for photopost to point everything to the subdomain and the new databases. The forum works fine and sees the subdomain and new database files. However, ALL of the links in photopost still point to the live domain twtex.com.

From my 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/";
When I click the link on my forum navbar to open the photo gallery, the gallery opens, but there are no images and ALL of the links still point to the live domain. It is almost as if the info in the config-int.php file is not being read by the program. Thus if I try to go into the Admin panel to set all the Global Options for the new path info and also to update the Storage Options, ALL of the links still point to the live domain. Any changes affect the live site.

I used different database names and usernames to make sure I did not accidentally leave a reference to the live DB in the config files. I can't think of anything else to check. I am sure it must be something ridiculously simple, but I just don't see it!? :confused:

Tourmeister March 30th, 2007 09:42 PM

Anyone?

russbo May 1st, 2010 10:47 AM

Howdy! (gotta love that..)

I'm thinking of doing a similar thing. But I was going to put photopost in photopost.domain.com, and vbulletin in forum.domain.com. Not sure why you installed both in the same subdomain; you end up with longer url's now. But I assume you're making a test area..

Look in your navbar template; it's probably pointing to a relative link, such as "./forum/showthread.php. Have you tried changing the template to a real url, such as "http://twttest.twt.com/photopost/index.php???

Chuck S May 1st, 2010 11:55 AM

You need to actually install the gallery on the test domain to integrate with the new test install you have.

The config files only have the basic config elements of the install. All the url and path statements are in the database settings table.

This should assist you as this is the sticky posted at the top of this very forum your posting in. ;)

http://www.photopost.com/forum/photo...rectories.html


All times are GMT -5. The time now is 01:58 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