[symfony-users] Symfony users Group

2011-03-28 Thread Alfonso Martínez Arias
Congrats, for a excelent work.

I would like to form a part of this group.

Thank you.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] [Symfony2] Problems creating sqlite database

2010-08-12 Thread Alfonso Alba García

Hi Brandon:

Thanks for your answer but it didn't solve the problem, I'm still 
getting the same error (doctrine revision 5719f85)



El 12/08/10 16:35, Brandon Turner escribió:


On 8/12/10 3:00 AM, alfonso wrote:

I'm trying to create an sqlite
database for a pilot proyect:


# file: symad/config/config_test.yml
...
doctrine.dbal:
 driver:   PDOSqlite
 dbname:   %kernel.root_dir%/sf2cmf-test
--


Try something like this:

doctrine.dbal:
  driver:  PDOSqlite
  path: %kernel.root_dir%/sf2cmf-test

or

doctrine.dbal:
  connections:
default:
  driver: PDOSqlite
  path: %kernel.root_dir%/sfcmf-test




--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] [Symfony2] Problems creating sqlite database

2010-08-12 Thread Alfonso Alba García

Hi Alexandre:

I tried your configuration:

doctrine.dbal:
driver:   PDOSQLite
path: "%kernel.root_dir%/db.sql"
user: root
password:

Unfortunately, the driver you are using doesn't work in my version of 
doctrine (revision 5719f85):


  [Doctrine\DBAL\DBALException]
  The given 'driverClass' Doctrine\DBAL\Driver\PDOSQLite\Driver has to 
implement the \Doctrine\DBAL\Driver interface.


Looking up the doctrine files I cannot find the class 
Doctrine\DBAL\Driver\*PDOSSQLite*\Driver

but Doctrine\DBAL\Driver\*PDOSqlite*\Driver

Change the driver line back to  "PDOSqlite" results in the same error:

Could not create database for connection named /path/to/db.sql
The options 'driver' or 'driverClass' are mandatory if no PDO instance 
is given to DriverManager::getConnection()


Maybe it's something wrong with doctrine?

El 12/08/10 22:55, Alexandre Salomé escribió:

Use path instead of dbname :

I have this :

doctrine.dbal:
driver:   PDOSQLite
path: "%kernel.root_dir%/db.sql"
    user: root
password:

It works, here

Le 12/08/10 10:00, alfonso a écrit :

Hi:

I keep on playing with Symfony2. I'm trying to create an sqlite
database for a pilot proyect:


# file: symad/config/config_test.yml
...
doctrine.dbal:
 driver:   PDOSqlite
 dbname:   %kernel.root_dir%/sf2cmf-test
--

Running the task:

# php symad/console-test doctrine:database:create

Results in the following error:

PHP Notice:  Undefined index: driver in /home/aalba/public_html/
symfony/symfony-cmf-website/src/vendor/doctrine/lib/vendor/doctrine-
dbal/lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php on line 54

Notice: Undefined index: driver in /home/aalba/public_html/symfony/
symfony-cmf-website/src/vendor/doctrine/lib/vendor/doctrine-dbal/lib/
Doctrine/DBAL/Schema/SqliteSchemaManager.php on line 54
Could not create database for connection named /home/aalba/public_html/
symfony/symfony-cmf-website/symad/sf2cmf-test
The options 'driver' or 'driverClass' are mandatory if no PDO instance
is given to DriverManager::getConnection().

Am I missing some parameter or doing somethign wrong? using PDOMySql
driver for the test environmenet works fine.

Alfonso

 


--
---
Alexandre Salomé -http://alexandre.salome.fr
--
If you want to report a vulnerability issue on symfony, please send it 
to security at symfony-project.com


You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] [Symfony2] Problems creating sqlite database

2010-08-12 Thread alfonso
Hi:

I keep on playing with Symfony2. I'm trying to create an sqlite
database for a pilot proyect:


# file: symad/config/config_test.yml
...
doctrine.dbal:
driver:   PDOSqlite
dbname:   %kernel.root_dir%/sf2cmf-test
--

Running the task:

# php symad/console-test doctrine:database:create

Results in the following error:

PHP Notice:  Undefined index: driver in /home/aalba/public_html/
symfony/symfony-cmf-website/src/vendor/doctrine/lib/vendor/doctrine-
dbal/lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php on line 54

Notice: Undefined index: driver in /home/aalba/public_html/symfony/
symfony-cmf-website/src/vendor/doctrine/lib/vendor/doctrine-dbal/lib/
Doctrine/DBAL/Schema/SqliteSchemaManager.php on line 54
Could not create database for connection named /home/aalba/public_html/
symfony/symfony-cmf-website/symad/sf2cmf-test
The options 'driver' or 'driverClass' are mandatory if no PDO instance
is given to DriverManager::getConnection().

Am I missing some parameter or doing somethign wrong? using PDOMySql
driver for the test environmenet works fine.

Alfonso

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] [Symfony2] 'The parameter "doctrine.orm.metadata_driver.mapping_dirs" must be defined.' when running doctrine:schema:create

2010-08-10 Thread Alfonso Alba García
After applying the patch, the exception was gone but I was getting the 
message "No Metadata Classes to process."


I renamed the directory "Entities" to "Entity" inside my bundle (also 
the namespace of my User.php class) and know everything worked fine.


Thanks a lot for your help!!


El 09/08/10 14:18, Antoine Hérault escribió:

Hello,

When you try to load the doctrine extension, it throws 
an InvalidArgumentException with the message 'The parameter 
"doctrine.orm.metadata_driver.mapping_dirs" must be defined.'.


Patch : http://github.com/herzult/symfony/tree/ticket_8953

Trac ticket : http://trac.symfony-project.org/ticket/8953


2010/8/9 Alexandre Salomé <mailto:alexandre.sal...@gmail.com>>


Please copy/paste your config.yml section about doctrine.orm

Another information : It's Entity, instead of Entities (recently
changed).

2010/8/9 alfonso mailto:aalbagar...@gmail.com>>

Hi.

I'm trying to follow the Doctrine Guide for Symfony2 (http://
docs.symfony-reloaded.org/guides/doctrine/overview.html
<http://docs.symfony-reloaded.org/guides/doctrine/overview.html>).
I'm usign
Symfony2 revision d440f2e and doctrine revision 11b2542.

After creating the src/Application/myappBundle/Entities/User.php
entity file, I'm trying to run doctrine:schema:create but I get an
exception:

# php myapp/console doctrine:schema:create


[InvalidArgumentException]
 The parameter "doctrine.orm.metadata_driver.mapping_dirs" must be
defined.


Any clue about what I'm doing wrong? I guess there's a parameter I
should  define somewhere, but I have no clue about where should I
    define it. I tried myapp/config/config.yml but didn't work.

Thanks in advance,

Alfonso.

--
If you want to report a vulnerability issue on symfony, please
send it to security at symfony-project.com
<http://symfony-project.com>

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to
symfony-users@googlegroups.com
<mailto:symfony-users@googlegroups.com>
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
<mailto:symfony-users%2bunsubscr...@googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en




-- 
Alexandre Salomé

http://alexandre-salome.fr

-- 
If you want to report a vulnerability issue on symfony, please

send it to security at symfony-project.com
<http://symfony-project.com>

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to
symfony-users@googlegroups.com <mailto:symfony-users@googlegroups.com>
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
<mailto:symfony-users%2bunsubscr...@googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


--
If you want to report a vulnerability issue on symfony, please send it 
to security at symfony-project.com


You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] [Symfony2] 'The parameter "doctrine.orm.metadata_driver.mapping_dirs" must be defined.' when running doctrine:schema:create

2010-08-09 Thread alfonso
Hi.

I'm trying to follow the Doctrine Guide for Symfony2 (http://
docs.symfony-reloaded.org/guides/doctrine/overview.html). I'm usign
Symfony2 revision d440f2e and doctrine revision 11b2542.

After creating the src/Application/myappBundle/Entities/User.php
entity file, I'm trying to run doctrine:schema:create but I get an
exception:

# php myapp/console doctrine:schema:create

 
[InvalidArgumentException]
  The parameter "doctrine.orm.metadata_driver.mapping_dirs" must be
defined.


Any clue about what I'm doing wrong? I guess there's a parameter I
should  define somewhere, but I have no clue about where should I
define it. I tried myapp/config/config.yml but didn't work.

Thanks in advance,

Alfonso.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en