OK, have seen a lot of these types of questions with no real anwser, have been looking at mine for 3 days now so thought I would start a post for my exact problem, here goes.
I am trying to simply display a "featured photos" box on my 3.0.3
VB forum and get the following errors:
--------------------------------------------------------------------
Warning: main(./photos/inc_features.php): failed to open stream: No such file or directory in /home/1/username/coloradok5.com/forums/index.php on line 59
Warning: main(): Failed opening './photos/inc_features.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/1/username/coloradok5.com/forums/index.php on line 59
Warning: main(./photos/inc_photopost.php): failed to open stream: No such file or directory in /home/1/username/coloradok5.com/forums/index.php on line 60
Warning: main(): Failed opening './photos/inc_photopost.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/1/username/coloradok5.com/forums/index.php on line 60
-----------------------------------------------------------------------
Info VB and PP share the same database and PP was a fresh install
Forum:
VB 3.0.3 (
VB table prefix vb_ )
Photopost 4.86 vB3 Enhanced ( PP table prefix pp_ )
Dedicated server
Apache/1.3.31 (Unix) DAV/1.0.3 mod_gzip/1.3.26.1a PHP/4.3.10 mod_ssl/2.8.19 OpenSSL/0.9.6c
My forums: coloradok5.com/forums
My photopost: coloradok5.com/photos
What I have in VB index.php
include('./photos/inc_features.php');
include('./photos/inc_photopost.php');
What I have set in PP
PhotoPost Cookie Path /
Forum Cookie Prefix bb
PhotoPost Cookie Domain .coloradok5.com
What I have set in VB
PhotoPost Cookie Path /
PhotoPost Cookie Domain .coloradok5.com
What I have in config-int.php
// We need to know the server paths to both your
vB installation and your PhotoPost instal$
$vbpath = "/home/1/username/coloradok5.com/forums";
$pppath = "/home/1/username/coloradok5.com/photos";
// We need the URL path to your PhotoPost and
vb installation
$url_path = "http://coloradok5.com/photos";
$vb_urlpath = "http://coloradok5.com/forums";
// The URL of your photo dir where your images are stored (with / at end)
$data_dir = "http://coloradok5.com/photos/data/";
// If your PhotoPost tables have a prefix, put it here
// Example:
// pp_ = "pp_";
$pp_db_prefix = "pp_";
define(VB3_INTEGRATION, 'on');
define(VB3_ENHANCEDINT, 'on');
define(VB3_COMMWYSIWYG, 'on');
----------------------------------------------
To include the PhotoPost "features" box, add the variable $photopostfeature to your template:
$header
$navbar
$photopostfeature
DONE
------------------------------------------------
Any ideas?