Hi all,

I am using propel 1.3. I have installed it in my project directory . It is
built and got the table classes in path  " ../app/models/login  ."



I have given the path to these files in config.php



set_include_path(AgaviConfig::get(*'core.app_dir'*).*'/lib/'* .
PATH_SEPARATOR . AgaviConfig::get(*'core.app_dir'*).*'/../app/models/login'*.
PATH_SEPARATOR . get_include_path());



The query I am using



$c = *new* Criteria();

           $c->add(UserPeer::userName, "Leo");

           $c->add(UserPeer::password, "Marx");

           $result = User::doSelect($c);



I get an error like these




*Warning*: Propel::require(login/UserPeer.php)
[function.Propel-require<http://localhost/login/pub/function.Propel-require>]:
failed to open stream: No such file or directory in *
D:\xampp\htdocs\login\libs\propel\runtime\classes\propel\Propel.php* on line
*574*

*Fatal error*: Propel::require()
[function.require<http://localhost/login/pub/function.require>]:
Failed opening required 'login/UserPeer.php'
(include_path='D:\xampp\htdocs\login\app/lib/;D:\xampp\htdocs\login\app/../app/models/login;D:\xampp\htdocs\login\app/lib/;D:\xampp\htdocs\login\app/../libs/propel/runtime/classes;.;\xampp\php\pear\;d:\phing')
in *D:\xampp\htdocs\login\libs\propel\runtime\classes\propel\Propel.php* on
line *574*

* *

* *

How can I resolve this issue?



Thx

surej
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to