Path failure when testing an weblog installation

From: Date: Sat, 04 Jan 2003 19:35:54 +0000
Subject: Path failure when testing an weblog installation
Groups: php.install 
Request: Send a blank email to php-install+get-9553@lists.php.net to get a copy of this message
Background Information: I've just been asked to evaluate Drupal (a weblog content management system written in PHP) for something. I've installed Drupal in a subdirectory of my serverroot <serverroot>/drp I'm running Apache 2.0.40 and PHP 4.2.2 on a standard RH8 system. phpinfo() and standard PHp test routines run from scripts in the /drp directory work perfectly. ******************************************************************** However, trying to run the Drupal index.php script to initialize the system results in a page that looks like this ... *********************************************************************** >Warning: Failed opening '/drp/includes/common.inc' for inclusion (include_path='.:/php/includes:./includes:/usr/share/pear') in /var/www/html/drp/index.php on line 4 >Fatal error: Call to undefined function: page_header() in /var/www/html/drp/index.php on line 6 ************************************************************************ The relevant part of the script that generates this error is ... ************************************************************************ <?php include_once "includes/common.inc"; page_header(); ***<snip>*** ?> ************************************************************************ Please note, I've fiddled with the include_path directive in php.ini a bit to try to solve this, so the reported path isn't standard any more, but the problem persists with any include_path values I can think of. I've checked both the drupal support lists and php documentation, but can't get a handle on what exactly is wrong here, or rather, obviously its something to do with the include path, but what exactly is wrong? Any ideas? I know this isn't a drupal support list, but this seems to be a problem involving my PHP setup, rather than drupal. A possibly related problem is that a local .htaccess file doesn't seem to be working,but I'm still trying to research this myself ... I reserve the right to scream for help if I can't solve that problem later <g> Thanks TD

« previous php.install (#9553) next »