http://www.tightheads.org/forum/index.php http://www.tightheads.org/forum/photopost/index.php
Before the server was restored from the backup, everything in PP functioned correctly, with the exception that I wasn't using enhanced
vb integration.
Post backup, none of the settings were changed. So the paths should be the same. Everything seems to work as advertised except that PP won't display the full sized image. It displays thumbnails and medium sized just fine. I checked the /data directory, and all the images are there.
// If you have placed PhotoPost into a seperate database, you will need to
// uncomment these lines to connect to the PhotoPost database. It is suggested
// that you install PP into the same database as vB for better performance.
//
// If you use the same userid/password to access both databases, you don't need to
// uncomment the mysql_connect - this is only if you require different ids to access
// the PhotoPost database.
All of the database user id's and passwords are identical. I've tried with the mysql_connect uncommented and with the user id and password inserted as well as commented out... with identical results and the same error messages.
When I try to back up the database through PP, I get this...
Warning: filesize() [function.filesize]: Stat failed for /pp_admingroups.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_admingroups.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_admlog.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_admlog.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_cache.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_cache.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_categories.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_categories.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_comments.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_comments.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_ecards.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_ecards.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_exif.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_exif.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_extrafields.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_extrafields.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_favorites.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_favorites.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_ipcache.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_ipcache.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_iponline.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_iponline.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_laston.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_laston.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_notify.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_notify.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_photoextras.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_photoextras.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_photos.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_photos.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_photoviews.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_photoviews.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_searchids.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_searchids.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_settings.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_settings.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_sort.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_sort.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_sortmemb.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_sortmemb.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_usergroups.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_usergroups.sql is 0 bytes or did not get created.
Warning: filesize() [function.filesize]: Stat failed for /pp_users.sql (errno=2 - No such file or directory) in /home/tighthea/public_html/forum/photopost/adm-misc.php on line 1937
Warning: pp_users.sql is 0 bytes or did not get created.
Here are all of my config files. I've edited out user id's and passwords [checked many times to make sure they all match] and colored that text red.
inc_features.php
//$link = mysql_connect ("localhost", "
CORRECT USER", "
CORRECT PASSWORD") or die('I cannot connect to the database.');
mysql_select_db ("tighthea_vbdb01")or die("Could not select photopost database");
// If you use PhotoPost in a seperate database from
vB, you'll need to reselect the
vB database!
mysql_select_db ("tighthea_vbdb01");
inc_photopost.php
//$link = mysql_connect ("localhost", "
CORRECT USER", "
CORRECT PASSWORD") or die('I cannot connect to the database.');
mysql_select_db ("tighthea_vbdb01")or die("Could not select photopost database");
// If you use PhotoPost in a seperate database from
vB, you'll need to reselect the
vB database!
mysql_select_db ("tighthea_vbdb01");
config-inc.php
<?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, edit the header-inc.php
//
if ( !isset($skip_exheader) ) {
include "header-inc.php";
}
// PhotoPost Pro Version Number
$VERSION = "5.31";
// Path to your PhotoPost installation - no end slashes
$PP_PATH = "/home/tighthea/public_html/forum/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="tighthea_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="
CORRECT USER";
$mysql_password="
CORRECT 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 = "pp_";
// 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="tighthea_vbdb01";
// 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="
CORRECT USER";
$password_bb="
CORRECT PASSWORD";
//
// 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 = "
LICENSE NUMBER ENTERED";
//**************** 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/X11/mogrify";
?>
config-int.php
<?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/tighthea/public_html/forum/";
$pppath = "/home/tighthea/public_html/forum/photopost";
// We need the URL path to your PhotoPost and
vb installation
$url_path = "http://www.tightheads.org/forum/photopost";
$vb_urlpath = "http://www.tightheads.org/forum/";
// The URL of your photo dir where your images are stored (with / at end)
$data_dir = "http://www.tightheads.org/forum/photopost/data/";
// If your PhotoPost tables have a prefix, put it here
// Example:
// pp_ = "pp_";
$pp_db_prefix = "pp_";
// 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, 'on');
//-----------------------------------------------------------------------------------//
//------------------------------------- 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";
//-----------------------------------------------------------------------------------//
?>