Quote:
Originally Posted by Marc118
What format did you use when adding the full forum path? I can seem to get it to work with
home/XXXXX/public_html/forums/includes/functions_misc.php
public_html/forums/includes/functions_misc.php
forums/includes/functions_misc.php
|
I put the DirPath.php script (attached to this post) in my /forum directory, and ran it, which in my case on a funky fasthosts shared linux host for my test board, gave me the following for the path to my forum directory:
/home/fhlinux165/c/cannabismongoose.com/user/htdocs/forum
As I hardcoded the paths further on, I commented out line 43, making it:
Code:
// $vwd = getcwd();
I replaced line 350, which was:
Code:
require_once($vwd . '/includes/class_bbcode.php');
With:
Code:
require_once('/home/fhlinux165/c/cannabismongoose.com/user/htdocs/forum/includes/class_bbcode.php');
As WP no longer contains this file in 2.3.1, I commented out line 400, making it:
Code:
// require_once(ABSPATH . 'wp-admin/admin-db.php');
I replaced line 466, which was:
Code:
require_once($vwd . '/includes/functions_misc.php');
With:
Code:
require_once('/home/fhlinux165/c/cannabismongoose.com/user/htdocs/forum/includes/functions_misc.php');
Obviously, replace /home/fhlinux165/c/cannabismongoose.com/user/htdocs/forum with the path to your forums returned by the attached DirPath.php script run in your forum directory.
*I'd note that before I hardcoded the paths, I did try to change line 43 to:
Code:
$vwd = '/home/fhlinux165/c/cannabismongoose.com/user/htdocs/forum'
But it still gave me the line 466 error, so I went with hardcoding the paths, instead.
Cheers.