[phplib] PHPLIB Config. oddities From: Peter Simard (pasimard <email protected>)
Date: 02/18/01

Testing my PHPLIB configuration the first 2 steps in testing work:
<?php
$db = new DB_Example;
print "It works without error messages.<br>\n";
 ?>
^---above code works fine---^

Connects and successfully executes query, (several PHP "undefined variable" warned about, but that's OK,)
<?php include("table.inc"); // requires include_path to be functioning

  $db = new DB_Example;
  $db->query("select * from auth_user");

  $t = new Table;
  $t->heading = "on";
  $t->show_result($db);
?>

Next step, loading index.php3 fails, I get a "Cannot Find Page, Page Unavailable" in browser.

Tried changing line 16 of prepend.php3 from $_PHPLIB["libdir"] = ""; with path to phplib, however, same response.

A little stumped here. Any suggestions would be appreciated,

As Always,

Pete