View Single Post
Old October 14th, 2004, 05:10 PM   #1 (permalink)
mightyjlr
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 39
vb3 integration - header-inc.php problem

I get this error after having edited my header-inc.php file.

Warning: main(./languages/english/pp-inc.php): failed to open stream: No such file or directory in /home/virtual/site8/fst/var/www/html/gallery/pp-inc.php on line 63

Fatal error: main(): Failed opening required './languages/english/pp-inc.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site8/fst/var/www/html/gallery/pp-inc.php on line 63

This is what my header-inc.php file looks like:

$vbpath ="/home/virtual/site8/fst/var/www/html/forum";
$pppath ="/home/virtual/site8/fst/var/www/html/gallery";
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;
?>

Where is the problem?
mightyjlr is offline   Reply With Quote