-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
I tried sending that from a different mail account but the message didn't come through. Should it appear later, sorry for the double post. Anyways: What you're missing is that the connection info in your runtime conf is for the database named "inw" while the error message refers to "inwtng". Note also that the compiled conf contains connection info for "inw" and autoload info for "inwtng". It's a bit hard to guess from here, but I'd say that your schema.xml refers to a different database than your runtime conf. If you need further held, please post your schema.xml (or the relevant parts). Just the usual disclaimer: This is a propel problem and not an agavi problem. You might get better answers on the propel mailing list. regards felix On Apr 3, 2007, at 7:23 PM, [EMAIL PROTECTED] wrote: > Hi All, > > I am using propel for my project and I get the following exception on > loading a page with propel stuff. > > Message > =========== > No connection information in your runtime configuration file for > datasource > [inwtng] > > Stack Trace > =============== > 0: > [snip] > > > My runtime-conf.xml looks like this: > <?xml version="1.0" encoding="ISO-8859-1"?> > > <config> > <propel> > <datasources default="inw"> > <datasource id="inw"> > <!-- the Propel adapter will usually be the same as phptype of > connection DSN --> > <adapter>mysql</adapter> > <connection> > <dsn>mysql:host=localhost;dbname=inwng</dsn> > <user>inwuser</user> > <password>inwuser</password> > </connection> > </datasource> > </datasources> > </propel> > </config> > > > My proj-conf.php contains: > <?php > // This file generated by Propel 1.3.0-dev convert-props target on > Tue Apr > 3 12:23:03 2007 > // from XML runtime conf file > /home/shoan/public_html/inw-tng/app/config/runtime-conf.xml > return array ( > 'propel' => > array ( > 'datasources' => > array ( > 'inw' => > array ( > 'adapter' => 'mysql', > 'connection' => > array ( > 'dsn' => 'mysql:host=localhost;dbname=inwng', > 'user' => 'inwuser', > 'password' => 'inwuser', > ), > ), > 'default' => 'inw', > 'inwtng' => > array ( > 'classes' => > array ( > 'MfCategoryMapBuilder' => 'inwtng/map/ > MfCategoryMapBuilder.php', [snip] > 'MfRating' => 'inwtng/MfRating.php', > ), > ), > ), > 'generator_version' => '1.3.0-dev', > ), > ); > > My databases.xml is as shown below: [snip] > > I have set use_database to true in settings.xml. What am I missing > here? > > Thanks in advance. > > Peace, > Shoan. > > > > > _______________________________________________ > users mailing list > [email protected] > http://lists.agavi.org/mailman/listinfo/users - -- common sense is no longer common -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFGE2IdGLZ/2ixjPUARAvZmAJ4ofQINYOaLdhMthtStMJpB+uEi5QCggrWc SBPfMgDb4K+Y0Qj8dfaisD8= =AKEQ -----END PGP SIGNATURE----- _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
