Had a similar problem, I solved it adding package="lib.model" in the
database node.
<database defaultIdMethod="native" name="propel"
package="lib.model">
simo
On Jun 7, 11:01 pm, Japo <[EMAIL PROTECTED]> wrote:
> Hello there,
> i've switched recently on a Mac and need to be able to work with
> symfony on it.
> I got MAMP installed, i've installed symfony with pear.
>
> i svn checked out the project on my computer, changed the config
> files, and then I get this nasty error. I google it a few days but no
> solution. Also looked here on forum for solutions but
>
> here is my databases.yml
>
> all:
> --propel:
> --class:-sfPropelDatabase
> --param:
> ----dsn:-mysql://root:[EMAIL PROTECTED]/project
> ----encoding:-utf8
>
> "-" = white space
>
> ---------------
> here is the beggining of schema.xml
>
> <?xml version="1.0" encoding="UTF-8"?>
> <database defaultIdMethod="native" name="propel">
> <table name="track">
> <column name="id" type="INTEGER" primaryKey="true" required="true"
> autoIncrement="true"/>
> <column name="album_id" type="INTEGER" required="true"/>
> <column name="artist_id" type="INTEGER" required="true"/>
> ....
>
> -------------------
> propel.ini
>
> propel.targetPackage = lib.model
> propel.packageObjectModel = false
> propel.project = moose
> propel.database = mysql
> propel.database.createUrl = mysql://[EMAIL PROTECTED]/
> propel.database.url = mysql://[EMAIL PROTECTED]/project
>
> propel.addGenericAccessors = true
> propel.addGenericMutators = true
> propel.addTimeStamp = false
>
> propel.schema.validate = false
>
> ; directories
> propel.home = .
> propel.output.dir = /Users/vonaradu/Sites/project
> propel.schema.dir = ${propel.output.dir}/config
>
> -----------------
> config.php
>
> $sf_symfony_lib_dir = '/usr/local/symfony/lib';
> $sf_symfony_data_dir = '/usr/local/symfony/data';
>
> the same project checked out from the repository on a windows system
> it;s working just fine, but on mac seems everything I do I get stuck
> with this issue.
>
> Please help!
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---