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 October 14th, 2004, 11:13 PM   #1 (permalink)
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
Upgraded now error

Just upgraded and I am getting all of these errors. The weird thing is that my path is /home/kevinstr/public_html/photopost

not home2/...

Warning: chdir(): No such file or directory (errno 2) in /home2/kevinstr/public_html/photopost/header-inc.php on line 12

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

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

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






My config file is:


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

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


My VB# Lic number has been entered in the Config File.

My header-inc.php file has this:

$vbportal="/home/kevinstr/public_html"; // No ending slash
$pppath ="/home/kevinstr/public_html/photopost"; // No ending slash


I do not know where that home2 is coming from...
kevinrstruck is offline   Reply With Quote
Old October 16th, 2004, 08:35 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Well

First thing is are you running VB2? Cause thats the only reason you would use VBPortal

If your running VB3 you need to use the VB3 Integration in the header include towards the bottom of that file. We do not support beta products like VBPortal 3 and that VBportal thing is not written for that. Redo the header include with the proper stuff in VB3 integration header and see what you come up with
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; October 16th, 2004 at 08:38 AM.
Chuck S is offline   Reply With Quote
Old October 16th, 2004, 11:43 AM   #3 (permalink)
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
Thanks Omegatron - We are using VB3.

I did use the VB3 integration header. Here is that part of that file: Is there anything wrong here?

$vbpath ="/home/kevinstr/public_html/forums"; // changeme
$pppath ="/home/kevinstr/public_html/photopost"; // changeme
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;
?>
kevinrstruck is offline   Reply With Quote
Old October 16th, 2004, 07:33 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
If you used the bottom part of the file how come your errors are from the top?

Warning: chdir(): No such file or directory (errno 2) in /home2/kevinstr/public_html/photopost/header-inc.php on line 12

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

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

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


If you uncommented those lines you were not suppose to
__________________
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
Old October 16th, 2004, 08:21 PM   #5 (permalink)
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
OK. Here is my entire file with the appopriate changes. First the error is now this:

Warning: chdir(): No such file or directory (errno 2) in /home2/kevinstr/public_html/photopost/header-inc.php on line 38

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

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

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




<?php
// vBPortal Integration
// If you want to include the vBPortal header, footer, and left menu, remove
// the "//" slashes from the beginning of the 16 lines of code below, and change
// "/home/public_html/vbportal" to your actual path to vbportal's main directory,
// and change "/home/public_html/photopost" to your actual path to PhotoPost's
// directory. This will override the default header and footer variables set in the
// PhotoPost admin panel.

//$vbportal="/home/kevinstr/public_html"; // No ending slash
//$pppath ="/home/kevinstr/public_html/photopost"; // No ending slash
//chdir($vbportal . "/");
//require ("mainfile.php");
//$index = 0;
//global $Pmenu,$Pheader;
//$Pheader="P_themeheader";
//$Pmenu="P_thememenu_photopost";
//require("header.php");
//$vbheader=ob_get_contents();
//ob_end_clean();
//ob_start();
//require("footer.php");
//$vbfooter=ob_get_contents();
//ob_end_clean();
//chdir($pppath . "/");

// vBulletin Integration
// Instead of using the static header/footer file specified in the Admin options
// panel, you can use your existing default vBulletin header/footer. Just change
// $vbpath and $pppath below to the proper full paths and remove the "//" slashes
// from the beginning of the 27 lines of code below. If PhotoPost has an odd
// background color or squished width, you will need to edit vbulletin's default
// "header" style input box / template and change "{pagebgcolor}" and "{tablewidth}"
// (near the bottom) to your preferred background color and table width, respectively.

$vbpath ="/home/kevinstr/public_html/forums"; // changeme
$pppath ="/home/kevinstr/public_html/photopost"; // changeme
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;
?>
kevinrstruck is offline   Reply With Quote
Old October 17th, 2004, 09:54 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Is this a new domain? What is the url?

You have a link to phpinfo? Your server somewhere is rewriting the url

Have you tried the /home2 path and seen if it works?
__________________
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
Old October 17th, 2004, 05:25 PM   #7 (permalink)
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
http://www.thephotostation.net/photopost



phpinfo says this:


DOCUMENT_ROOT /home2/kevinstr/public_html



_SERVER["SCRIPT_FILENAME"] /home2/kevinstr/public_html/forums/admincp/index.php



_SERVER["PATH_TRANSLATED"] /home2/kevinstr/public_html/forums/admincp/index.php


Is this something in my code or is the server incorrectly setup? I have VB3 installed and everything there is pointing to home not home2 and it is working fine.

This is not a new domain. My host had some major issues with the database server, but they say everthing is back to normal.
kevinrstruck is offline   Reply With Quote
Old October 18th, 2004, 12:08 AM   #8 (permalink)
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
Old October 21st, 2004, 04:19 PM   #9 (permalink)
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
Is the pay option available for installation for broken sites? I cannot wait any longer - site has been down for over 2 weeks. My users are getting angry.
kevinrstruck is offline   Reply With Quote
Old October 21st, 2004, 05:39 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Are you asking if you pay for installation whether we would install this correctly?

You can purchase an installation here

http://store.yahoo.com/techimo/photlic.html

HOWEVER I WOULD CHECK YOUR SETTING TABLE AND SEE WHAT LINE 41 HAS ENTERED. LOOKS LIKE YOUR INTEGRATION IS SET TO NOTHING. YOU MIGHT WANT TO CORRECT THAT AND SET IT TO THE PROPER INTEGRATION. if your running vb3 just but vb3 on the setting line for line 41
__________________
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
Old October 21st, 2004, 08:48 PM   #11 (permalink)
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
Thank you thank you thank you. I knew I was missing something that obvious. It seems to be working correctly now.

You guys are the best.
kevinrstruck 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Just upgraded to vBulletin 3.50 - Error Sal Collaziano Classifieds Installation & Upgrades 11 October 17th, 2005 05:33 PM
upgraded to 3.1 and database error agiacosa ReviewPost Installation & Upgrades 5 October 13th, 2005 10:02 AM
HELP, upgraded 4.8 to 5.03..error SHalliday Photopost Pro Installation & Upgrades 1 June 6th, 2005 10:28 AM
Upgraded to 2.1, now get error when trying to view an ad macsamurai Classifieds Installation & Upgrades 2 January 27th, 2005 10:46 PM


All times are GMT -5. The time now is 09:29 PM.

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