Date: 01/09/01
- Next message: Max A. Derkachev: "Re[2]: [phplib] Problem with newly commited user4.inc"
- Previous message: Philip Strnad: "Re: [phplib] Amazon.com-type login"
- In reply to: Bertrand Mansion: "Re: Re[2]: [phplib] Re: session/session4.inc versus phplib4*"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Bertrand,
Saturday, January 06, 2001, 8:15:35 PM, you wrote:
BM> I ve been trying to use your session4_custom.inc but it wouldn't work. The
BM> error I get has not much to do with your class but rather with mysql stuff:
BM> PHP Fatal error: Class db_mysql_sql: Cannot inherit from undefined
BM> class db_generic_sql
BM> Do you have any idea what I should do to fix that ?
It seems to me that you use all PHPLib stuff from the current cvs,
which contains a lot of unstable development code. I
would not recommend that - a lot of the stuff haven't been tested yet.
E.g. the db_sql.inc in the php/db dir is a slightly outdated version of
the db_sql.inc in the php/db/mysql dir. Use stable phplib's DB_Sql.
Another way is to change class definition in the php/db/db_sql.inc.
Change the line:
class DB_MySQL_Sql extends DB_Generic_Sql {
to :
class DB_Generic_Sql {
But note in the local.inc that the db class would be DB_Mysql_Sql now,
not DB_Sql. I guess this is a wrong thing, and the name DB_Mysql_Sql
would be changed back to DB_Sql soon.
-- Best regards, Max A. Derkachev mailto:kot <email protected> Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53 http://www.Books.Ru -- All Books of Russia--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>
- Next message: Max A. Derkachev: "Re[2]: [phplib] Problem with newly commited user4.inc"
- Previous message: Philip Strnad: "Re: [phplib] Amazon.com-type login"
- In reply to: Bertrand Mansion: "Re: Re[2]: [phplib] Re: session/session4.inc versus phplib4*"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

