On Tue, Apr 8, 2008 at 8:27 PM, Greg Bowser <[EMAIL PROTECTED]> wrote:
> <?php echo 'begin brainstorm.'; ?>
>
> Is it possible that something is "going wrong" between the definition
> of $CFG->foo and when you require that could cause $CFG->dirroot to be
> null? Then it would point to /lib/setup.php, which definitely
> shouldn't exist and should thus throw an error, but maybe it's worth
> looking into.
>
> <?php require_once('Have you tried including a file that definitely
> does not exist?'); ?> That would rule out any error reporting problems
> anyway.
>
> Have you tried something to the effect of <?php echo __FILE__ . '
> included'; ?> on the first line of setup.php? Adding <?php
> print_r(get_included_files()); ?> after the require_once() might also
> help.
>
>
> > I've confirmed that the file setup.php exists and is readable.
> I apologize if this seems obvious, but for the sake of
> brainstorming... it's readable by the user running apache, right? And
> even if it weren't, that should have thrown an error *shrugs*
>
> That's all I can think of. I hope it is of some use to you.
>
> <?php echo 'end brainstorm.'; ?>
>
> <?php signature('GREG'); ?>
>
>
You should try:
<?php
require_once("/home/rcrawford/public_html/tanktrunk/tanktrunk/lib/setup.php");
?>
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php