[Fwd: Re: [phpslash-users] Cannot inherit from undefined class db_sql]
Brought to you by:
joestewart,
nhruby
From: nathan r. h. <na...@ds...> - 2002-05-05 15:29:21
|
-------- Original Message -------- Subject: Re: [phpslash-users] Cannot inherit from undefined class db_sql Date: Sat, 04 May 2002 18:39:43 -0400 From: "nathan r. hruby" <na...@ds...> To: Ian Hawkins <sab...@ya...> References: <200...@we...> Ian Hawkins wrote: > Adi, > Thanks for the advice; I got phplib up and running. > > However, I'm now getting the following error from > phpslash when I try to run > .../public_html/phpslash/index.php3 > > Fatal error: Class slashdb: Cannot inherit from > undefined class db_sql in > /home/brighthu/public_html/phpslash/config.php3 on > line 75 > Two things: 1) This is a common thing. db_sql is part of phplib, if you're getting that error phplib isn't setup correctly. I'm not sure what your setup is, but the easiest way is to simplt put a line at the top of config.php that reads: include('/path/to/phplib/prepend.php3'); This will make sure that all of phplib's functionality is setup correctly 2) You are using phpsalash-0.62. Consider using 0.65pre1, CVS HEAD or wait a day or so for me to release 0.65-final. There are substanial changes on 0.65 and if you're jsut setting up a site, it's silly to install something only to upgrade it in a day. I meant to release 0.65 last weekend but I hosed my RedHat system, got brave and isntalled Debian. Fianlly got my bearing with debian this week, tried to restore my backups from the redhat box only to notice that the zip drive had eaten them. Ho hum.. So it's been a poopy week for me in terms of comptuers, but I will co -ft tonight and get it into -stable and make a release before the end of Sunday barring any last minute bugs with the current CVS. -n |