Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002547 [Quercus] major always 03-23-08 19:55 05-27-08 21:30
Reporter dobes_vandermeer View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.2.0 Product Version 3.1.5
  Product Build
Summary 0002547: Doesn't work with adodb_lite
Description Im trying to run CMS Made Simple on Quercus with Glassfish but I'm running
into a snag ... this class from adbodb_lite called pear_ADOConnection can't be instantiated and I don't understand why.

Here's an online version the file that's being included:

http://www.zhyh.org/comm/adodb_lite/adodbSQL_drivers/odbc/pear_module.inc [^]

If I insert a line:

$test = new pear_ADOConnection();

at the end of the file, I get:

/C:/work/habitsoft/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/cmsmsApp/lib/adodb_lite/generic_modules/pear_module.inc:193:
Fatal Error: 'pear_ADOConnection' is an unknown class name.

Which is a bit weird since that class is defined just above, in the same
file!

Here's an outline of the file for anyone who doesn't want to view the link:

<?php
// Generic Pear Module
// This module contains alternative Pear commands.
// $last_module is set to the name of a DB implementation module before
this is included.
eval('class pear_EXTENDER extends ' . $last_module . '_ADOConnection { }');

class pear_ADOConnection extends pear_EXTENDER
{

...

}

eval('class pear_resultset_EXTENDER extends ' . $last_module . '_ResultSet
{ }');

class pear_ResultSet extends pear_resultset_EXTENDER
{

...

}

$test = new pear_ResultSet(); // Unknown class name ...
$test = new pear_ADOConnection(); // Unknown class name ...
?>


Any ideas where I can look next?

Thanks!
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0003099)
ferg
05-27-08 21:30

php/1d1p
 

- Issue History
Date Modified Username Field Change
03-23-08 19:55 dobes_vandermeer New Issue
05-27-08 21:30 ferg Note Added: 0003099
05-27-08 21:30 ferg Assigned To  => ferg
05-27-08 21:30 ferg Status new => closed
05-27-08 21:30 ferg Resolution open => fixed
05-27-08 21:30 ferg Fixed in Version  => 3.2.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker