Hola, gracias por ayudarme.
El error que tengo es este:
Código PHP:
Fatal error: Uncaught exception 'Doctrine_Connection_Pgsql_Exception' with message 'SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "id" violates not-null constraint' in /var/www/doctrine/application/plugins/doctrine/lib/Doctrine/Connection.php:1084 Stack trace: #0 /var/www/doctrine/application/plugins/doctrine/lib/Doctrine/Connection/Statement.php(253): Doctrine_Connection->rethrowException(Object(PDOException), Object(Doctrine_Connection_Statement)) #1 /var/www/doctrine/application/plugins/doctrine/lib/Doctrine/Connection.php(1049): Doctrine_Connection_Statement->execute(Array) #2 /var/www/doctrine/application/plugins/doctrine/lib/Doctrine/Connection.php(693): Doctrine_Connection->exec('INSERT INTO pub...', Array) #3 /var/www/doctrine/application/plugins/doctrine/lib/Doctrine/Connection/UnitOfWork.php(595): Doctrine_Connection->insert(Object(Doctrine_Table), Array) #4 /var/www/doctrine/application/plugins/doctrine/lib/Doctrine/Connection/UnitOfWork.php(549): Doctrine_Connection_UnitOfWork->processSin in /var/www/doctrine/application/plugins/doctrine/lib/Doctrine/Connection.php on line 1084
La sugerencia que me dio no se como llevarlo acabo. YML es Yahoo markup lenguaje?? si es asi no lo se usar.