View Single Post
Old October 18th, 2004, 12:08 AM   #8 (permalink)
kevinrstruck
Member
 
Join Date: Dec 2002
Location: Lone Tree, Colorado
Posts: 140
Send a message via AIM to kevinrstruck Send a message via Yahoo to kevinrstruck
Willing to Pay whatever price to get this working...

First let me say this: I will pay whatever price is neccessary for a correct installation of this. This error is driving me nuts, and I know it is probably something simple I am missing. I have been working on this for 16 hours straight and I am about to put a gun to my head. I have been a customer of PP for 3 years and never had this many problems.


I went through everything including the VB intergration FAQ and made all of my changes. I re-uploaded a brand new config-inc.php file and a header-inc.php file. I double checked all of my paths.

As an FYI, my forums directory is:
home2/kevinrstr/public_html/forums
not sure why it is saying photopost/forums/.php


Warning: main(/home2/kevinstr/public_html/photopost/forums/.php): failed to open stream: No such file or directory in /home2/kevinstr/public_html/photopost/pp-inc.php on line 2468

Warning: main(/home2/kevinstr/public_html/photopost/forums/.php): failed to open stream: No such file or directory in /home2/kevinstr/public_html/photopost/pp-inc.php on line 2468

Fatal error: main(): Failed opening required '/home2/kevinstr/public_html/photopost/forums/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/kevinstr/public_html/photopost/pp-inc.php on line 2468




Here is my header.inc file:

$vbpath ="/home2/kevinstr/public_html/forums";
$pppath ="/home2/kevinstr/public_html/photopost";
chdir($vbpath);
require("./global.php");

eval('$navbar = "' . fetch_template('navbar') . '";');

$vbheader = "$stylevar[htmldoctype]
<html dir=\"$stylevar[textdirection]\" lang=\"$stylevar[languagecode]\">
<head>
$headinclude";

$vbheader .= "</head>
<body>
$header
$navbar
<div align=\"center\">";

eval('$vbfooter = "' . fetch_template('footer') . '";');
$vbfooter = process_replacement_vars($vbfooter);
$vbfooter = "</div>$vbfooter";
chdir($pppath . "/");

$HTTP_POST_FILES = $_FILES;
$HTTP_POST_VARS = $_POST;
?>


Here is my config-inc.php file:

<?php
//**************** 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, first edit the header-inc.php
//

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

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

// Path to your PhotoPost installation - no end slashes
$PP_PATH = "/home2/kevinstr/public_html/photopost";

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

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

// 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="kevinstr_admin";
$mysql_password="1402race";

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

// 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="kevinstr_admin";
$password_bb="1402race";

//
// VB3 License Number required for VB3 integration
//
$vblicense = "12818635";

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

// Are the Boards OPEN or CLOSED?
// set this to "closed" if you want your boards to be offline
$ppboards="open";

// Display message when closed
$closedmsg = "The boards are temporarily down for maintainence.";

// 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/local/bin/mogrify";

// This only needs to be set if you are extracting EXIF information from images. These are full paths,
// including the name of the executable (.exe extensions for windows)
$jhead_command = "/usr/bin/jhead";

// Some systems have a problem with users who upload PhotoShop 7 images which can cause a browser
// load problem. If you would like to "clean" any JPG image uploaded before being processed;
// enter the path to your jpegtran executable.
// The path should include the full path (including executable).
// Example: $jpegtran = "/usr/bin/jpegtran";
// Exmaple: $jpegtran = "c:/windows/system/jpegtran.exe";
$jpegtran = "/usr/bin/jpegtran";
$jpegtran = "/usr/share/man/man1/jpegtran.1.gz";

// If you want to perform online backups, you need to set the paths below
// mysqldumppath is the path, including filename for the executable
// backupdir is the path to the DIRECTORY where you want the backups stored
$mysqldumppath = "/usr/bin/mysqldump";
$backupdir = "/home2/kevinstr/public_html/photopost/backups";

// GD2 support
// this will only work if you have GD2 or better installed
// 0 - use mogrify; 1 - use GD2; 2- use GD1
$usegd=0;

// on-the-fly watermarks
// requires GD2 and you must edit the file watermark.php
$onthefly=0;

// Debug variable.
// 0 = No debug notifications
// 1 = Program should generate an email and send it to the site administrator
// 2 = Program should terminate with a formatted screen with error message
// When set to 0 or 1, the program will not end on non-fatal errors.
$debug=2;

// Cookie variables
// This should be set to match the path/domain for your cookies,
// $cookie_path = "/"; sets the cookie to be usable throughout the site.
// $cookie_domain = ".domain.com"; sets the cookie to be usable across the domain
// If your BB system has a different setting, then you need to put that path here as well.
$cookie_path = "/";
$cookie_domain = "";

// Cookie Prefix
// Default vB3:
$cookieprefix = "bb";
// Default phpBB2:
//$cookieprefix = "phpbb2mysql";
// Default Threads:
//$cookieprefix = "w3t_";
$cookieprefix="";

// BotBuster integration
// http://www.botbuster.com
// Set to "yes" if you have BotBuster on your system (this includes the necessary tag)
$botbuster="no";

// ZLIB compression
// Set to "1" if you want to enable Zlib compression
$compression="0";

// Date Format
// you can change the format of how dates are displayed
// keywords:
// dow = day of week (Mon, Tue, Wed...)
// month = month (Jan, Feb, Mar...)
// mm = month in numerical format, dd = date, yyyy = year
$ppdateformat = "dow month dd, yyyy";

// If you are running VB and want the server to display the time as an offset
// of GMT (for example, to the timezone where your server is located), enter the
// offset here
$gmtoffset = 0;

// IP caching
// This variable is used to track IP addresses and userids for voting and viewing purposes
// $ipcache is set in HOURS. To limit voting and view increments to once a day, you would set
// $ipcache to 24. Depending on the volume of activity on your set, you may want to monitor
// the size of your cache and adjust accordingly.
//
// Setting $ipcache to 0 disables this feature.
$ipcache = 0;

?>





Thanks for all your help.

Last edited by kevinrstruck; October 20th, 2004 at 04:25 PM.
kevinrstruck is offline   Reply With Quote