Additional information: 

I just thought to switch into the script directory and run 

#php index.php 

from the command line .. the output is exactly what it should be.. it
therefore seems to be something wrong with my  Apache/PHP setup, not the
script.

TD



On Sat, 2003-01-04 at 19:35, Tony Dietrich wrote:
> 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
> 
> 
> 
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to