Hi everyone, here is one of my script (I'm a newbie in both php and ezc) :
<?php
session_start();
include_once ($_SESSION['repertoire']."/ezc/Base/src/base.php");
ezcBase::autoload('ezcDbInstance');
include($_SESSION['repertoire']."/config/db.php");
$db = ezcDbInstance::get();
foreach( $rows as $row )
{
print_r( $row );
}
?>
When I execute the script, I get the following message :
*Fatal error*: Class 'ezcBase' not found in
*/var/www/progressio/professeurs/administration/etablissements/liste_cat.php*
on line *4
*I don't uderstand why php can't find the class, although it found
base.php on line 3 without any error.
The class is defined in base.php, so it should find it, anyone has an idea?
I made two installation of ezc, one with pear, one with a download package.
My include_path is :
.:/var/www/progressio/ezc:/usr/share/php
--
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components