[symfony-users] Doctrine.ORM Proxy

2010-08-12 Thread Michael
Trying to run this script:

$products = $this-getEntityManager()
   -getRepository('Bundle\HelloBundle\Entity
\Product')
   -findAll();

But keep getting this error:

Fatal error: Class 'Proxies\BundleHelloBundleEntityCategoryProxy' not
found in ../src/vendor/doctrine/lib/Doctrine/ORM/Proxy/
ProxyFactory.php on line 92

In the Product entity, I defined the category:

/**
 * @var Category
 * @OneToOne(targetEntity=Category)
 * @JoinColumn(name=category_id, referencedColumnName=id)
 */
private $category;

Any idea why this is happening?

-- 
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] rutas proyecto jobeet

2010-08-12 Thread alejo
saludos consultando por la modificacion de las rutas del proyecto

modifico mi routing.yml

# default rules
homepage:
  url:   /
  param: { module: job, action: index }

# generic rules
# please, remove them by adding more specific rules
default_index:
  url:   /:module
  param: { action: index }

default:
  url:   /:module/:action/*

y desde el navegador puedo visualizar mi aplicacion

http://localhost/jobeet/web/

pero al querer ingresar algun enlace new, edit
http://localhost/jobeet/web/job/new

el navegador me muestra pagina de error
/
Object not found!

The requested URL was not found on this server. The link on the
referring page seems to be wrong or outdated. Please inform the author
of that page about the error.

If you think this is a server error, please contact the webmaster.
Error 404
localhost
08/11/10 17:22:55
Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g
mod_autoindex_color PHP/5.2.5

//


una ayuda con este problema

esto no ocurre si estoy en modo dev
http://localhost/jobeet/web/frontend_dev.php/
desde aqui si se puede navegar por todos los enlaces

-- 
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] Doctrine.ORM Proxy

2010-08-12 Thread Michael
Been trying to create a simple findAll() request:

$users = $this-getEntityManager()
   -createQuery('Bundle\HelloBundle\Entity\User')
   -findAll();

but keep getting the following error:

Fatal error: Class 'Proxies\BundleHelloBundleEntityProfileProxy' not
found in ../src/vendor/doctrine/lib/Doctrine/ORM/Proxy/
ProxyFactory.php on line 92

any ideas?

Note: the User entity has a OneToOne join with the Profile entiry

-- 
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] rutas proyecto jobeet

2010-08-12 Thread alejandro_miguel
saludos consultando por la modificacion de las rutas del proyecto

modifico mi routing.yml

# default rules
homepage:
  url:   /
  param: { module: job, action: index }

# generic rules
# please, remove them by adding more specific rules
default_index:
  url:   /:module
  param: { action: index }

default:
  url:   /:module/:action/*

y desde el navegador puedo visualizar mi aplicacion

http://localhost/jobeet/web/

pero al querer ingresar algun enlace new, edit
http://localhost/jobeet/web/job/new

el navegador me muestra pagina de error
/
Object not found!

The requested URL was not found on this server. The link on the
referring page seems to be wrong or outdated. Please inform the author
of that page about the error.

If you think this is a server error, please contact the webmaster.
Error 404
localhost
08/11/10 17:22:55
Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g
mod_autoindex_color PHP/5.2.5

//


una ayuda con este problema

esto no ocurre si estoy en modo dev
http://localhost/jobeet/web/frontend_dev.php/
desde aqui si se puede navegar por todos los enlaces


-- 
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] Re: Architectural Confusion in Symfony2

2010-08-12 Thread Jay
That's really good to hear Fabien. The thought had occurred to me of
only having one application, but my mind (and I'm assuming everyone
elses minds) were still lingering in the symfony 1.4 mindset of
multiple apps within projects. This clears a lot up and probably saved
us a lot of pain down the road. thanks!

-- 
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] Doctrine.ORM Proxy

2010-08-12 Thread Tim Nagel
Sounds like you havent generated your Proxy objects based on the Entities.

t

On Thu, Aug 12, 2010 at 08:55, Michael excelwebz...@gmail.com wrote:

 Been trying to create a simple findAll() request:

 $users = $this-getEntityManager()
   -createQuery('Bundle\HelloBundle\Entity\User')
   -findAll();

 but keep getting the following error:

 Fatal error: Class 'Proxies\BundleHelloBundleEntityProfileProxy' not
 found in ../src/vendor/doctrine/lib/Doctrine/ORM/Proxy/
 ProxyFactory.php on line 92

 any ideas?

 Note: the User entity has a OneToOne join with the Profile entiry

 --
 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.comsymfony-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


[symfony-users] Re: Install plugins programmatically?

2010-08-12 Thread Damon Jones
You can certainly run these tasks from within a task, as described
here:
http://www.symfony-project.org/more-with-symfony/1_4/en/13-Leveraging-the-Power-of-the-Command-Line

So, maybe you can create instance of these tasks and run them from
elsewhere in your code.

I think the issue would be how you enable them in your
ProjectConfiguration.

On Aug 11, 8:49 pm, Gustavo Adrian comfortablynum...@gmail.com
wrote:
 Hi!

 Quick question: Is there a way to install and enable a plugin from PHP?

 Thanks!

-- 
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] Dependency Injection in Symfony2

2010-08-12 Thread Fabien Potencier


On 8/12/10 12:24 AM, Brandon Turner wrote:

Is there anyway to load the default configuration for a bundle *without*
a line such as:

#config.yml:
mybundle.config: ~
in a configuration file? Is it correct to assume that the following
procedure must *always* be done to install a bundle that utilizes
semantic configuration:

1) Install the bundle in src/Bundle/%vendor%/%bundle%
2) Enable bundle in application kernel. (e.g. in hello/HelloKernel.php
add new MyBundle() to the registerBundles method)
3) Add custom configuration.
3a) If the default configuration suffices, add mybundle.config: ~ to
your config.yml file (xml, php, ini, etc)

I guess I'm wondering if it is possible to avoid step 3a and if so how?



Yes, it is possible but I don't recommend it. I think it's better to be 
more explicit. As a matter of fact, it was very easy to do with PR2, and 
a little less easy with PR3 (just to remind you that this is probably 
not the best thing to do ;)). Here is the code (I suppose that you have 
created an extension as you talk about semantic configuration):


class FooBundle extends Bundle
{
public function registerExtensions(ContainerBuilder $container)
{
// will register the FooBundle extension(s) found in 
DependencyInjection/ directory

parent::registerExtensions($container);

// load some defaults
$container-load('foo', 'config', array(/* you default config 
for the foo.config namespace */));

}
}

Fabien



Thanks,
Brandon



--
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] Re: Install plugins programmatically?

2010-08-12 Thread Stéphane
There is a class which helps you wrapping methods. Search for
sfClassManipulator.

Cheers,

Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!


On Thu, Aug 12, 2010 at 8:07 AM, Damon Jones damonljo...@gmail.com wrote:

 You can certainly run these tasks from within a task, as described
 here:

 http://www.symfony-project.org/more-with-symfony/1_4/en/13-Leveraging-the-Power-of-the-Command-Line

 So, maybe you can create instance of these tasks and run them from
 elsewhere in your code.

 I think the issue would be how you enable them in your
 ProjectConfiguration.

 On Aug 11, 8:49 pm, Gustavo Adrian comfortablynum...@gmail.com
 wrote:
  Hi!
 
  Quick question: Is there a way to install and enable a plugin from PHP?
 
  Thanks!

 --
 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.comsymfony-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


[symfony-users] Re: Virtual Columns with tabular layout

2010-08-12 Thread Wildancer
So there isn't a simple way for do it, I can't use the %%placeolders%%
if I need virtual columns in the tabular layout?
It's quite strange i think!!

On 12 Ago, 00:50, Alexandre Salomé alexandre.sal...@gmail.com wrote:
   Override generated templates, or go back to columns.

 Take a look at documentation for overriding generated templates(version
 1.4 of documentation if you are using it).

 Le 11/08/10 16:24, Wildancer a crit :

  Good afternoon,
  I'm a n00b, excuse my question if it's too simple, but I can't find
  nothing in the official distribution.

  How I can make a virtual column (
 http://www.symfony-project.org/jobeet/1_4/Doctrine/en/12#chapter_12_s...
  )
  with the tabular layout?

  Tanks,
  Claudio

 --
 ---
 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


[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


[symfony-users] Different result on two servers when submitting a form that sends email automatically

2010-08-12 Thread El Duderino
The project I am working on is using Symfony 1.4 and the backend has a
number of forms that when the data is changed and the form submitted,
the user in question is notified by email.

On our development server all goes fine, the page redirects back to '/
page-you-are-on/15/edit' and the email has arrived.

On the PreProduction server though, with the company that will host
the site when it goes live, when you submit the form, it sends the
email but instead of returning to '/page-you-are-on/15/edit' with a
Flash confirmation message, the page goes to '/page-you-are-on' with
this error message:

'The page is not available
It is possible that the web page http://www.projectsite.com/page-you-are-on
is temporarily inactive or has been moved to a different address.

More information - Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error'

The site uses PHPMailer (BLSysEmail.class.php) to send the email.

It appears the PreProduction server is returning the wrong header but
any help on why this is happening and how to resolve it would be much
appreciated.

Thanks!

-- 
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] propel version of apostrophe?

2010-08-12 Thread Tofuwarrior
Hi,

Apologies to apostrophe group members for cross posting.

We have started using symfony1.4 and propel1.5 to develop our
applications and definitely no regrets but now we have have 2 choices
- port our own CMS (which is already  propel and MVC but not symfony
driven) across into symfony OR take an existing symfony CMS like
apostrophe and look to develop a symfony version of it.

We don't feel the web needs yet another CMS and apostrophe looks great
from the demo but, we don't know if what we are talking about is
feasible. We don't have any experience with Doctrine

It would seem to make sense to do this in some way that made it so
that we could easily keep the propel 'branch' updated with the
Doctrine developments.

What does anyone think?

Any thoughts/guidance as to how this could be approached would be
gratefully received.

Cheers,

Paul

-- 
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] Log exception stack trace in production

2010-08-12 Thread gopi
Hi..

We are using symfony 1.4 and we see that whenever an exception is
raised on a request, the log contains only the exception message($e-
message).

Is there any config setting to get the full stack trace of the
exception logged to the log file (in production).  Else, which is the
right place to make the change?  [I looked at sfException.class.php
but wasn't very sure if it is the right place]

thanks
gopi

-- 
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] how can i make a functional Test with is Redirected To ?

2010-08-12 Thread RusAlex
I want to make a functional test, which similar to this:
Click edit button and then redirected to my page, and i want to check
redirected url.

$browser-info('3 - Click Submit on edit keyword')-
  get('/keyword/edit/id/'.$wiki_keyword-getId())-
  info('Click Submit')-
click('Save')-
  with('response')-begin()-
isRedirected('module', 'domain')-
  end()
;

isRedirected doesnt use any arguments. And always PASSed if being
redirect

Symfony 1.4.

-- 
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] Country City problem

2010-08-12 Thread Andro Fumero
Good day,

Does any one tried to make a drop down Countries, and when its clicked, it will 
display the list of cities based on the selected Country.

I don't care if its from Database or Jscript. I just want to get this done 
because I'm stuck with this problem. have no clue where to start.

Any help would be great. Bless you.

Thanks


  

-- 
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


AW: [symfony-users] how can i make a functional Test with is Redirected To ?

2010-08-12 Thread Christopher Schnell
you can do it this way:

...
with('response')-begin()-
isRedirected()-
followRedirect()-
end()-
with('request')-begin()-
isParameter('module', 'myModule')-
isParameter('action', 'myAction')-
end();

Regards,
Christopher.


 -Ursprüngliche Nachricht-
 Von: symfony-users@googlegroups.com [mailto:symfony-
 us...@googlegroups.com] Im Auftrag von RusAlex
 Gesendet: Donnerstag, 12. August 2010 14:18
 An: symfony users
 Betreff: [symfony-users] how can i make a functional Test with is
 Redirected To ?
 
 I want to make a functional test, which similar to this:
 Click edit button and then redirected to my page, and i want to check
 redirected url.
 
 $browser-info('3 - Click Submit on edit keyword')-
   get('/keyword/edit/id/'.$wiki_keyword-getId())-
   info('Click Submit')-
 click('Save')-
   with('response')-begin()-
 isRedirected('module', 'domain')-
   end()
 ;
 
 isRedirected doesnt use any arguments. And always PASSed if being
 redirect
 
 Symfony 1.4.
 
 --
 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


Re: [symfony-users] Country City problem

2010-08-12 Thread Daniel Lohse
http://www.symfony-project.org/plugins/sfDependentSelectPlugin

But you'll likely have to translate the documentation using Google Translate. 
;-)


Cheers, Daniel

PS: I did not develop this plugin and I haven't used it, so this is just fyi.

On 12.08.2010, at 15:00, Andro Fumero wrote:

 Good day,
 
 Does any one tried to make a drop down Countries, and when its clicked, it 
 will display the list of cities based on the selected Country.
 
 I don't care if its from Database or Jscript. I just want to get this done 
 because I'm stuck with this problem. have no clue where to start.
 
 Any help would be great. Bless you.
 
 Thanks
 
 
 
 -- 
 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] ARUBA hosting ERROR: Install PDO and PDO driver: mysql

2010-08-12 Thread Johnny
Dear all,

I'm trying to use a symfony application but when I try to login on the
remote serve I gave this error:
ERROR: Install PDO and PDO driver: mysql

The hosting is italian and its name is www.aruba.it
Many thanks
Giovanni

-- 
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] Re: Doctrine.ORM Proxy

2010-08-12 Thread Michael
I run the console script (doctrine:generate:proxies) to create proxy
classes, but still getting this error, what do i need to do?

On Aug 11, 11:02 pm, Tim Nagel t...@nagel.com.au wrote:
 Sounds like you havent generated your Proxy objects based on the Entities.

 t

 On Thu, Aug 12, 2010 at 08:55, Michael excelwebz...@gmail.com wrote:
  Been trying to create a simple findAll() request:

  $users = $this-getEntityManager()
                        -createQuery('Bundle\HelloBundle\Entity\User')
                        -findAll();

  but keep getting the following error:

  Fatal error: Class 'Proxies\BundleHelloBundleEntityProfileProxy' not
  found in ../src/vendor/doctrine/lib/Doctrine/ORM/Proxy/
  ProxyFactory.php on line 92

  any ideas?

  Note: the User entity has a OneToOne join with the Profile entiry

  --
  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.comsymfony-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


Re: [symfony-users] ARUBA hosting ERROR: Install PDO and PDO driver: mysql

2010-08-12 Thread Eno
On Thu, 12 Aug 2010, Johnny wrote:

 I'm trying to use a symfony application but when I try to login on the
 remote serve I gave this error:
 ERROR: Install PDO and PDO driver: mysql

Error message is self-explanatory: you need to install the PDO/PDO-mysql 
drivers to run symfony.



-- 
A

-- 
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 Brandon Turner


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


[symfony-users] Tuto Jobeet

2010-08-12 Thread Seb
Hy everyone,

I have a little question about this tuto : 
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/02
How do they do to make the Interface's prototype (I mean what
programme do they use) ?

thanks !!

-- 
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] Tuto Jobeet

2010-08-12 Thread Gábor Fási
They were created with Balsamiq mockups,
http://www.balsamiq.com/products/mockups

On Thu, Aug 12, 2010 at 17:12, Seb colladonsebast...@gmail.com wrote:
 Hy everyone,

 I have a little question about this tuto : 
 http://www.symfony-project.org/jobeet/1_4/Doctrine/en/02
 How do they do to make the Interface's prototype (I mean what
 programme do they use) ?

 thanks !!

 --
 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] Strange problem with multiple db connections

2010-08-12 Thread Zuchuat Bertrand
Hi Jon,

I have a strange problem with multiple db connections.

My databases.yml (definition):

all:
  common:
class:sfDoctrineDatabase
param:
  dsn:'oracle:dbname=//server:1521/sid'
  username:   x
  password:   x
  web:
class:sfDoctrineDatabase
param:
  dsn:'oracle:dbname=//server:1521/sid'
  username:   x
  password:   x
  virtua:
class:sfDoctrineDatabase
param:
  dsn:'oracle:dbname=//server:1521/sid2'
  username:   x
  password:   x


My model AffiliationGroup connected on common connection name. I show this on 
BaseClass:
Doctrine_Manager::getInstance()-bindComponent('AffiliationGroup', 'common');

I use this code to get records on my table:
$this-agroups = Doctrine_Core::getTable('AffiliationGroup')-retrieveActive();

With that, i have this error:
500 | Internal Server Error | Doctrine_Connection_Oracle_Exception

If i check the query on debug bar, i show this:
SELECT c.id AS c__id, c.name AS c__name, (SELECT COUNT(c2.id) AS c2__0 FROM 
common.affiliation c2 WHERE (c2.affiliation_group_id = c.id AND c2.is_enabled = 
1 AND c2.is_visible = 1)) AS c__0 FROM common.affiliation_group c WHERE 
(c.is_show_on_map = '1' AND (c.deleted_at IS NULL)) ORDER BY c.name

0.00s, virtua connection

virtua is strong connection. The correct name for that is common.

I check that with mysql. I have the same problem.

Please help me with that because i start a project with 3 connections and i 
have a big problem with that.

Thanks for you help.

Bertrand Zuchuat




-- 
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] Re: propel version of apostrophe?

2010-08-12 Thread Richtermeister
I would imagine that at this point you can do everything that Doctrine
can do equally easily with Propel, and the port should be fairly
straight forward.
I would be very interested in such a development as well, and very
available to help out.

Daniel


On Aug 12, 3:02 am, Tofuwarrior p...@clearintent.co.uk wrote:
 Hi,

 Apologies to apostrophe group members for cross posting.

 We have started using symfony1.4 and propel1.5 to develop our
 applications and definitely no regrets but now we have have 2 choices
 - port our own CMS (which is already  propel and MVC but not symfony
 driven) across into symfony OR take an existing symfony CMS like
 apostrophe and look to develop a symfony version of it.

 We don't feel the web needs yet another CMS and apostrophe looks great
 from the demo but, we don't know if what we are talking about is
 feasible. We don't have any experience with Doctrine

 It would seem to make sense to do this in some way that made it so
 that we could easily keep the propel 'branch' updated with the
 Doctrine developments.

 What does anyone think?

 Any thoughts/guidance as to how this could be approached would be
 gratefully received.

 Cheers,

 Paul

-- 
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] Re: how can i make a functional Test with is Redirected To ?

2010-08-12 Thread RusAlex
Thanks, for best answer

On Aug 12, 5:08 pm, Christopher Schnell christopher.schn...@mda.ch
wrote:
 you can do it this way:

 ...
 with('response')-begin()-
     isRedirected()-
     followRedirect()-
 end()-
 with('request')-begin()-
     isParameter('module', 'myModule')-
     isParameter('action', 'myAction')-
 end();

 Regards,
 Christopher.



  -Ursprüngliche Nachricht-
  Von: symfony-users@googlegroups.com [mailto:symfony-
  us...@googlegroups.com] Im Auftrag von RusAlex
  Gesendet: Donnerstag, 12. August 2010 14:18
  An: symfony users
  Betreff: [symfony-users] how can i make a functional Test with is
  Redirected To ?

  I want to make a functional test, which similar to this:
  Click edit button and then redirected to my page, and i want to check
  redirected url.

  $browser-info('3 - Click Submit on edit keyword')-
    get('/keyword/edit/id/'.$wiki_keyword-getId())-
    info('Click Submit')-
  click('Save')-
    with('response')-begin()-
      isRedirected('module', 'domain')-
    end()
  ;

  isRedirected doesnt use any arguments. And always PASSed if being
  redirect

  Symfony 1.4.

  --
  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] string foreign key

2010-08-12 Thread Sela
i use in my schema the 2 letters country code as my foreign key.
so first primary key was id and i got the value in the options the IDs
or PromoteCountry, then I thought I would use the country column as
the primary key to test this option, but the admin didn't display
anything as i know it doesn't display primary key. so not sure how to
use the foreign keys between tables instead of numeric values, string.

schema.yml
PromoteCountry:
  columns:
country:
  type: string(2)
  notnull: true
#  primary: true
  options:
collate: utf8_unicode_ci
charset: utf8
  relations:
BookingComHotels: { local: country, foreign: country, onDelete:
cascade, foreignAlias: PromoteCountrys }

BookingComHotels:
  columns:
id_hash:
  type: BINARY(16)
  notnull: true
  unique: true
town:
  type: string(100)
  notnull: true
quantity:
  type: integer(4)
country:
  type: string(2)
  notnull: true
promote:
  type: boolean
  options:
collate: utf8_unicode_ci
charset: utf8

-- 
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] How i can implement this with sfGuard plugin

2010-08-12 Thread RusAlex
Im only new member there and only studying symfony.
I have simple frontend like from manual ex. with Job module, What i
want to implement?
users can login and view/add/edit only their jobs.

-- 
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] Re: How i can implement this with sfGuard plugin

2010-08-12 Thread RusAlex
I have my own opinion:

I need to add new field user into job table, and use edited actions
to show:

class jobActions extends sfActions
{
  public function executeIndex(sfWebRequest $request)
  {
$this-jobs = Doctrine::getTable('JobeetJob')
  -createQuery('a')
  -where('a.user = ?' , $this-getUser()-getUsername())
  -execute();
  }

Is this a right approach for solving my task ?

-- 
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] Re: Install plugins programmatically?

2010-08-12 Thread Gustavo Adrian
Hi, first of all, thank you both guys for your answers.

@Damon: I couldn't try that yet but, as you said, the only problem I see is
that I have no way (that I know) of enable the plugin on
ProjectConfiguration class. And this class is used on the very first part of
the framework initialization. I need this because I need a way to install (a
kind of) plugins from my backend to extend a CMS I'm developing and, if I
could use the plugin functionality that Symfony already has, it would be
great. If I can't, then I'd need to create my own plugin system (which, as
you would guess, it can take a long time).

@Stéphane: Could you point me to a place where Symfony use this to look for
examples of code? In which way would you use this class for my need?


Thank you both again!

On Thu, Aug 12, 2010 at 4:33 AM, Stéphane stephane.er...@gmail.com wrote:

 There is a class which helps you wrapping methods. Search for
 sfClassManipulator.

 Cheers,

 Before Printing, Think about Your Environmental Responsibility!
 Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!



 On Thu, Aug 12, 2010 at 8:07 AM, Damon Jones damonljo...@gmail.comwrote:

 You can certainly run these tasks from within a task, as described
 here:

 http://www.symfony-project.org/more-with-symfony/1_4/en/13-Leveraging-the-Power-of-the-Command-Line

 So, maybe you can create instance of these tasks and run them from
 elsewhere in your code.

 I think the issue would be how you enable them in your
 ProjectConfiguration.

 On Aug 11, 8:49 pm, Gustavo Adrian comfortablynum...@gmail.com
 wrote:
  Hi!
 
  Quick question: Is there a way to install and enable a plugin from PHP?
 
  Thanks!

 --
 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.comsymfony-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.comsymfony-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


Re: [symfony-users] Question about form and redirect

2010-08-12 Thread Stef
On Wed, Aug 11, 2010 at 6:44 PM, Gábor Fási maerl...@gmail.com wrote:

 Why don't you directly post your data to the search action? You can
 validate and do the search there.


I've read that you should do a redirect when a form was submitted by POST.
If I redirect I've managed to access the submitted data

-- 
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] Question about form and redirect

2010-08-12 Thread Gábor Fási
That only applies to stuff like posting to a blog or a forum - when
reloading the page does harm, for example by duplicating content. It
is ok to not redirect in case of a search.

On Thu, Aug 12, 2010 at 22:12, Stef stephane.bachel...@gmail.com wrote:




 On Wed, Aug 11, 2010 at 6:44 PM, Gábor Fási maerl...@gmail.com wrote:

 Why don't you directly post your data to the search action? You can
 validate and do the search there.


 I've read that you should do a redirect when a form was submitted by POST.
 If I redirect I've managed to access the submitted data

 --
 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] symfony form not merging with existing object data (1.4.7-DEV)

2010-08-12 Thread ashton
I have generated an action using doctrine:generate-module (I can
reproduce this behavior in the admin module as well)

When I post to the update page with an incomplete set of values (just
the title for instance) so:
/api_dev.php/event/update?id=1event[title]=nothing
The object is updated and saves correctly, but all the other values in
the object (except title in this instance) get nulled.

This is easy to test by building the module and then removing one form
element that has saved data in it from the page and then saving the
form.  When saving that form without that form element, it gets
nulled. I would assume that I am somehow building the form or binding
it incorrectly, but I am using the generated code.  Is this expected
behavior? How do I change this so that I can just update the existing
object without having to pass all values every time?

-- 
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 Alexandre Salomé

 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


Re: [symfony-users] sfGuard redirecting to referrer OR to default, can't have both?

2010-08-12 Thread Alexandre Salomé

 Override the sfGuard controller.

Create a module sfGuardAuth in your application, create the 
actions.class.php and extends the same class as the controller in the 
plugin.


Override the executeSignin method to create your behavior

Le 12/08/10 13:23, Tofuwarrior a écrit :

Hi,

We've got an app where if someone attempts too access a secure url and
is not logged in they see the login and then are redirected via
referrer back ot the orignially requested url.

BUT ...
if they just click the login button we want them to be redirected to a
default secure area index page not the home page as currently happens.

Anyone know how we can do this or have any ideas - setting
signin_success for sfGuard overrides the redirection to referrer we
have in the first use case.

Thanks,

Paul



--
---
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


Re: [symfony-users] Different result on two servers when submitting a form that sends email automatically

2010-08-12 Thread Alexandre Salomé

 Must be a strange behavior from your HTTP server installation.

Try with another server, that you are sure it is configured correctly. 
Maybe a strange behavior from your mail server.


Try debugging, with simple tests :

   * Disable mail sending
   * Compare the HTTP responses of each installation (diff)
   * Try some simple tests, out of your application : HTTP Redirection,
 HTTP Header modifications, etc.

And give us feedback ;)


Le 12/08/10 11:32, El Duderino a écrit :

The project I am working on is using Symfony 1.4 and the backend has a
number of forms that when the data is changed and the form submitted,
the user in question is notified by email.

On our development server all goes fine, the page redirects back to '/
page-you-are-on/15/edit' and the email has arrived.

On the PreProduction server though, with the company that will host
the site when it goes live, when you submit the form, it sends the
email but instead of returning to '/page-you-are-on/15/edit' with a
Flash confirmation message, the page goes to '/page-you-are-on' with
this error message:

'The page is not available
It is possible that the web page http://www.projectsite.com/page-you-are-on
is temporarily inactive or has been moved to a different address.

More information - Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error'

The site uses PHPMailer (BLSysEmail.class.php) to send the email.

It appears the PreProduction server is returning the wrong header but
any help on why this is happening and how to resolve it would be much
appreciated.

Thanks!



--
---
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


Re: [symfony-users] Re: Virtual Columns with tabular layout

2010-08-12 Thread Alexandre Salomé

 Sorry, i hadn't read this chapter. It's good, I read it.

Try putting the relation name in your list attribute :

   list: [ id, title, content, category ]

Your Category object has to have a __toString method. Otherwise, you 
will have to use partials.


Le 12/08/10 08:55, Wildancer a écrit :

So there isn't a simple way for do it, I can't use the %%placeolders%%
if I need virtual columns in the tabular layout?
It's quite strange i think!!

On 12 Ago, 00:50, Alexandre Saloméalexandre.sal...@gmail.com  wrote:

   Override generated templates, or go back to columns.

Take a look at documentation for overriding generated templates(version
1.4 of documentation if you are using it).

Le 11/08/10 16:24, Wildancer a crit :


Good afternoon,
I'm a n00b, excuse my question if it's too simple, but I can't find
nothing in the official distribution.
How I can make a virtual column (
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/12#chapter_12_s...
)
with the tabular layout?
Tanks,
Claudio

--
---
Alexandre Salom -http://alexandre.salome.fr


--
---
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


Re: [symfony-users] rutas proyecto jobeet

2010-08-12 Thread Alexandre Salomé


Must be an error in your Apache configuration.

Set the RewriteBase value in your .htaccess to /jobeet/web, or change 
your DocumentRoot (in Apache configuration) to your project folder.


Please, send questions in english, more easy for people to 
understand/answer.
Por favor, envíe sus preguntas en Inglés, más fácil que la gente 
entienda / respuesta.


Le 12/08/10 00:27, alejo a écrit :

saludos consultando por la modificacion de las rutas del proyecto

modifico mi routing.yml

# default rules
homepage:
   url:   /
   param: { module: job, action: index }

# generic rules
# please, remove them by adding more specific rules
default_index:
   url:   /:module
   param: { action: index }

default:
   url:   /:module/:action/*

y desde el navegador puedo visualizar mi aplicacion

http://localhost/jobeet/web/

pero al querer ingresar algun enlace new, edit
http://localhost/jobeet/web/job/new

el navegador me muestra pagina de error
/
Object not found!

The requested URL was not found on this server. The link on the
referring page seems to be wrong or outdated. Please inform the author
of that page about the error.

If you think this is a server error, please contact the webmaster.
Error 404
localhost
08/11/10 17:22:55
Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g
mod_autoindex_color PHP/5.2.5

//


una ayuda con este problema

esto no ocurre si estoy en modo dev
http://localhost/jobeet/web/frontend_dev.php/
desde aqui si se puede navegar por todos los enlaces



--
---
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


Re: [symfony-users] Question about form and redirect

2010-08-12 Thread Stef
On Thu, Aug 12, 2010 at 10:15 PM, Gábor Fási maerl...@gmail.com wrote:

 That only applies to stuff like posting to a blog or a forum - when
 reloading the page does harm, for example by duplicating content. It
 is ok to not redirect in case of a search.


Thanks for your explanation! It's crystal clear ;)

-- 
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


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