Re: [symfony-users] Re: Symfony 2 : Validate Doctrine ArrayCollection

2011-01-27 Thread Bernhard Schussek
Hi Donald,

This is implemented now, although waiting to be pulled into Fabien's master.
https://github.com/bschussek/symfony/commit/a2615de332480303a85b2499c4e40e33627787cf

Traversable objects will be traversed by the @Valid constraint.
Traversal can be disabled by setting the option "traverse" to false.

/**
 * @Valid(traverse="false")
 */
protected $shouldNotBeTraversed;

Cheers,
Bernhard
--
Software Architect & Engineer
Blog: http://webmozarts.com
Twitter: http://twitter.com/webmozart

-- 
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: Introducing Vespolina - the new sf2 based e-commerce platform

2011-01-27 Thread Bernhard Schussek
2011/1/28 Richard D Shank :
> We have spent some time thinking about it, but I'm finding the more we think
> about it, the more our ideas change :).

I highly recommend analyzing other successful e-commerce projects
(also in other programming languages). This can change your vision a
lot to the better.

Go for it, the project sounds interesting. I hope enough people will
join you and collaborate on this project.

Bernhard
--
Software Architect & Engineer
Blog: http://webmozarts.com
Twitter: http://twitter.com/webmozart

-- 
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] (PR5) Int & Integer constraints

2011-01-27 Thread Bernhard Schussek
Hi,

First of all, please stop cross-posting the two lists.

Second, this is intended behaviour. AssertType("integer") checks that
the actual data type of the value is integer, so if you pass the
string '5' this validation fails.

Additionally, I recommend using @Max(9) in combination with
numbers instead of @MaxLength.

Bernhard
--
Software Architect & Engineer
Blog: http://webmozarts.com
Twitter: http://twitter.com/webmozart

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

2011-01-27 Thread DisTurBinG
Hello All,

I'm new and having a problem with inheritance.

I have two things I want to solve

First:

Input: [b]console doctrine:generate:entities [/b]
Error: [b]No identifier/primary key specified for Entity 'Bundle
\RegisterBundle\Entity\Member'. Every Entity must have an identifier/
primary key.  [/b]

The Primary key is not being inherited for some reason.  How could I
use ORM to allow the parent to have a primary key?

NOTE: [b]I know that the orm works because if I put the ID into both
Member.php and AbstractMember.php, It works fine and creates the
tables.[/b]

Code:
// AbstractMember.php
[code]
/**
 * @orm:Entity
 * @orm:InheritanceType("SINGLE_TABLE")
 * @orm:DiscriminatorColumn(name="discr", type="string")
 * @orm:DiscriminatorMap({"member" = "AbstractMember", "cookon_member"
= "CookonMember"})
 * @orm:Table(name="member")
 *
 * Abstract member class
 *
 * @author Disturbing
 */
abstract class AbstractMember
{
/**
 * @orm:id
 * @orm:Column(type="integer")
 * @orm:GeneratedValue(strategy="IDENTITY")
 */
private $id;

/**
 * @orm:email
 * @orm:Column(type="string", length="32")
 *
 * @validation:NotBlank(message="You must enter your email
address.")
 * @validation:Email(checkMX=true)
 * @validation:MaxLength(32)
*/
private $email;

/**
 * @orm:password
 * @orm:Column(type="string", length="32")
 *
 * @validation:NotBlank(message="You must enter a password.")
 * @validation:MinLength(6)
 * @validation:MaxLength(32)
*/
private $password;

public function getEmail()
{
return $this->email;
}

public function setEmail($email)
{
$this->email = $email;
}

public function getPassword()
{
return $this->email;
}

public function setPassword($password)
{
$this->password = $password;
}
}
[/code]
Code:
// Member.php
[code]
firstName;
}

public function setFirstName($firstName)
{
$this->firstName = $firstName;
}

public function getLastName()
{
   return $this->lastName;
}

public function setLastName($lastName)
{
$this->lastName = $lastName;
}

public function getZipCode()
{
   return $this->zipCode;
}

public function setZipCode($zipCode)
{
$this->zipCode = $zipCode;
}
}
[/code]


Second Problem:

With Inheritance, why do I need @orm:DiscriminatorColumn(name="discr",
type="string").
I want to be inheriting with a SINGLE_TABLE and no references.  Maybe
the discriminator key needs to be unique id?  Please explain on this
if any.

I've looked all over google and can't find a solution, it seems just
basic:  * @orm:inheritance(type="simple", extends="AbstractMember")
with YML configuration works fine from what people say, but it isn't
here.

Best Regards, Thanks in Advance and Thanks for the wonderful
Framework.

~DisTurBinG

-- 
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] (PR5) Int & Integer constraints

2011-01-27 Thread DisTurBinG
Hello,

I am using this code which does not assert true for input of 5:

[code]
/**
 * @validation:NotBlank(message="You must enter your zip code.")
 * @validation:AssertType(type="int", message="You entered an
invalid zip code.")
 * @validation:MaxLength(5)
 */
private $zipCode;

===

OR

/**
 * @validation:NotBlank(message="You must enter your zip code.")
 * @validation:AssertType(type="integer", message="You entered an
invalid zip code.")
 * @validation:MaxLength(5)
 */
private $zipCode;
[/code]

This code works fine, but of course is not proper for what I want.

[code]
/**
 * @validation:NotBlank(message="You must enter your zip code.")
 * @validation:AssertType(type="numeric", message="You entered an
invalid zip code.")
 * @validation:MaxLength(5)
 */
private $zipCode;
[/code]

Can someone check to see if they are having a similar issue so I can
report it as a bug or be proved wrong?

Thanks in advance & Thanks you for such a sweet framework.

~DisTurBinG

-- 
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] script écrit avec symfony

2011-01-27 Thread sarah Nagazi
bj tout le monde, je suis appelé à corriger un Script de compte a
rebours écrit avec Symphony ,
Il fonctionne très bien sauf que ce script monte le cpu du serveur a
100% et fait ramer tout le site. j'ai supposé donc qu'il fallait
l'optimiser ou le reeecrire. Le script qui pose probleme est le script
qui se trouve dans le fichier WORKFLOW.sh qui se trouve dans le
repertoire : /home/encheres-gagnantes/public_html/NEW-VERSION.
j'ai télécharger Vim 7.3 pour pouvoir ouvrir le fichier workflow.sh,
ensuite j'ai trouvé dedans ce script:

#/bin/bash
cd /home/encheres-gagnantes/public_html/NEW-VERSION/www
while(true) do
php symfony test:unit workflow
done;

Si vous pouvez m'aider! je n'ai pas su après avoir accédé à ce
fichier.sh quoi faire par de suite!!! pour pouvoir trouver les bugs et
remédier ces prob!

-- 
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: Introducing Vespolina - the new sf2 based e-commerce platform

2011-01-27 Thread Richard D Shank

On 01/27/2011 10:38 AM, Stéphane wrote:

Hello,

Good to see that !

Have you already thought about how you will modelize the product 
breakdown ?
We have spent some time thinking about it, but I'm finding the more we 
think about it, the more our ideas change :).  We don't have anything 
set in stone at this point.  Part of our reasoning for writing out use 
cases is to get a better idea of the range of requirement then come up 
with a solution that has the flexibility to work in that range.


I have started some times ago a dmCommercePlugin which is far far away 
from a finished plugin, but it's starting idea, for now is to let 
accredited users "define" product types, their characteristics, and so 
on, via backend dedicated interface.

I'll take some time to look at this.


What about this ? I don't know about about Magento, but is it 
something you guys wish to see in vespolina (nice name btw) ?
It is something we will absolutely have in Vespolina (glad you like the 
name).  We are using MongoDB in order to get around some of the 
nightmares that you have when you let someone define the types and 
characteristics of a product.


The product will actually be more than just a description of a good or 
service, it will actually have the ability to know its own workflow in 
the ecommerce process.  A digital download has a very different delivery 
method and inventory requirements than a hand crafted table and chairs 
or from selling seats for a sporting event or a pizza delivery 
service.   It could be possible to have 3 very different types of 
products in an order (an example could be a band where you might be 
purchasing an mp3, a DVD of their latest show and tickets for an 
upcoming show) and each product is handled in a very different way.   
The product has to know what it should do with itself so this can also 
be defined and of course there will be standard workflows set up for 
different product types


Thanks for the feedback

Richard

--
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: Introducing Vespolina - the new sf2 based e-commerce platform

2011-01-27 Thread Richard D Shank

On 01/26/2011 09:56 AM, Justen Doherty wrote:
I've made a start on a personal ecommerce project in symfony 1.4 - at 
the moment its just got categories/subcategories with a photo library 
in the backend.. but i've been coding this in my spare time at home, 
if anyone is interested i can make the code available via github :)

Yes, put it up, I'd love to see it.


i have also had a look at the monster that is magento and i think it 
has far too many features that arent necessary for my small shop and 
thats why i have decided to roll my own- not to take any shine away 
from magento, its a fantastic application and i wish i had the time to 
get my head around it :)


That is one of the goals of the project, have some ready to go setups 
that would probably be all you need for your smaller shop, but when the 
day comes you need more, you can do it, without resorting to hacking 
what you have.


Thanks for the response

Richard





--
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: Introducing Vespolina - the new sf2 based e-commerce platform

2011-01-27 Thread Richard D Shank

On 01/26/2011 09:50 AM, Richtermeister wrote:

So, my solution has always been to build semi-custom E-Commerce
solutions based on symfony1 so far, and I'd be happy to contribute
what I've learned, and what code I've written. My general attitude
towards the project that you're trying to undertake is that I wouldn't
make it a "product" with a name, etc.. I would simply focus on
providing solid and flexible E-Commerce bundles that SF2 users can use
as they please, because as you already found, the people who aren't
happy with Magento and such packages, will probably have custom
requirements that you'll have a hard time to predict.
I think this is a situation where you want both elements to the 
project.  The top focus is reusablity of bundles, not just in Vespolina, 
but in any SF2 project.  A currency converter could be handy without the 
full ecommerce set.  A workflow bundle could be helpful in a 
non-commerce site.


The other side to the coin is have a quick and easy way for people to 
get started.  Look at wordpress and drupal.  They are huge, not because 
of the architecture of the project, but because its pretty easy to get 
started with those.  In fact, most shared hosting has a button to push 
to install those.  If it isn't easy to get started, the average person 
will pick another project.


I think you'll get more traction by having 3 or 4 "typical" setups that 
can be installed effortlessly, which cover 80% of the needs.  Then the 
beautiful thing will be the ability to customize, instead of the hacking 
that happens. One of the goals of the Vespolina project (not sure if its 
stated, but needs to be) is to have a system that can actually grow with 
your buisness.  Not just get you started then in a year or so have to go 
with a completely different system.

So, my 2 cents of what's needed are:

- a unified payment bundle that supports the large gateways and easy
addition of small ones for custom needs. the sfPaymentPlugin (http://
www.symfony-project.org/plugins/sfPaymentPlugin) seems to attempt
this, but it seems to have run out of steam.. that could and should be
revived unless they ran into insurmountable issues.
Agreed.  Actually, our philosophy is having a common interface, then you 
can implement it how ever you would like.  As far as a payment bundle 
goes, we will probably be using 
https://github.com/schmittjoh/CorePaymentBundle But as long as long as 
implement the interface, you can do it any way you would like.  Any 
implementation can be configured in to the system.



- a shopping cart bundle that provides a cart of sufficient
flexibility to support most requirements one would encounter. I
believe the cart I wrote for http://skinmedica.com would be a good
starting point as it makes use of services and clever composition to
address the different areas a cart needs to cover (i.e. shipping
calculation /api lookup - even the complex sort your use-case
mentions, tax calculation / 3rd party tax api lookup, promotion
application, etc, etc). These are all services injected into my cart
that can be swapped out for custom requirements, and all is already
configured through the DI container.. so, that I would be happy to
contribute.

I'm very interested in seeing what you have done with this.


Thanks for all the feedback

Richard

--
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: web server configuration

2011-01-27 Thread Namata Winnie
Hi Andrew,  i modified my file to your changes and i still get the same
error msg, "Firefox can't establish a connection to the server at
localhost:8080." any more ideas why i still have a problem.

On Thu, Jan 27, 2011 at 4:02 PM, andrew cs  wrote:

> imo your project configuration has to look like this:
>
> # to enter with localhost, 127.0.0.1 or even your network IP
> NameVirtualHost *:8080
> Listen *:8080
> 
> DocumentRoot "C:\wamp\www\jobeet\web"
> DirectoryIndex index.php
> 
>   AllowOverride All
>   Allow from All
> 
> Alias /sf "C:\wamp\www\jobeet\lib\vendor\symfony\data\web\sf"
> 
>   AllowOverride All
>   Allow from All
> 
> 
>
> I haven't seen a configuration in Windows in a long time, but as I remember
> this conf should work.
>
> Regards
>
>
> 2011/1/27 Namata Winnie 
>
> attached is my http.conf file.
>>
>> thanx
>>
>>
>> On Thu, Jan 27, 2011 at 3:08 PM, Gabriel Petchesi wrote:
>>
>>> Make sure you restart the webserver after any configuration change (or
>>> reload with the new configuration).
>>>
>>> gabriel
>>>
>>> --
>>> 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
>>>
>>
>>
>>
>> --
>> *Namata Winfred
>> IT Assistant
>> Natural Chemotherapeutics Research Institute, Ministry Of Health
>>
>> Mobile: 0774607443
>> *
>> *Nothing worthwhile comes easily. Work, continuous work and hard work, is
>> the only way to accomplish results that last*.
>>
>> --
>> 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
>>
>
>
>
> --
> Ing. Jonathan A. Claros Santander.
> Ingeniero de Sistemas FCyT UMSS
> Developer Symfony since 2007
>
>  --
> 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
>



-- 
*Namata Winfred
IT Assistant
Natural Chemotherapeutics Research Institute, Ministry Of Health

Mobile: 0774607443
*
*Nothing worthwhile comes easily. Work, continuous work and hard work, is
the only way to accomplish results that last*.

-- 
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: German umlauts not retrieved correctly from db

2011-01-27 Thread Gábor Fási
It was just a guess, I'm yet to start experimenting with Sf2.

Check the web debug toolbar if doctrine issues a "SET NAMES utf8" query.

On Thu, Jan 27, 2011 at 21:18, pzwosta  wrote:
> I tried phpMyAdmin, the umlauts look correct. phpMyAdmin also shows
> the utf-8 options for collation of the tables and the database and
> shows the following options for MySQL
>
> MySQL localhost
>
> Zeichensatz / Kollation der MySQL-Verbindung: utf8_general_ci (charset
> of MySQL connection)
>
> MySQL
>    * Server: localhost via TCP/IP
>    * Server Version: 5.1.49-community
>    * Protokoll-Version: 10
>    * Benutzer: root@localhost
>    * MySQL-Zeichensatz: UTF-8 Unicode (utf8)
>
> Any idea? Do you know where to set the charset/collation using Symfony
> 2?
>
> regards
> Peter
>
> On 23 Jan., 16:12, Gábor Fási  wrote:
>> How do you insert the data? Do they look correct in phpmyadmin, after
>> making sure it uses utf8-encoded connection?
>>
>>
>>
>>
>>
>>
>>
>> On Sun, Jan 23, 2011 at 15:59, pzwosta  wrote:
>> > Hi,
>>
>> > using Doctrine GermanUmlautsare not retrieved correctly from
>> > database.
>>
>> > - My database is defined with collation utf8 - utf8_unicode_ci
>> > (inherited by the tables, MySQL Workbench, Windows).
>> > - The schema definitions for Doctrine are created automatically by
>> > doctrine:schema:import.
>>
>> > When debugging in Eclipse I can see that the values in the Doctrine
>> > objects are wrong (not only the web page in firefox). My Eclipse
>> > project editor charset is also UTF-8.
>>
>> > This is my config.yml. Is there any other place where to config
>> > charset UTF-8? I wasn't able to find anything in the docs.
>>
>> > # config.yml
>> > app.config:
>> >    charset:       UTF-8
>> > 
>> > doctrine.dbal:
>> >    driver:   PDOMySql
>> >    dbname:   x
>> >    user:     x
>> >    password: 
>>
>> > Do you have any hint for me?
>>
>> > Thanks.
>> > Peter
>>
>> > --
>> > 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
>

-- 
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: German umlauts not retrieved correctly from db

2011-01-27 Thread pzwosta
I tried phpMyAdmin, the umlauts look correct. phpMyAdmin also shows
the utf-8 options for collation of the tables and the database and
shows the following options for MySQL

MySQL localhost

Zeichensatz / Kollation der MySQL-Verbindung: utf8_general_ci (charset
of MySQL connection)

MySQL
* Server: localhost via TCP/IP
* Server Version: 5.1.49-community
* Protokoll-Version: 10
* Benutzer: root@localhost
* MySQL-Zeichensatz: UTF-8 Unicode (utf8)

Any idea? Do you know where to set the charset/collation using Symfony
2?

regards
Peter

On 23 Jan., 16:12, Gábor Fási  wrote:
> How do you insert the data? Do they look correct in phpmyadmin, after
> making sure it uses utf8-encoded connection?
>
>
>
>
>
>
>
> On Sun, Jan 23, 2011 at 15:59, pzwosta  wrote:
> > Hi,
>
> > using Doctrine GermanUmlautsare not retrieved correctly from
> > database.
>
> > - My database is defined with collation utf8 - utf8_unicode_ci
> > (inherited by the tables, MySQL Workbench, Windows).
> > - The schema definitions for Doctrine are created automatically by
> > doctrine:schema:import.
>
> > When debugging in Eclipse I can see that the values in the Doctrine
> > objects are wrong (not only the web page in firefox). My Eclipse
> > project editor charset is also UTF-8.
>
> > This is my config.yml. Is there any other place where to config
> > charset UTF-8? I wasn't able to find anything in the docs.
>
> > # config.yml
> > app.config:
> >    charset:       UTF-8
> > 
> > doctrine.dbal:
> >    driver:   PDOMySql
> >    dbname:   x
> >    user:     x
> >    password: 
>
> > Do you have any hint for me?
>
> > Thanks.
> > Peter
>
> > --
> > 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] Re: Introducing Vespolina - the new sf2 based e-commerce platform

2011-01-27 Thread Stéphane
Hello,

Good to see that !

Have you already thought about how you will modelize the product breakdown ?

I have started some times ago a dmCommercePlugin which is far far away from
a finished plugin, but it's starting idea, for now is to let accredited
users "define" product types, their characteristics, and so on, via backend
dedicated interface.

What about this ? I don't know about about Magento, but is it something you
guys wish to see in vespolina (nice name btw) ?

Regards,

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


On Thu, Jan 27, 2011 at 6:50 PM, apm  wrote:

> Sure, share, its interesting.
>
> On 26 янв, 22:56, Justen Doherty  wrote:
> > I've made a start on a personal ecommerce project in symfony 1.4 - at the
> > moment its just got categories/subcategories with a photo library in the
> > backend.. but i've been coding this in my spare time at home, if anyone
> is
> > interested i can make the code available via github :)
> >
>
> --
> 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] Re: Introducing Vespolina - the new sf2 based e-commerce platform

2011-01-27 Thread apm
Sure, share, its interesting.

On 26 янв, 22:56, Justen Doherty  wrote:
> I've made a start on a personal ecommerce project in symfony 1.4 - at the
> moment its just got categories/subcategories with a photo library in the
> backend.. but i've been coding this in my spare time at home, if anyone is
> interested i can make the code available via github :)
>

-- 
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: ysfDimensionsPlugin and sfDoctrineGuardPlugin together

2011-01-27 Thread Dustin Whittle
Hi Gregoire,

This looks like a bug, I will investigate if you can send me your 
project/dimensions configuration + describle the file structure you are 
using.

Cheers,

Dustin

-- 
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: Fatal error: Class 'Doctrine\MongoDB\Connection' not found

2011-01-27 Thread Damon Jones
Make sure that you have installed the MongoDB PHP driver. If so, you
should be able to test it with a plain PHP script:
http://us2.php.net/manual/en/book.mongo.php

On Jan 27, 11:47 am, La Denise  wrote:
> Hello everyone,
>
> I'm trying to install Symfony2 with the DoctrineMongoDBBundle.
> But I get stuck when :
> $dm = $this->get('doctrine.odm.mongodb.document_manager');
>
> I get :
>  Fatal error: Class 'Doctrine\MongoDB\Connection' not found in /Users/
> dft/Sites/gecollection/app/cache/dev/appDevDebugProjectContainer.php
> on line 699
> Call Stack
> #       Time    Memory  Function        Location
> 1       0.0001  629560  {main}( )       ../gecollection_dev.php:0
> 2       0.0014  798704  Symfony\Component\HttpKernel\Kernel->handle( )       
> ../
> gecollection_dev.php:14
> 3       0.0078  1557080 Symfony\Bundle\FrameworkBundle\HttpKernel->handle( )  
>  ../Kernel.php:185
>
> 4       0.0078  1557800 Symfony\Component\HttpKernel\HttpKernel->handle( )   
> ../
> HttpKernel.php:39
> 5       0.0078  1557800 Symfony\Component\HttpKernel\HttpKernel->handleRaw( ) 
>        ../classes.php:1020
>
> 6       0.0102  1626352 call_user_func_array ( )        ../classes.php:1051
> 7       0.0102  1626600 Application\Ladenise\CollectionBundle\Controller
> \CollectionController->indexAction( )        ../classes.php:0
> 8       0.0102  1626704 
> Symfony\Bundle\FrameworkBundle\Controller\Controller->get( )      
> ../CollectionController.php:11
>
> 9       0.0102  1626704 Symfony\Component\DependencyInjection\Container->get( 
> )      ../classes.php:1364
>
> 10      0.0102  1627144 
> appDevDebugProjectContainer->getDoctrine_Odm_Mongodb_DocumentManagerService( 
> )   ../Container.php:
>
> 222
> 11      0.0102  1627256 Symfony\Component\DependencyInjection\Container->get( 
> )      ../appDevDebugProjectContainer.php:890
>
> 12      0.0103  1627720 
> appDevDebugProjectContainer->getDoctrine_Odm_Mongodb_DefaultDocumentManagerService(
>  )    ../
>
> Container.php:222
> 13      0.0103  1628400 Symfony\Component\DependencyInjection\Container->get( 
> )      ../appDevDebugProjectContainer.php:760
>
> 14      0.0103  1628848 
> appDevDebugProjectContainer->getDoctrine_Odm_Mongodb_DefaultConnectionService(
>  ) ../Container.php:
>
> 222
>
> Could you please help me ?
>
> - Symfony\Bundle\DoctrineMongoDBBundle\DoctrineMongoDBBundle is
> registered in my Kernel.
> - Doctrine\\ODM\\MongoDB namespace is also registered in autoload.php
>
> Thanks,
>
> La Denise

-- 
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: Jobeet Day 12: Call to undefined method BaseJobeetCategory::getJobeetCategoryAffiliates

2011-01-27 Thread hm423
Thank you very much, this helped me solve the problem!

On Jan 21, 3:27 am, Justen Doherty  wrote:
> looks like the getJobeetCategoryAffiliates method in BaseJobeetCategory
> doesnt exist.. try running php symfony doctrine:build --all if its defined
> in your schema.yml
>
> good luck!
>
>
>
>
>
>
>
>
>
> On Thu, Jan 20, 2011 at 4:42 PM, hm423  wrote:
> > I am so grateful for Symfony!  I'm on Day 12 of the Practical Symfony
> > Jobeet Tutorial, but now I've run into a problem.  I can access the
> > "job" part of the backend just fine, and edit jobs; and I can get to
> > the category page, but when I try to edit a category, I get the
> > following error message.  Could someone tell me what I've done wrong,
> > and how to fix it?  Thank you!
>
> > 500 | Internal Server Error | sfException
> > Call to undefined method
> > BaseJobeetCategory::getJobeetCategoryAffiliates
>
> > stack trace
> > at ()
> > in SF_ROOT_DIR\lib\model\om\BaseJobeetCategory.php line 767 ...
> >    {
>
> >      if (!$callable = sfMixer::getCallable('BaseJobeetCategory:'.
> > $method))
>
> >      {
>
> >        throw new sfException(sprintf('Call to undefined method
> > BaseJobeetCategory::%s', $method));
>
> >      }
>
> >      array_unshift($arguments, $this);
> > at BaseJobeetCategory->__call('getJobeetCategoryAffiliates', array())
> > in n/a line n/a ...
> > at JobeetCategory->getJobeetCategoryAffiliates()
> > in SF_ROOT_DIR\lib\form\base\BaseJobeetCategoryForm.class.php line
> > 54 ...
> > at BaseJobeetCategoryForm->updateDefaultsFromObject()
> > in SF_ROOT_DIR\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib\form
> > \sfFormPropel.class.php line 52 ...
> > at sfFormPropel->__construct(object('JobeetCategory'), array())
> > in SF_ROOT_DIR\lib\vendor\symfony\lib\generator
> > \sfModelGeneratorConfiguration.class.php line 484 ...
> > at sfModelGeneratorConfiguration->getForm(object('JobeetCategory'))
> > in SF_ROOT_DIR\cache\backend\dev\modules\autoCategory\actions
> > \actions.class.php line 93 ...
> > at autoCategoryActions->executeEdit(object('sfWebRequest'))
> > in SF_ROOT_DIR\lib\vendor\symfony\lib\action\sfActions.class.php line
> > 60 ...
> > at sfActions->execute(object('sfWebRequest'))
> > in SF_ROOT_DIR\lib\vendor\symfony\lib\filter
> > \sfExecutionFilter.class.php line 92 ...
> > at sfExecutionFilter->executeAction(object('categoryActions'))
> > in SF_ROOT_DIR\lib\vendor\symfony\lib\filter
> > \sfExecutionFilter.class.php line 78 ...
> > at sfExecutionFilter->handleAction(object('sfFilterChain'),
> > object('categoryActions'))
> > in SF_ROOT_DIR\lib\vendor\symfony\lib\filter
> > \sfExecutionFilter.class.php line 42 ...
> > at sfExecutionFilter->execute(object('sfFilterChain'))
> > in SF_ROOT_DIR\lib\vendor\symfony\lib\filter\sfFilterChain.class.php
> > line 53 ...
> > at sfFilterChain->execute()
> > in SF_ROOT_DIR\lib\vendor\symfony\lib\filter
> > \sfRenderingFilter.class.php line 33 ...
> > at sfRenderingFilter->execute(object('sfFilterChain'))
> > in SF_ROOT_DIR\lib\vendor\symfony\lib\filter\sfFilterChain.class.php
> > line 53 ...
> > at sfFilterChain->execute()
> > in SF_ROOT_DIR\lib\vendor\symfony\lib\controller
> > \sfController.class.php line 238 ...
> > at sfController->forward('category', 'edit')
> > in SF_ROOT_DIR\lib\vendor\symfony\lib\controller
> > \sfFrontWebController.class.php line 48 ...
> > at sfFrontWebController->dispatch()
> > in SF_ROOT_DIR\lib\vendor\symfony\lib\util\sfContext.class.php line
> > 170 ...
> > at sfContext->dispatch()
> > in SF_ROOT_DIR\web\backend_dev.php line 13 ...
>
> > --
> > 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 > legroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en
>
> --
> -http://www.linkedin.com/in/justendoherty-
>  LinkedInhttp://www.twitter.com/phpchap- 
> Twitterhttp://www.anotherwebdeveloper.com- Portfolio

-- 
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 + MongoDB] Fatal error: Class 'Doctrine\MongoDB\Connection' not found

2011-01-27 Thread La Denise
Hello everyone,

I'm trying to install Symfony2 with the DoctrineMongoDBBundle.
But I get stuck when :
$dm = $this->get('doctrine.odm.mongodb.document_manager');

I get :
 Fatal error: Class 'Doctrine\MongoDB\Connection' not found in /Users/
dft/Sites/gecollection/app/cache/dev/appDevDebugProjectContainer.php
on line 699
Call Stack
#   TimeMemory  FunctionLocation
1   0.0001  629560  {main}( )   ../gecollection_dev.php:0
2   0.0014  798704  Symfony\Component\HttpKernel\Kernel->handle( )  ../
gecollection_dev.php:14
3   0.0078  1557080 Symfony\Bundle\FrameworkBundle\HttpKernel-
>handle( )  ../Kernel.php:185
4   0.0078  1557800 Symfony\Component\HttpKernel\HttpKernel->handle( )  
../
HttpKernel.php:39
5   0.0078  1557800 Symfony\Component\HttpKernel\HttpKernel-
>handleRaw( )   ../classes.php:1020
6   0.0102  1626352 call_user_func_array ( )../classes.php:1051
7   0.0102  1626600 Application\Ladenise\CollectionBundle\Controller
\CollectionController->indexAction( )   ../classes.php:0
8   0.0102  1626704 Symfony\Bundle\FrameworkBundle\Controller\Controller-
>get( ) ../CollectionController.php:11
9   0.0102  1626704 Symfony\Component\DependencyInjection\Container-
>get( ) ../classes.php:1364
10  0.0102  1627144 appDevDebugProjectContainer-
>getDoctrine_Odm_Mongodb_DocumentManagerService( )  ../Container.php:
222
11  0.0102  1627256 Symfony\Component\DependencyInjection\Container-
>get( ) ../appDevDebugProjectContainer.php:890
12  0.0103  1627720 appDevDebugProjectContainer-
>getDoctrine_Odm_Mongodb_DefaultDocumentManagerService( )   ../
Container.php:222
13  0.0103  1628400 Symfony\Component\DependencyInjection\Container-
>get( ) ../appDevDebugProjectContainer.php:760
14  0.0103  1628848 appDevDebugProjectContainer-
>getDoctrine_Odm_Mongodb_DefaultConnectionService( )../Container.php:
222

Could you please help me ?

- Symfony\Bundle\DoctrineMongoDBBundle\DoctrineMongoDBBundle is
registered in my Kernel.
- Doctrine\\ODM\\MongoDB namespace is also registered in autoload.php

Thanks,

La Denise

-- 
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 to setValue on a field in form derived from sfFormDoctrine?

2011-01-27 Thread dmitrypol
I am bulding a site in symfony1.3.8 where user can invite their friends to 
join by sending them a unique URL (which is logged in DB along w member_id 
and email_to address).  I enabled user to send email to many people at 
once.  I have 

...
$email_to_array = preg_split("/[\s,]+/", $form->getValue('email_to'));
foreach ($email_to_array as $email_to):
...
$message = Swift_Message::newInstance()
...
$form->save();
end foreach;

Emails go out separately but the problem comes in saving the form.  It saves 
ALl email addresses in email_to field as one record and then fails to save 
the next one.  
I am trying to change my $form email_to field value but 
$form->setValue('email_to', $email_to) does not exist.  I tried setDefault 
but that did not work either.  

Any suggestions?  Thank you very much for any advice.  

Dmitry

-- 
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: web server configuration

2011-01-27 Thread Justen Doherty
Include "c:/wamp/alias/*"

# Be sure to only have this line once in your configuration
NameVirtualHost 127.0.0.1:8080
# This is the configuration for your project
Listen 127.0.0.1:8080



  # !! this looks a bit dodgy !! DocumentRoot "/c:\wamp\www\jobeet\web"
  DocumentRoot "c:\wamp\www\jobeet\web"

  # add this line too..
  ServerName jobeet.localdev.com

  DirectoryIndex index.php
  
AllowOverride All
Allow from All
  
  Alias /sf "c:\wamp\www\jobeet\lib\vendor\symfony\data\web\sf"

  # !! this looks dodgy too !! 
  
AllowOverride All
Allow from All
  


you will also need to add the following line to your
C:/windows/system32/drivers/etc/hosts file:

127.0.0.1jobeet.localdev.com

then restart your apache server, for added awesomeness use the command line
and issue the following:

> apache.exe (or whatever it is) configtest
> apache.exe stop
> apache.exe start (i seem to remember WAMP has a problem with restarting
properly!)

hope that helps!





On Thu, Jan 27, 2011 at 1:02 PM, andrew cs  wrote:

> imo your project configuration has to look like this:
>
> # to enter with localhost, 127.0.0.1 or even your network IP
> NameVirtualHost *:8080
> Listen *:8080
> 
> DocumentRoot "C:\wamp\www\jobeet\web"
> DirectoryIndex index.php
> 
>   AllowOverride All
>   Allow from All
> 
> Alias /sf "C:\wamp\www\jobeet\lib\vendor\symfony\data\web\sf"
> 
>   AllowOverride All
>   Allow from All
> 
> 
>
> I haven't seen a configuration in Windows in a long time, but as I remember
> this conf should work.
>
> Regards
>
>
> 2011/1/27 Namata Winnie 
>
> attached is my http.conf file.
>>
>> thanx
>>
>>
>> On Thu, Jan 27, 2011 at 3:08 PM, Gabriel Petchesi wrote:
>>
>>> Make sure you restart the webserver after any configuration change (or
>>> reload with the new configuration).
>>>
>>> gabriel
>>>
>>> --
>>> 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
>>>
>>
>>
>>
>> --
>> *Namata Winfred
>> IT Assistant
>> Natural Chemotherapeutics Research Institute, Ministry Of Health
>>
>> Mobile: 0774607443
>> *
>> *Nothing worthwhile comes easily. Work, continuous work and hard work, is
>> the only way to accomplish results that last*.
>>
>> --
>> 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
>>
>
>
>
> --
> Ing. Jonathan A. Claros Santander.
> Ingeniero de Sistemas FCyT UMSS
> Developer Symfony since 2007
>
>  --
> 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
>



-- 
-
http://www.linkedin.com/in/justendoherty - LinkedIn
http://www.twitter.com/phpchap - Twitter
http://www.anotherwebdeveloper.com - Portfolio

-- 
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: sfDoctrineActasTaggablePlugin and accents

2011-01-27 Thread Manu
I've got an answer there
http://groups.google.com/group/sfdoctrineactastaggableplugin/browse_thread/thread/dce46d13f7c0cb86

-- 
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: web server configuration

2011-01-27 Thread andrew cs
imo your project configuration has to look like this:

# to enter with localhost, 127.0.0.1 or even your network IP
NameVirtualHost *:8080
Listen *:8080

DocumentRoot "C:\wamp\www\jobeet\web"
DirectoryIndex index.php

  AllowOverride All
  Allow from All

Alias /sf "C:\wamp\www\jobeet\lib\vendor\symfony\data\web\sf"

  AllowOverride All
  Allow from All



I haven't seen a configuration in Windows in a long time, but as I remember
this conf should work.

Regards


2011/1/27 Namata Winnie 

> attached is my http.conf file.
>
> thanx
>
>
> On Thu, Jan 27, 2011 at 3:08 PM, Gabriel Petchesi wrote:
>
>> Make sure you restart the webserver after any configuration change (or
>> reload with the new configuration).
>>
>> gabriel
>>
>> --
>> 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
>>
>
>
>
> --
> *Namata Winfred
> IT Assistant
> Natural Chemotherapeutics Research Institute, Ministry Of Health
>
> Mobile: 0774607443
> *
> *Nothing worthwhile comes easily. Work, continuous work and hard work, is
> the only way to accomplish results that last*.
>
> --
> 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
>



-- 
Ing. Jonathan A. Claros Santander.
Ingeniero de Sistemas FCyT UMSS
Developer Symfony since 2007

-- 
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: web server configuration

2011-01-27 Thread Namata Winnie
attached is my http.conf file.

thanx

On Thu, Jan 27, 2011 at 3:08 PM, Gabriel Petchesi wrote:

> Make sure you restart the webserver after any configuration change (or
> reload with the new configuration).
>
> gabriel
>
> --
> 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
>



-- 
*Namata Winfred
IT Assistant
Natural Chemotherapeutics Research Institute, Ministry Of Health

Mobile: 0774607443
*
*Nothing worthwhile comes easily. Work, continuous work and hard work, is
the only way to accomplish results that last*.

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


httpd.conf
Description: Binary data


[symfony-users] Re: web server configuration

2011-01-27 Thread Gabriel Petchesi
Make sure you restart the webserver after any configuration change (or 
reload with the new configuration).

gabriel

-- 
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] Any solution to this problem

2011-01-27 Thread Gareth McCumskey


What problem? Some details would be great

On Wed, Jan 26, 2011 at 2:50 AM, niXeN  wrote:

> I am now days after a solution of the perfomance issues, maybe you
> found what to do
>
> --
> 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
>



-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc
identi.ca: @garethmcc

-- 
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] web server configuration

2011-01-27 Thread Justen Doherty
posting your httpd.conf would be a great help..

On Wed, Jan 26, 2011 at 7:17 AM, Namata Winnie  wrote:

> am new to symfony,  currently i have a problem with apache web
> configuration especially with modifying the httpd.conf file, after modifying
> everything, i try to run http://localhost:8080/index.php/, i get an error
> that indicates that "Unable to connect, Firefox can't establish a connection
> to the server at localhost:8080." or error 404. what can i do 2 rectify
> this?
>
> --
> *Namata Winfred
> IT Assistant
> Natural Chemotherapeutics Research Institute, Ministry Of Health
>
> Mobile: 0774607443
> *
> *Nothing worthwhile comes easily. Work, continuous work and hard work, is
> the only way to accomplish results that last*.
>
> --
> 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
>



-- 
-
http://www.linkedin.com/in/justendoherty - LinkedIn
http://www.twitter.com/phpchap - Twitter
http://www.anotherwebdeveloper.com - Portfolio

-- 
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] Fatal error: Call to undefined method DatabaseMap::addTableBuilder()

2011-01-27 Thread Justen Doherty
this looks like a method in sfGuard, is the plugin installed? if it is, try
rolling back/forward to a version that works with symfony 1.1.0

On Thu, Jan 27, 2011 at 4:45 AM, Kiran  wrote:

> Hello Friends,
>
> I have one existing project of symfony.
> I am using symfony 1.1.0
> When I run project.I got following error
>
> Fatal error: Call to undefined method
> DatabaseMap::addTableBuilder() ..
>
> Please help me.
> Give me some idea or clue to solve problem
>
> Thanks
> Kiran Kadam
>
> --
> 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
>



-- 
-
http://www.linkedin.com/in/justendoherty - LinkedIn
http://www.twitter.com/phpchap - Twitter
http://www.anotherwebdeveloper.com - Portfolio

-- 
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: sfGuard and multisite authentication

2011-01-27 Thread lambert_b
Hi Introvert,
Actually, I am building one, using it for a few applications (or
actually, rebuilding it from scratch, as there are is a lot to it)

Want to publish the plugin soon, will be jvSaasPlugin, from Software
as a Service.

It is build on top of sfDoctrineGuardPlugin (trunk) and
sfDoctrineApplyPlugin (1.2).

You can define 'Clients' and users that have access to these Clients.
Optionally, you can add additional credentials for a user to this
Client.

Need some work to finish and document it.

Does this sound what you need?

Best regards,

Lambert

On Jan 25, 3:38 pm, Justen Doherty  wrote:
> Hi Introvert,
>
> could you not create a user admin user group that is exempt from using the
> site_id in your SQL queries..
>
> On Tue, Jan 25, 2011 at 2:30 PM, Gabriel Petchesi wrote:
>
>
>
> > This is beyond what you can do with sfGuardUser, search on google for SSO
> > (Single Sign On) technologies:
> >http://en.wikipedia.org/wiki/List_of_single_sign-on_implementations
>
> > If you want to build it yourself you could do something like this:
> > 1. User logins to site A
> > 2. User gets first page from site A
> > 3. In that page include a javascript code that requests a tiny image from
> > all the other sites with some additional dynamic variables.
> > This code will be executed on the client side and when all images where
> > requested you are signed into all other websites.
> > Do the same when signout.
>
> >     gabriel
>
> >  --
> > 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
>
> --
> -http://www.linkedin.com/in/justendoherty-
>  LinkedInhttp://www.twitter.com/phpchap- 
> Twitterhttp://www.anotherwebdeveloper.com- Portfolio

-- 
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] Fatal error: Call to undefined method DatabaseMap::addTableBuilder()

2011-01-27 Thread Kiran
Hello Friends,

I have one existing project of symfony.
I am using symfony 1.1.0
When I run project.I got following error

Fatal error: Call to undefined method
DatabaseMap::addTableBuilder() ..

Please help me.
Give me some idea or clue to solve problem

Thanks
Kiran Kadam

-- 
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] Any solution to this problem

2011-01-27 Thread niXeN
I am now days after a solution of the perfomance issues, maybe you
found what to do

-- 
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] web server configuration

2011-01-27 Thread Namata Winnie
am new to symfony,  currently i have a problem with apache web configuration
especially with modifying the httpd.conf file, after modifying everything, i
try to run http://localhost:8080/index.php/, i get an error that indicates
that "Unable to connect, Firefox can't establish a connection to the server
at localhost:8080." or error 404. what can i do 2 rectify this?

-- 
*Namata Winfred
IT Assistant
Natural Chemotherapeutics Research Institute, Ministry Of Health

Mobile: 0774607443
*
*Nothing worthwhile comes easily. Work, continuous work and hard work, is
the only way to accomplish results that last*.

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