View Single Post
Old November 8th, 2005, 12:29 AM   #1 (permalink)
winnipesaukee
Member
Verified Customer
 
Join Date: Jul 2002
Posts: 58
vb3 integration problem

Help!

Please take a look at this: http://207.154.13.50/photopost/ (not connected to my domain name yet)

Yikes! Any ideas what those errors mean.

I am installing vb3 3.5.1 and Photopost 5.2.1 on a new server. I was running older versions (3.0.0 and 4.7i) on my old server. I moved the pp/vb3 database to the new server.

I was able to run the vb3 upgrade script without trouble. I tried to run the Photopost upgrade.php script but after I click on 4.7 in the Upgrade Console the next page won't go past "Proceed to Upgrade -->". I click it and it stays on the same page. Is the upgrade done at that point?

Photopost also seems to read some things from the database but you can see I'm showing no pictures or users. I have over 1500 vb3 users that should also have access to PhotoPost.

Here is my config-inc.php and config-int.php files with the passwords removed. Is there anything I missed for PhotoPost to work? Any tips would be appreciated :

//**************** External Header Configuration ****************//
//
// the isset prevents vB headers from being sent during login/logout -
// do not remove this line as it may cause the vB headers to interfere with the login/logout process
//
// To include the file, edit the header-inc.php
//

if ( !isset($skip_exheader) ) {
include "header-inc.php";
}

// PhotoPost Pro Version Number
$VERSION = "5.21";

// Path to your PhotoPost installation - no end slashes
$PP_PATH = "/home/.sites/70/site4/web/photopost";

// All of the .tmpl files are placed into a directory called "templates"; if you wish to change the
// name of the directory to something else to protect your files, you may do so and indicate the name
// of the directory here - this is not a path to the directory, just the directory name; the directory
// cannot be moved from the PhotoPost main directory.
$TMPL_PATH = "templates";

//**************** MySQL Database Configuration ****************//

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

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

// 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="VB_DBUSER";
$mysql_password="******";

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

// 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 = "";

// 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="VB_DATABASE2";

// 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="VB_DBUSER";
$password_bb="******";

//
// VB3 License Number required for VB3 integration
// You can find this number by checking your index.php file in your vB3 directory
// The 4th line in the file looks like:
// || # vBulletin 3.0.0 - Licence Number ########
// It is the ######## number you need to place below.
$vblicense = "*******";

//**************** Application Configuration ****************//

// Default Language
// This needs to be set to the name of the directory used inside of the languages directory
$pplang = "english";

//////////////////////// Application Configuration ////////////////////////////////
// These variables set the path to the UNZIP, MOGRIFY and JHEAD commands on your system
//
// This only needs to be set if you are allowing ZIP uploads. These are full paths,
// including the name of the executable (.exe extensions for windows)
// The -j option for Info-ZIP's UNZIP tells it to ignore paths in ZIP file
//
// This option is only used in the event the internal UNZIP does not work for you
//$zip_command = "/usr/bin/unzip -j";

// Path to MOGRIFY executable
// There should be no spaces in the directory names, use short names if necessary.
// Examples:
// $mogrify_command = "c:\progra~1\imagemagick\mogrify.exe";
// $mogrify_command = "c:\ImageMagick\mogrify.exe";
$mogrify_command = "/usr/bin/mogrify";

?>


<?php
//-----------------------------------------------------------------------------------//
// Forum Integration Configuration File
//
// For users using our forum integration files, there are a few things
// we need to know - like the location of PhotoPost and your forums; this
// prevents us from doing alot of extra processing in these scripts we otherwise
// would have to do.
//
// Follow the guides to set your paths and enable the integration options you
// want.
//-----------------------------------------------------------------------------------//

// We need to know the server paths to both your vB installation and your PhotoPost installation
$vbpath = "/home/.sites/70/site4/web/forums";
$pppath = "/home/.sites/70/site4/web/photopost";

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

// The URL of your photo dir where your images are stored (with / at end)
$data_dir = "http://207.154.13.50/photopost/data/";

// If your PhotoPost tables have a prefix, put it here
// Example:
// = "pp_";
$pp_db_prefix = "";

// If you use the mobile phone integration, set this variable to the CatID for the gallery
define( MOBILE_CAT, -1 );

//------------------------------------- vB3 -----------------------------------------//
// VB3_INTEGRATION is for using vB3 headers/footers and styles
// VB3_ENHANCEDINT is for Enhanced vB3 Integration (using vB3 elements in PhotoPost)
// requires that VB3_INTEGRATION also be set to 'on'
// VB3_COMMWYSIWYG is for turning on the WYSIWYG interface on the Post A Comment page
// if you set this to 'off' then only the standard input box will appear
//
// Set to 'on' to enable specific integrations
define(VB3_INTEGRATION, 'on');
define(VB3_ENHANCEDINT, 'on');
define(VB3_COMMWYSIWYG, 'off');
//-----------------------------------------------------------------------------------//


//------------------------------------- vB2 -----------------------------------------//
// VB2_INTEGRATION is if you are using vB2 and want to use the vB2 integration
define(VB2_INTEGRATION, 'off');
//-----------------------------------------------------------------------------------//


//---------------------------------- vB2 Portal -------------------------------------//
// To use set path and set flag to 'on'
define(VBP2_INTEGRATION, 'off');
$vbportal="/home/sites/yoursite/web/vbportal";
//-----------------------------------------------------------------------------------//

?>
winnipesaukee is offline   Reply With Quote