[geeklog-devel] pair + geeklog

Pat F pfawcett at smx.pair.com
Mon Jan 5 16:49:11 EST 2004


I found a potential problem, and made sure it was consistant by attempting
multiple installs.  From my config.php file
in /usr/www/users/fawcett/refer I saw that it has $_CONF['path'] declared
twice:

//
+---------------------------------------------------------------------------+
// | (2) Paths
|
//
+---------------------------------------------------------------------------+

// Note for Windows users: It's safe to use the forward slash '/' instead
of
// the backslash '\' in paths. Make sure each path starts with a drive
letter!

$_CONF['path']            = '/usr/www/users/fawcett/refer/';
$_CONF['path']            = '/path/to/geeklog/'; // should end in a slash


I'm guessing that this causes a problem further down in the installation
process.

-Patrick


On Mon, 5 Jan 2004, Tony Bibbs wrote:

> It appears that, for some reason, in config.php the $_CONF['path'] isn't
>    set right.  Judging by the warnings, it is set to /path/to/geeklog/
> (the default) instead of that actual location.
>
> Jason, I assume this is something that should be determined
> automagically, right?  Can you send me the source code?  We really need
> to have this in CVS.  Dirk, where do you want it...in /etc under
> geeklog-1.3?
>
> --Tony
>
> Pat F wrote:
> > Guys,
> >
> > I've been busy and haven't messed with our Geeklog installer since version
> > 1.3.7sr2 (very bad on my part, I know).  It seems to work OK except for
> > this one warning, then error:
> >
> > ...
> > ...
> > Downloading package: geeklog-1.3.8-1sr3...ok
> > Extracting package: geeklog-1.3.8-1sr3....ok
> > Moving files..............................ok
> > Setting directory rights..................ok
> > Creating config.php.......................ok
> > Creating lib-common.php...................ok
> > Creating the Database.....................
> > Warning: main(/path/to/geeklog/system/databases/mysql.class.php): failed
> > to open stream: No such file or directory in
> > /usr/www/users/fawcett/refer/system/lib-database.php on line 111
> >
> > Fatal error: main(): Failed opening required
> > '/path/to/geeklog/system/databases/mysql.class.php'
> > (include_path='/usr/local/lib/php') in
> > /usr/www/users/fawcett/refer/system/lib-database.php on line 111
> >
> >
> > Can you please tell me what might be the cause of this error?
> >
> > Thanks,
> >
> > Patrick
> > _______________________________________________
> > geeklog-devel mailing list
> > geeklog-devel at lists.geeklog.net
> > http://lists.geeklog.net/listinfo/geeklog-devel
>
>

Patrick



More information about the geeklog-devel mailing list