Hi there,
I got an issue concerning the Propel support in connection with my
Security implementation.
First I configured my database.xml
?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations>
<configuration>
<databases default="propel">
<database name="propel" class="AgaviPropelDatabase">
<parameters>
<parameter
name="config">%core.app_dir%/config/cdb-conf.php</parameter>
</parameters>
</database>
</databases>
</configuration>
</configurations>
use_database in settings.xml is set to true. I tested the propel support
in the default action. It works fine.
In the next step I implemented a User class based on the
AgaviSampleAppUser class. I configured this class as user in the
factories.xml ( <user class="CdbUser" /> ) and in the autoload.xml (
<autoload name="CdbUser">%core.lib_dir%/user/CdbUser.class.php</autoload> ).
So if I send a request to the application I get a warning:
Warning: Propel::include() [function.include]: Failed opening '' for
inclusion
I know that it seems that I don't have activated the database support
but I do have activated it.
So I looked in the code and for some reason the config path for
AgaviPropelDatabase is not set. As a workaround I set the defaultConfigPath.
I tested this also with the 011.1 RC1. It's just the same.
Has anybody an idea?
Many thanks
Sel
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users